| Modifier and Type | Field and Description |
|---|---|
| protected static final String | master
Constant |
| protected AppServer | server
In-memory application server; subclass must start. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected AppServer | Returns: theorg..Create the |
| protected TestRepository | |
| protected static URIish | Returns: the extended URIishthe URI uri, String path components pathComponents)Extend a path |
| protected static void | |
| protected List | |
| protected List | Returns: list of eventsbase URI base, String the request path relative to path)baseGet requests. |
| protected List | |
| public static String | |
| public static String | Returns: path of the loose objectbase URI base, AnyObjectId objectId id)Create loose object path |
| protected static Set | |
| protected static Collection | Returns: collection of RefUpdatesrepository from which to push from, RevCommit commit to push q)Push a commit |
| protected static String | Returns: the rewritten urlthe URL url, String new protocol newProtocol, int new port newPort)Rewrite a url |
| public void | |
| public void | |
| protected URIish | |
| protected URIish | Returns: the warnings (if any) from the last executionapp name app, String context path name name)Convert a path relative to the app's context path to a URIish |
| master | back to summary |
|---|---|
| protected static final String master Constant | |
| server | back to summary |
|---|---|
| protected AppServer server In-memory application server; subclass must start. | |
| HttpTestCase | back to summary |
|---|---|
| public HttpTestCase() | |
| createServer | back to summary |
|---|---|
| protected AppServer createServer() Create the
| |
| createTestRepository | back to summary |
|---|---|
| protected TestRepository Create TestRepository
| |
| extendPath | back to summary |
|---|---|
| protected static URIish extendPath(URIish uri, String pathComponents) throws URISyntaxException Extend a path
| |
| fsck | back to summary |
|---|---|
| protected static void fsck(Repository db, RevObject... tips) throws Exception Run fsck
| |
| getRequests | back to summary |
|---|---|
| protected List Get requests.
| |
| getRequests | back to summary |
|---|---|
| protected List Get requests.
| |
| getRequests | back to summary |
|---|---|
| protected List Get requests.
| |
| join | back to summary |
|---|---|
| public static String join(URIish base, String path) Join a base URIish and a path | |
| loose | back to summary |
|---|---|
| public static String loose(URIish base, AnyObjectId id) Create loose object path
| |
| mirror | back to summary |
|---|---|
| protected static Set Mirror refs | |
| push | back to summary |
|---|---|
| protected static Collection Push a commit
| |
| rewriteUrl | back to summary |
|---|---|
| protected static String rewriteUrl(String url, String newProtocol, int newPort) Rewrite a url | |
| setUp | back to summary |
|---|---|
| public void setUp() throws Exception Overrides org. Doc from org. Setup test | |
| tearDown | back to summary |
|---|---|
| public void tearDown() throws Exception Overrides org. Doc from org. Tear down the test | |
| toURIish | back to summary |
|---|---|
| protected URIish toURIish(String path) throws URISyntaxException Convert path to URIish
| |
| toURIish | back to summary |
|---|---|
| protected URIish toURIish(ServletContextHandler app, String name) throws URISyntaxException Convert a path relative to the app's context path to a URIish
| |