Skip navigation links
A C D E F G H I L O P R S T V W 

A

activate(ComponentContext) - Method in class org.apache.sling.junit.scriptable.ScriptableTestsProvider
 
addCookie(Cookie) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
addDateHeader(String, long) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
addHeader(String, String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
addIntHeader(String, int) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 

C

checkTest(String) - Static method in class org.apache.sling.junit.scriptable.TestAllPaths
 
containsHeader(String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
createTestClass(String) - Method in class org.apache.sling.junit.scriptable.ScriptableTestsProvider
 

D

data() - Static method in class org.apache.sling.junit.scriptable.TestAllPaths
Let JUnit run this all on our paths
deactivate(ComponentContext) - Method in class org.apache.sling.junit.scriptable.ScriptableTestsProvider
 

E

encodeRedirectUrl(String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
encodeRedirectURL(String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
encodeUrl(String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
encodeURL(String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
explain() - Method in class org.apache.sling.junit.scriptable.ExplainTests
 
ExplainTests - Class in org.apache.sling.junit.scriptable
Test that always fails and explains how to create scriptable tests.
ExplainTests() - Constructor for class org.apache.sling.junit.scriptable.ExplainTests
 

F

FAKE_URL_BASE - Static variable in class org.apache.sling.junit.scriptable.HttpRequest
 
flushBuffer() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 

G

getAttribute(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getAttributeNames() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getAuthType() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getBufferSize() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
getCharacterEncoding() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getCharacterEncoding() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
getContent() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
getContentLength() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getContentType() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getContentType() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
getContextPath() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getCookies() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getDateHeader(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getEncoding() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
getHeader(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getHeaderNames() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getHeaders(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getInputStream() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getIntHeader(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getLocalAddr() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getLocale() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getLocale() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
getLocales() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getLocalName() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getLocalPort() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getMessage() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
getMethod() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getOutputStream() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
getParameter(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getParameterMap() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getParameterNames() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getParameterValues(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getPathInfo() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getPathTranslated() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getProtocol() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getQueryString() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getReader() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getRealPath(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getRemoteAddr() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getRemoteHost() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getRemotePort() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getRemoteUser() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getRequestDispatcher(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getRequestedSessionId() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getRequestURI() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getRequestURL() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getScheme() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getServerName() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getServerPort() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getServicePid() - Method in class org.apache.sling.junit.scriptable.ScriptableTestsProvider
 
getServletPath() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getSession() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getSession(boolean) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getStatus() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
getTestNames() - Method in class org.apache.sling.junit.scriptable.ScriptableTestsProvider
 
getUserPrincipal() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
getWriter() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 

H

HttpRequest - Class in org.apache.sling.junit.scriptable
Fake request used to acquire content from Sling
HttpResponse - Class in org.apache.sling.junit.scriptable
Fake response used to acquire content from Sling

I

isCommitted() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
isRequestedSessionIdFromCookie() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
isRequestedSessionIdFromUrl() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
isRequestedSessionIdFromURL() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
isRequestedSessionIdValid() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
isSecure() - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
isUserInRole(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 

L

lastModified() - Method in class org.apache.sling.junit.scriptable.ScriptableTestsProvider
 

O

org.apache.sling.junit.scriptable - package org.apache.sling.junit.scriptable
 

P

PASSED - Static variable in class org.apache.sling.junit.scriptable.TestAllPaths
 

R

removeAttribute(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
reset() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
resetBuffer() - Method in class org.apache.sling.junit.scriptable.HttpResponse
 

S

ScriptableTestsProvider - Class in org.apache.sling.junit.scriptable
TestsProvider that provides test classes for repository nodes that have a sling:Test mixin.
ScriptableTestsProvider() - Constructor for class org.apache.sling.junit.scriptable.ScriptableTestsProvider
 
sendError(int, String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
sendError(int) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
sendRedirect(String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setAttribute(String, Object) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
setBufferSize(int) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setCharacterEncoding(String) - Method in class org.apache.sling.junit.scriptable.HttpRequest
 
setCharacterEncoding(String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setContentLength(int) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setContentType(String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setDateHeader(String, long) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setEncoding(String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setHeader(String, String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setIntHeader(String, int) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setLocale(Locale) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setMessage(String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setStatus(int, String) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
setStatus(int) - Method in class org.apache.sling.junit.scriptable.HttpResponse
 
SLING_TEST_NODETYPE - Static variable in class org.apache.sling.junit.scriptable.ScriptableTestsProvider
 

T

TEST_CLASS_NAME - Static variable in class org.apache.sling.junit.scriptable.ScriptableTestsProvider
 
TEST_URL_SUFFIX - Static variable in class org.apache.sling.junit.scriptable.TestAllPaths
 
TestAllPaths - Class in org.apache.sling.junit.scriptable
The single test class that runs all our path-based tests
TestAllPaths(String) - Constructor for class org.apache.sling.junit.scriptable.TestAllPaths
 
TestServletOutputStream - Class in org.apache.sling.junit.scriptable
Output stream for our fake HTTP response class
TestServletOutputStream() - Constructor for class org.apache.sling.junit.scriptable.TestServletOutputStream
 
toString() - Method in class org.apache.sling.junit.scriptable.TestServletOutputStream
 

V

verifyContent() - Method in class org.apache.sling.junit.scriptable.TestAllPaths
 

W

write(int) - Method in class org.apache.sling.junit.scriptable.TestServletOutputStream
 
A C D E F G H I L O P R S T V W 
Skip navigation links

Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.