Skip navigation links
A B C D F G H I J M O P R S T U 

A

addFileToUpload(String, File) - Method in class org.doctester.testbrowser.Request
Add a file to be sent as multipart form post/put.
addFormParameter(String, String) - Method in class org.doctester.testbrowser.Request
Add an arbitrary form parameter to this request.
addHeader(String, String) - Method in class org.doctester.testbrowser.Request
Add an arbitrary header to this request.
addQueryParameter(String, String) - Method in class org.doctester.testbrowser.Url
Allows you to add query parameters to this url (In your browser something like "?user=bob"
APPLICATION_JSON - Static variable in interface org.doctester.testbrowser.HttpConstants
 
APPLICATION_JSON_WITH_CHARSET_UTF8 - Static variable in interface org.doctester.testbrowser.HttpConstants
 
APPLICATION_XML - Static variable in interface org.doctester.testbrowser.HttpConstants
 
APPLICATION_XML_WITH_CHARSET_UTF_8 - Static variable in interface org.doctester.testbrowser.HttpConstants
 

B

BODY_BEGIN - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
BODY_END - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
BOOTSTRAP_BASE - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
BOOTSTRAP_CONTAINER_BEGIN - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
BOOTSTRAP_CONTAINER_END - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
BOOTSTRAP_HEADER - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
BOOTSTRAP_LEFT_NAVBAR_BEGIN - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
BOOTSTRAP_LEFT_NAVBAR_ELEMENT - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
BOOTSTRAP_LEFT_NAVBAR_EMPTY - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
BOOTSTRAP_LEFT_NAVBAR_END - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
BOOTSTRAP_RIGHT_CONTENT_BEGIN - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
BOOTSTRAP_RIGHT_CONTENT_END - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 

C

clearCookies() - Method in class org.doctester.DocTester
 
clearCookies() - Method in interface org.doctester.testbrowser.TestBrowser
The TestBrowser persists the cookie storage during multiple calls.
clearCookies() - Method in class org.doctester.testbrowser.TestBrowserImpl
 
contentTypeApplicationJson() - Method in class org.doctester.testbrowser.Request
Set the Content-Type header to application/json; charset=utf-8.
contentTypeApplicationXml() - Method in class org.doctester.testbrowser.Request
Set the Content-Type header to application/xml; charset=utf-8.
convertStackTraceIntoHtml(Throwable) - Static method in class org.doctester.rendermachine.RenderMachineImpl
 
convertTextToId(String) - Method in class org.doctester.rendermachine.RenderMachineImpl
 
copyAllAssetsLikeJQueryAndBootstrapFromResourcesToDoctesterOutputDirectory() - Method in class org.doctester.rendermachine.RenderMachineImpl
 
copyCustomUserSuppliedCssIfItExists() - Method in class org.doctester.rendermachine.RenderMachineImpl
 
CUSTOM_CSS - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
CUSTOM_DOCTESTER_STYLESHEET_FILENAME - Variable in class org.doctester.rendermachine.RenderMachineImpl
 
CUSTOM_DOCTESTER_STYLESHEET_LOCATION - Variable in class org.doctester.rendermachine.RenderMachineImpl
 
CUSTOM_DOCTESTER_STYLESHEET_LOCATION_WITHOUT_FILENAME - Variable in class org.doctester.rendermachine.RenderMachineImpl
 
CUSTOM_JS - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 

D

DELETE - Static variable in interface org.doctester.testbrowser.HttpConstants
 
DELETE() - Static method in class org.doctester.testbrowser.Request
Get a request to perform a Http DELETE request via the TestBrowser.
DocTester - Class in org.doctester
 
DocTester() - Constructor for class org.doctester.DocTester
 

F

filesToUpload - Variable in class org.doctester.testbrowser.Request
 
finishAndWriteOut() - Method in interface org.doctester.rendermachine.RenderMachine
 
finishAndWriteOut() - Method in class org.doctester.rendermachine.RenderMachineImpl
 
finishDocTest() - Static method in class org.doctester.DocTester
 
followRedirects - Variable in class org.doctester.testbrowser.Request
 
followRedirects(boolean) - Method in class org.doctester.testbrowser.Request
Follow redirects automatically.
formParameters - Variable in class org.doctester.testbrowser.Request
 
formParameters(Map<String, String>) - Method in class org.doctester.testbrowser.Request
Set form parameters for this request.

G

GET - Static variable in interface org.doctester.testbrowser.HttpConstants
 
GET() - Static method in class org.doctester.testbrowser.Request
Get a request to perform a Http GET request via the TestBrowser.
getCookies() - Method in class org.doctester.DocTester
 
getCookies() - Method in interface org.doctester.testbrowser.TestBrowser
 
getCookies() - Method in class org.doctester.testbrowser.TestBrowserImpl
 
getCookieWithName(String) - Method in class org.doctester.DocTester
 
getCookieWithName(String) - Method in interface org.doctester.testbrowser.TestBrowser
Get cookie with a specific name.
getCookieWithName(String) - Method in class org.doctester.testbrowser.TestBrowserImpl
 
getRenderMachine() - Method in class org.doctester.DocTester
You may override this method if you want to supply your own rendering machine for your class or classes.
getTestBrowser() - Method in class org.doctester.DocTester
You may override this method if you want to supply your own testbrowser for your class or classes.

H

HEAD - Static variable in interface org.doctester.testbrowser.HttpConstants
 
HEAD() - Static method in class org.doctester.testbrowser.Request
Get a request to perform a Http HEAD request via the TestBrowser.
HEADER_ACCEPT - Static variable in interface org.doctester.testbrowser.HttpConstants
 
HEADER_CONTENT_TYPE - Static variable in interface org.doctester.testbrowser.HttpConstants
 
headers - Variable in class org.doctester.testbrowser.Request
 
headers(Map<String, String>) - Method in class org.doctester.testbrowser.Request
Set headers for this request.
headers - Variable in class org.doctester.testbrowser.Response
 
host(String) - Static method in class org.doctester.testbrowser.Url
Create a Url instance from a host.
HTML_BEGIN - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
HTML_END - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
HTML_HEAD - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
HTML_NEWLINE - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 
HttpConstants - Interface in org.doctester.testbrowser
The one-millionth class for HttpConstant in the universe.
httpRequestType - Variable in class org.doctester.testbrowser.Request
 
httpStatus - Variable in class org.doctester.testbrowser.Response
 

I

initRenderingMachineIfNull() - Method in class org.doctester.DocTester
 
isContentTypeApplicationJson(Map<String, String>) - Static method in class org.doctester.testbrowser.PayloadUtils
Checks whether the headers define the content type to be JSON.
isContentTypeApplicationXml(Map<String, String>) - Static method in class org.doctester.testbrowser.PayloadUtils
Checks whether the headers define the content type to be XML.

J

JQUERY_BASE - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
 

M

makeRequest(Request) - Method in class org.doctester.DocTester
 
makeRequest(Request) - Method in interface org.doctester.testbrowser.TestBrowser
Make calls via this testBrowser.
makeRequest(Request) - Method in class org.doctester.testbrowser.TestBrowserImpl
 

O

org.doctester - package org.doctester
 
org.doctester.rendermachine - package org.doctester.rendermachine
 
org.doctester.testbrowser - package org.doctester.testbrowser
 

P

path(String) - Method in class org.doctester.testbrowser.Url
Set the full path of this Url.
payload - Variable in class org.doctester.testbrowser.Request
 
payload(Object) - Method in class org.doctester.testbrowser.Request
Set the payload for this request.
payload - Variable in class org.doctester.testbrowser.Response
 
payloadAs(Class<T>) - Method in class org.doctester.testbrowser.Response
Parses response into Plain old Java objects.
payloadAsPrettyString() - Method in class org.doctester.testbrowser.Request
 
payloadAsPrettyString() - Method in class org.doctester.testbrowser.Response
 
payloadAsString() - Method in class org.doctester.testbrowser.Response
 
payloadJsonAs(Class<T>) - Method in class org.doctester.testbrowser.Response
The payload of this request de-serialized into the specified class type.
payloadJsonAs(TypeReference<T>) - Method in class org.doctester.testbrowser.Response
The payload of this request de-serialized into the specified TypeReference.
PayloadUtils - Class in org.doctester.testbrowser
Provides some utility methods for HTTP request/response payload type detection and pretty-printing.
PayloadUtils() - Constructor for class org.doctester.testbrowser.PayloadUtils
 
payloadXmlAs(Class<T>) - Method in class org.doctester.testbrowser.Response
The payload of this request de-serialized into the specified class type.
payloadXmlAs(TypeReference<T>) - Method in class org.doctester.testbrowser.Response
The payload of this request de-serialized into the specified TypeReference.
POST - Static variable in interface org.doctester.testbrowser.HttpConstants
 
POST() - Static method in class org.doctester.testbrowser.Request
Get a request to perform a Http POST request via the TestBrowser.
prettyPrintRequestPayload(Object, Map<String, String>) - Static method in class org.doctester.testbrowser.PayloadUtils
Attempts to pretty print the payload of an HTTP request based on the headers.
prettyPrintResponsePayload(String, Map<String, String>) - Static method in class org.doctester.testbrowser.PayloadUtils
Attempts to pretty print the payload of an HTTP response based on the headers.
PUT - Static variable in interface org.doctester.testbrowser.HttpConstants
 
PUT() - Static method in class org.doctester.testbrowser.Request
Get a request to perform a Http PUT request via the TestBrowser.

R

renderMachine - Static variable in class org.doctester.DocTester
 
RenderMachine - Interface in org.doctester.rendermachine
 
RenderMachineCommands - Interface in org.doctester.rendermachine
 
RenderMachineHtml - Interface in org.doctester.rendermachine
 
RenderMachineImpl - Class in org.doctester.rendermachine
 
RenderMachineImpl() - Constructor for class org.doctester.rendermachine.RenderMachineImpl
 
Request - Class in org.doctester.testbrowser
This represents a Request we can pass then to the TestBrowser.
RESOURCES_TO_COPY - Static variable in interface org.doctester.rendermachine.RenderMachineHtml
These are resources we bundle with DocTester.
Response - Class in org.doctester.testbrowser
The response from a call done with the TestBrowser.
Response(Map<String, String>, int, String) - Constructor for class org.doctester.testbrowser.Response
 

S

say(String) - Method in class org.doctester.DocTester
 
say(String) - Method in interface org.doctester.rendermachine.RenderMachineCommands
A text that will be wrapped inside a paragraph.
say(String) - Method in class org.doctester.rendermachine.RenderMachineImpl
 
sayAndAssertThat(String, String, T, Matcher<? super T>) - Method in class org.doctester.DocTester
 
sayAndAssertThat(String, T, Matcher<? super T>) - Method in class org.doctester.DocTester
 
sayAndAssertThat(String, String, T, Matcher<? super T>) - Method in interface org.doctester.rendermachine.RenderMachineCommands
 
sayAndAssertThat(String, T, Matcher<? super T>) - Method in interface org.doctester.rendermachine.RenderMachineCommands
 
sayAndAssertThat(String, T, Matcher<? super T>) - Method in class org.doctester.rendermachine.RenderMachineImpl
 
sayAndAssertThat(String, String, T, Matcher<? super T>) - Method in class org.doctester.rendermachine.RenderMachineImpl
 
sayAndGetCookies() - Method in class org.doctester.DocTester
 
sayAndGetCookies() - Method in interface org.doctester.rendermachine.RenderMachineCommands
 
sayAndGetCookies() - Method in class org.doctester.rendermachine.RenderMachineImpl
 
sayAndGetCookieWithName(String) - Method in class org.doctester.DocTester
 
sayAndGetCookieWithName(String) - Method in interface org.doctester.rendermachine.RenderMachineCommands
 
sayAndGetCookieWithName(String) - Method in class org.doctester.rendermachine.RenderMachineImpl
 
sayAndMakeRequest(Request) - Method in class org.doctester.DocTester
 
sayAndMakeRequest(Request) - Method in interface org.doctester.rendermachine.RenderMachineCommands
 
sayAndMakeRequest(Request) - Method in class org.doctester.rendermachine.RenderMachineImpl
 
sayNextSection(String) - Method in class org.doctester.DocTester
 
sayNextSection(String) - Method in interface org.doctester.rendermachine.RenderMachineCommands
A text that will be wrapped inside a h1.
sayNextSection(String) - Method in class org.doctester.rendermachine.RenderMachineImpl
 
sayRaw(String) - Method in class org.doctester.DocTester
 
sayRaw(String) - Method in interface org.doctester.rendermachine.RenderMachineCommands
If you want to let the renderer render some raw custom html use this method.
sayRaw(String) - Method in class org.doctester.rendermachine.RenderMachineImpl
 
setClassNameForDocTesterOutputFile(String) - Method in class org.doctester.DocTester
Alternative way to set the output file name.
setFileName(String) - Method in interface org.doctester.rendermachine.RenderMachine
 
setFileName(String) - Method in class org.doctester.rendermachine.RenderMachineImpl
 
setTestBrowser(TestBrowser) - Method in interface org.doctester.rendermachine.RenderMachine
 
setTestBrowser(TestBrowser) - Method in class org.doctester.rendermachine.RenderMachineImpl
 
setupForTestCaseMethod() - Method in class org.doctester.DocTester
 

T

TestBrowser - Interface in org.doctester.testbrowser
 
TestBrowserImpl - Class in org.doctester.testbrowser
 
TestBrowserImpl() - Constructor for class org.doctester.testbrowser.TestBrowserImpl
 
testServerUrl() - Method in class org.doctester.DocTester
Convenience method that allows you to write tests with the testbrowser in a fluent way.
testWatcher - Variable in class org.doctester.DocTester
 
toString() - Method in class org.doctester.testbrowser.Url
The real life Uri in human readable form.

U

uri - Variable in class org.doctester.testbrowser.Request
 
uri() - Method in class org.doctester.testbrowser.Url
Creates a URI from this Uri.
url(Url) - Method in class org.doctester.testbrowser.Request
Set the Uri of this request.
url(URI) - Method in class org.doctester.testbrowser.Request
Set the Uri of this request.
Url - Class in org.doctester.testbrowser
Well.
A B C D F G H I J M O P R S T U 
Skip navigation links

Copyright © 2015. All Rights Reserved.