A B C D E F G I J L M N O R S T U W

A

answer(InvocationOnMock) - Method in class org.sonatype.sisu.litmus.testsupport.mock.ImplementsPartialJavaBean
 

B

BASE_DIR - Static variable in interface org.sonatype.sisu.litmus.testsupport.inject.Names
 
BASE_DIR_CONF - Static variable in interface org.sonatype.sisu.litmus.testsupport.inject.Names
 
BASEDIR - Static variable in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
baseDir - Variable in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
BeanMatchers - Class in org.sonatype.sisu.litmus.testsupport.hamcrest
Java beans related matchers.
BeanMatchers() - Constructor for class org.sonatype.sisu.litmus.testsupport.hamcrest.BeanMatchers
 
BeanMatchers.SimilarMatcher<T> - Class in org.sonatype.sisu.litmus.testsupport.hamcrest
Are the two java beans similar?.
BeanMatchers.SimilarMatcher(T) - Constructor for class org.sonatype.sisu.litmus.testsupport.hamcrest.BeanMatchers.SimilarMatcher
Constructor.

C

configure(Properties) - Method in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
contains(String...) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
containsEntry(String) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
containsOnly(String) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
Assert a file contains only the specified string content
createTempDir(File, String) - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
createTempDir(String) - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
createTempDir() - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
createTempFile(File, String) - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
createTempFile(String) - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
createTempFile() - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
 

D

describeMismatch(Object, Description) - Method in class org.sonatype.sisu.litmus.testsupport.hamcrest.BeanMatchers.SimilarMatcher
describeMismatch(Object, Description) - Method in class org.sonatype.sisu.litmus.testsupport.hamcrest.IsNot
 
describeMismatchSafely(URL, Description) - Method in class org.sonatype.sisu.litmus.testsupport.hamcrest.URLRespondsWithStatusMatcher
 
describeTo(Description) - Method in class org.sonatype.sisu.litmus.testsupport.hamcrest.BeanMatchers.SimilarMatcher
describeTo(Description) - Method in class org.sonatype.sisu.litmus.testsupport.hamcrest.IsNot
 
describeTo(Description) - Method in class org.sonatype.sisu.litmus.testsupport.hamcrest.URLRespondsWithStatusMatcher
 
DiffMatchers - Class in org.sonatype.sisu.litmus.testsupport.hamcrest
TODO
DiffMatchers() - Constructor for class org.sonatype.sisu.litmus.testsupport.hamcrest.DiffMatchers
 
diffSideBySide(String, String, boolean) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.DiffUtils
TODO
DiffUtils - Class in org.sonatype.sisu.litmus.testsupport.hamcrest
Some ideas to represent test assertions in more usable way

Inspired and blatantly copied from: http://stackoverflow.com/questions/319479/generate-formatted-diff-output-in-java

Thank you!

DiffUtils() - Constructor for class org.sonatype.sisu.litmus.testsupport.hamcrest.DiffUtils
 
doesNotContain(String...) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 

E

equalTo(String) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.DiffMatchers
TODO
equalToOnlyDiffs(String) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.DiffMatchers
TODO
exists() - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 

F

failed(Throwable, FrameworkMethod) - Method in class org.sonatype.sisu.litmus.testsupport.TestTracer
 
failingActual - Variable in class org.sonatype.sisu.litmus.testsupport.hamcrest.BeanMatchers.SimilarMatcher
Value that actually failed.
FileMatchers - Class in org.sonatype.sisu.litmus.testsupport.hamcrest
Some ideas copied freely from http://www.time4tea.net/wiki/display/MAIN/Testing+Files+with+Hamcrest
FileMatchers() - Constructor for class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
finished(FrameworkMethod) - Method in class org.sonatype.sisu.litmus.testsupport.TestTracer
 

G

getBaseDir() - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
getLog() - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
getLogLevel() - Method in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
getLogLevel() - Method in class org.sonatype.sisu.litmus.testsupport.TestSupport
 
getName() - Method in class org.sonatype.sisu.litmus.testsupport.TestMethod
Returns the name of the currently-running test method
getTargetDir() - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
getTargetDirMethodFile(String, String) - Method in class org.sonatype.sisu.litmus.testsupport.TestMethod
Returns a directory specific to running test method.
getTmpDir() - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
 

I

ImplementsPartialJavaBean - Class in org.sonatype.sisu.litmus.testsupport.mock
???
ImplementsPartialJavaBean() - Constructor for class org.sonatype.sisu.litmus.testsupport.mock.ImplementsPartialJavaBean
 
initBaseDir() - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
Determine the value of ${basedir}, which should be the base directory of the module which the concrete test class is defined in.
initMocks() - Method in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
initMocks() - Method in class org.sonatype.sisu.litmus.testsupport.TestSupport
 
InjectedTestSupport - Class in org.sonatype.sisu.litmus.testsupport.inject
Support for injection-based tests.
InjectedTestSupport() - Constructor for class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
isDirectory() - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
isEmpty() - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
isFile() - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
IsNot<T> - Class in org.sonatype.sisu.litmus.testsupport.hamcrest
Replacement for org.hamcrest.core.IsNot that delegates mismatch description to wrapped Matcher if set.
IsNot(Matcher<T>) - Constructor for class org.sonatype.sisu.litmus.testsupport.hamcrest.IsNot
 

J

JUnitSupport - Class in org.sonatype.sisu.litmus.testsupport.junit
Generic JUnit support utils.
JUnitSupport() - Constructor for class org.sonatype.sisu.litmus.testsupport.junit.JUnitSupport
 

L

log(String) - Method in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
log(Object) - Method in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
log(String, Object...) - Method in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
log(String, Throwable) - Method in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
log(String) - Method in class org.sonatype.sisu.litmus.testsupport.TestSupport
 
log(Object) - Method in class org.sonatype.sisu.litmus.testsupport.TestSupport
 
log(String, Object...) - Method in class org.sonatype.sisu.litmus.testsupport.TestSupport
 
log(String, Throwable) - Method in class org.sonatype.sisu.litmus.testsupport.TestSupport
 
log - Variable in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
logger - Variable in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
logger - Variable in class org.sonatype.sisu.litmus.testsupport.TestSupport
 

M

matches(Object) - Method in class org.sonatype.sisu.litmus.testsupport.hamcrest.BeanMatchers.SimilarMatcher
matches(Object) - Method in class org.sonatype.sisu.litmus.testsupport.hamcrest.IsNot
 
matchesSafely(URL) - Method in class org.sonatype.sisu.litmus.testsupport.hamcrest.URLRespondsWithStatusMatcher
 

N

named(String) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
Names - Interface in org.sonatype.sisu.litmus.testsupport.inject
???
not(Matcher<T>) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.IsNot
Inverts the rule.
not(T) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.IsNot
This is a shortcut to the frequently used not(equalTo(x)).

O

org.sonatype.sisu.litmus.testsupport - package org.sonatype.sisu.litmus.testsupport
 
org.sonatype.sisu.litmus.testsupport.hamcrest - package org.sonatype.sisu.litmus.testsupport.hamcrest
 
org.sonatype.sisu.litmus.testsupport.inject - package org.sonatype.sisu.litmus.testsupport.inject
 
org.sonatype.sisu.litmus.testsupport.junit - package org.sonatype.sisu.litmus.testsupport.junit
 
org.sonatype.sisu.litmus.testsupport.junit.ext - package org.sonatype.sisu.litmus.testsupport.junit.ext
 
org.sonatype.sisu.litmus.testsupport.mock - package org.sonatype.sisu.litmus.testsupport.mock
 

R

readable() - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
readFully(File) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
Read from file till EOF.
readFully(Reader) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
Read from reader till EOF.
readFully(Reader, int) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
Read from reader till EOF.
resolveFile(File, String) - Method in class org.sonatype.sisu.litmus.testsupport.TestMethod
Resolves a test file by looking up the specified path into test resources starting with a specified root.
resolveFile(String) - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
Resolve the given path to a file rooted to TestUtil.baseDir.
resolvePath(String) - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
Resolve the given path to a path rooted to TestUtil.baseDir.
respondsWithStatus(Integer) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.URLMatchers
 
respondsWithStatusWithin(int, int) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.URLMatchers
 
runUnitTests(Class...) - Method in class org.sonatype.sisu.litmus.testsupport.junit.JUnitSupport
Run one or more JUnit tests sequentially in the order given.

S

satisfy() - Method in class org.sonatype.sisu.litmus.testsupport.junit.ext.URLIsReachable
 
setLogLevel(Level) - Method in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
setLogLevel(Level) - Method in class org.sonatype.sisu.litmus.testsupport.TestSupport
 
setTmpDir(File) - Method in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
similarTo(T) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.BeanMatchers
Are the two java beans similar?.
sized(Long) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
sized(Matcher<Long>) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
starting(FrameworkMethod) - Method in class org.sonatype.sisu.litmus.testsupport.TestMethod
starting(FrameworkMethod) - Method in class org.sonatype.sisu.litmus.testsupport.TestTracer
 
succeeded(FrameworkMethod) - Method in class org.sonatype.sisu.litmus.testsupport.TestTracer
 

T

TARGET - Static variable in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
TestMethod - Class in org.sonatype.sisu.litmus.testsupport
Test method related utilities.
TestMethod(TestUtil) - Constructor for class org.sonatype.sisu.litmus.testsupport.TestMethod
Constructor.
testMethod - Variable in class org.sonatype.sisu.litmus.testsupport.TestSupport
Test method utilities.
testName - Variable in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
TestSupport - Class in org.sonatype.sisu.litmus.testsupport
Support for tests.
TestSupport() - Constructor for class org.sonatype.sisu.litmus.testsupport.TestSupport
 
TestTracer - Class in org.sonatype.sisu.litmus.testsupport
Traces test execution to a Logger.
TestTracer(Logger) - Constructor for class org.sonatype.sisu.litmus.testsupport.TestTracer
 
TestTracer(Object) - Constructor for class org.sonatype.sisu.litmus.testsupport.TestTracer
 
TestUtil - Class in org.sonatype.sisu.litmus.testsupport
Test utilities.
TestUtil(Class) - Constructor for class org.sonatype.sisu.litmus.testsupport.TestUtil
 
TestUtil(Object) - Constructor for class org.sonatype.sisu.litmus.testsupport.TestUtil
 
TMP - Static variable in class org.sonatype.sisu.litmus.testsupport.TestUtil
 
toString() - Method in class org.sonatype.sisu.litmus.testsupport.hamcrest.BeanMatchers.SimilarMatcher
tracer - Variable in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
tracer - Variable in class org.sonatype.sisu.litmus.testsupport.TestSupport
 

U

URLIsReachable - Class in org.sonatype.sisu.litmus.testsupport.junit.ext
 
URLIsReachable(String) - Constructor for class org.sonatype.sisu.litmus.testsupport.junit.ext.URLIsReachable
 
URLIsReachable(String[]) - Constructor for class org.sonatype.sisu.litmus.testsupport.junit.ext.URLIsReachable
 
URLMatchers - Class in org.sonatype.sisu.litmus.testsupport.hamcrest
 
URLMatchers() - Constructor for class org.sonatype.sisu.litmus.testsupport.hamcrest.URLMatchers
 
URLRespondsWithStatusMatcher - Class in org.sonatype.sisu.litmus.testsupport.hamcrest
 
URLRespondsWithStatusMatcher(int) - Constructor for class org.sonatype.sisu.litmus.testsupport.hamcrest.URLRespondsWithStatusMatcher
 
URLRespondsWithStatusMatcher(int, int) - Constructor for class org.sonatype.sisu.litmus.testsupport.hamcrest.URLRespondsWithStatusMatcher
 
util - Variable in class org.sonatype.sisu.litmus.testsupport.inject.InjectedTestSupport
 
util - Variable in class org.sonatype.sisu.litmus.testsupport.TestSupport
 

W

withAbsolutePath(String) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
withCanonicalPath(String) - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 
withLevel(Level) - Method in class org.sonatype.sisu.litmus.testsupport.TestTracer
 
writable() - Static method in class org.sonatype.sisu.litmus.testsupport.hamcrest.FileMatchers
 

A B C D E F G I J L M N O R S T U W

Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.