Skip navigation links
A B C E F G I J K L M N O P R S T V W X 

A

AbstractAdapterGenerator - Class in com.mockrunner.gen
 
AbstractAdapterGenerator() - Constructor for class com.mockrunner.gen.AbstractAdapterGenerator
 
AbstractAdapterGenerator.ProcessingUnit - Class in com.mockrunner.gen
 
AdapterProcessor - Interface in com.mockrunner.gen.proc
 
addBlock(String) - Method in class com.mockrunner.gen.proc.JavaLineParser
 
addBlock(String) - Method in class com.mockrunner.gen.proc.JavaLineProcessor
 
addBlocks(List) - Method in class com.mockrunner.gen.proc.JavaLineParser
 
addBlocks(List) - Method in class com.mockrunner.gen.proc.JavaLineProcessor
 
addBytesToList(byte[], List, int) - Static method in class com.mockrunner.util.common.ArrayUtil
Copies the bytes from the specified array to the specified List as Byte objects starting at the specified index.
addBytesToList(byte[], int, int, List, int) - Static method in class com.mockrunner.util.common.ArrayUtil
Copies the bytes from the specified array to the specified List as Byte objects starting at the specified index.
addConstructorDeclaration() - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
addConstructorDeclaration(JavaClassGenerator.ConstructorDeclaration) - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
addImport(Class) - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
addInterfaceImplementation(Class) - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
addJavaSrcFiles(String, File, Map) - Method in class com.mockrunner.gen.proc.GeneratorUtil
 
addLine(String) - Method in class com.mockrunner.gen.proc.JavaLineParser
 
addLine(String) - Method in class com.mockrunner.gen.proc.JavaLineProcessor
 
addLines(List) - Method in class com.mockrunner.gen.proc.JavaLineParser
 
addLines(List) - Method in class com.mockrunner.gen.proc.JavaLineProcessor
 
addMemberDeclaration(Class, String) - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
addMethodDeclaration(JavaClassGenerator.MethodDeclaration) - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
AllUtilTests - Class in com.mockrunner.test.util
 
AllUtilTests() - Constructor for class com.mockrunner.test.util.AllUtilTests
 
anotherMethod() - Method in class com.mockrunner.test.util.MethodUtilTest.TestSub2
 
anotherProtectedMethod() - Method in class com.mockrunner.test.util.MethodUtilTest.TestSub2
 
anotherStaticMethod() - Static method in class com.mockrunner.test.util.MethodUtilTest.TestSub2
 
AnotherTestObject() - Constructor for class com.mockrunner.test.util.MethodUtilTest.AnotherTestObject
 
appendBlank() - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendBlank(int) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendBlockComment(String[]) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendClassDefintion(String) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendClassDefintion(String, String) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendClassDefintion(String, String[]) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendClassDefintion(String, String, String, String[]) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendCodeLines(String[]) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendComma() - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendComment(String) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendConstructorDeclaration(String) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendConstructorDeclaration(String, String[], String[]) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendConstructorDeclaration(String, String[], String[], String[]) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendImport(String) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendImports(List) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendIndent() - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendJavaDocComment(String[]) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendLeftBrace() - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendLeftParenthesis() - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendLine(String) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendMemberDeclaration(String, String) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendMethodDeclaration(String) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendMethodDeclaration(String, String) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendMethodDeclaration(String, String, String[], String[]) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendMethodDeclaration(String[], String, String, String[], String[]) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendMethodDeclaration(String[], String, String, String[], String[], String[]) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendNewLine() - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendNewLine(int) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendObjectsAsString(StringBuffer, List) - Static method in class com.mockrunner.util.common.StringUtil
Appends the entries in the specified List as strings with a terminating "\n" after each row.
appendPackageInfo(String) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendRightBrace() - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendRightParenthesis() - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
appendTabs(StringBuffer, int) - Static method in class com.mockrunner.util.common.StringUtil
Appends number tabs (\t) to the buffer.
areArraysEqual(Object, Object) - Static method in class com.mockrunner.util.common.ArrayUtil
Compares the two specified arrays.
areMethodsEqual(Method, Method) - Static method in class com.mockrunner.util.common.MethodUtil
Returns if the two specified methods are equal as defined by Method.equals() except that the methods can be defined by different classes.
ArrayUtil - Class in com.mockrunner.util.common
Util class for arrays
ArrayUtil() - Constructor for class com.mockrunner.util.common.ArrayUtil
 
ArrayUtilTest - Class in com.mockrunner.test.util
 
ArrayUtilTest() - Constructor for class com.mockrunner.test.util.ArrayUtilTest
 

B

Block(String, int, int) - Constructor for class com.mockrunner.gen.proc.JavaLineParser.Block
 

C

CaseAwareMap - Class in com.mockrunner.util.common
Implementation of a Map that recognizes the case of the keys, if the keys are strings.
CaseAwareMap() - Constructor for class com.mockrunner.util.common.CaseAwareMap
 
CaseAwareMap(boolean) - Constructor for class com.mockrunner.util.common.CaseAwareMap
 
CaseAwareMapTest - Class in com.mockrunner.test.util
 
CaseAwareMapTest() - Constructor for class com.mockrunner.test.util.CaseAwareMapTest
 
ClassUtil - Class in com.mockrunner.util.common
 
ClassUtil() - Constructor for class com.mockrunner.util.common.ClassUtil
 
ClassUtilTest - Class in com.mockrunner.test.util
 
ClassUtilTest() - Constructor for class com.mockrunner.test.util.ClassUtilTest
 
ClassUtilTest.Sub1 - Class in com.mockrunner.test.util
 
ClassUtilTest.Sub2 - Class in com.mockrunner.test.util
 
ClassUtilTest.Super - Class in com.mockrunner.test.util
 
ClassUtilTest.TestClass - Class in com.mockrunner.test.util
 
ClassUtilTest.TestInterface - Interface in com.mockrunner.test.util
 
clear() - Method in class com.mockrunner.util.common.CaseAwareMap
 
CollectionUtil - Class in com.mockrunner.util.common
Util class for collections
CollectionUtil() - Constructor for class com.mockrunner.util.common.CollectionUtil
 
CollectionUtilTest - Class in com.mockrunner.test.util
 
CollectionUtilTest() - Constructor for class com.mockrunner.test.util.CollectionUtilTest
 
com.mockrunner.base - package com.mockrunner.base
 
com.mockrunner.gen - package com.mockrunner.gen
 
com.mockrunner.gen.jar - package com.mockrunner.gen.jar
 
com.mockrunner.gen.proc - package com.mockrunner.gen.proc
 
com.mockrunner.test.consistency - package com.mockrunner.test.consistency
 
com.mockrunner.test.gen - package com.mockrunner.test.gen
 
com.mockrunner.test.util - package com.mockrunner.test.util
 
com.mockrunner.util.common - package com.mockrunner.util.common
 
com.mockrunner.util.web - package com.mockrunner.util.web
 
compare(String, String) - Static method in class com.mockrunner.util.common.StringUtil
Compares two strings and returns the last index where the two string are equal.
compareReaders(Reader, Reader) - Static method in class com.mockrunner.util.common.StreamUtil
Compares the content of the readers.
compareStreams(InputStream, InputStream) - Static method in class com.mockrunner.util.common.StreamUtil
Compares the content of the streams.
computeHashCode(Object) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns a suitable hash code for the specified array.
ConstructorDeclaration() - Constructor for class com.mockrunner.gen.proc.JavaClassGenerator.ConstructorDeclaration
 
containsKey(Object) - Method in class com.mockrunner.util.common.CaseAwareMap
 
containsValue(Object) - Method in class com.mockrunner.util.common.CaseAwareMap
 
convertToArray(Object) - Static method in class com.mockrunner.util.common.ArrayUtil
Creates an array with a single object as component.
convertToObjectArray(Object) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns an object array by wrapping primitive types.
convertToPrimitiveArray(Object[]) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns a primitive array by unwrapping the corresponding types.
copyArray(Object) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns a copy of the specified array.
copyReader(Reader) - Static method in class com.mockrunner.util.common.StreamUtil
Returns a copy of the specified reader.
copyStream(InputStream) - Static method in class com.mockrunner.util.common.StreamUtil
Returns a copy of the specified stream.
countMatches(String, String) - Static method in class com.mockrunner.util.common.StringUtil
Returns how many times string contains other.
createDependencies(Jar[]) - Method in class com.mockrunner.gen.jar.JarFileExtractor
 
createEmptyFile(File) - Static method in class com.mockrunner.util.common.FileUtil
Creates a new empty file
createJDOMDocument(Document) - Static method in class com.mockrunner.util.web.XmlUtil
Creates a JDOM Document from a specified W3C Document.
createStringFromJDOMDocument(Document) - Static method in class com.mockrunner.util.web.XmlUtil
Returns the documents XML content as a string.
createSummary(File, File) - Method in class com.mockrunner.gen.jar.MockrunnerTextSummary
 
createSummary(File, File, String, String) - Method in class com.mockrunner.gen.jar.MockrunnerTextSummary
 

E

emptyStringToNull(String) - Static method in class com.mockrunner.util.common.StringUtil
Returns null, if the specified string is null or the empty string.
ensureUnique(String[]) - Static method in class com.mockrunner.util.common.ArrayUtil
Ensures that each entry in the specified string array is unique by adding a number to duplicate entries.
entrySet() - Method in class com.mockrunner.util.common.CaseAwareMap
 

F

fieldToString(String, Object) - Static method in class com.mockrunner.util.common.StringUtil
Helper method for toString() implementations.
FieldUtil - Class in com.mockrunner.util.common
 
FieldUtil() - Constructor for class com.mockrunner.util.common.FieldUtil
 
FieldUtilTest - Class in com.mockrunner.test.util
 
FieldUtilTest() - Constructor for class com.mockrunner.test.util.FieldUtilTest
 
FieldUtilTest.TestSub - Class in com.mockrunner.test.util
 
FieldUtilTest.TestSub2 - Class in com.mockrunner.test.util
 
FieldUtilTest.TestSuper - Class in com.mockrunner.test.util
 
FileUtil - Class in com.mockrunner.util.common
 
FileUtil() - Constructor for class com.mockrunner.util.common.FileUtil
 
FileUtilTest - Class in com.mockrunner.test.util
 
FileUtilTest() - Constructor for class com.mockrunner.test.util.FileUtilTest
 
fillList(List, int) - Static method in class com.mockrunner.util.common.CollectionUtil
Fills a List with null by calling CollectionUtil.fillList(List, int, Object) with a null object.
fillList(List, int, Object) - Static method in class com.mockrunner.util.common.CollectionUtil
Fills a List with with the specified object until it has the specified size.
filter(Jar[]) - Method in class com.mockrunner.gen.jar.JarFileExtractor
 
findFile(String) - Static method in class com.mockrunner.util.common.FileUtil
Tries to open the file from its absolute or relative path.

G

generate() - Method in class com.mockrunner.gen.AbstractAdapterGenerator
 
generate() - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
GeneratorUtil - Class in com.mockrunner.gen.proc
 
GeneratorUtil() - Constructor for class com.mockrunner.gen.proc.GeneratorUtil
 
get(Object) - Method in class com.mockrunner.util.common.CaseAwareMap
 
getArgumentName(Class) - Static method in class com.mockrunner.util.common.ClassUtil
Returns a suitable argument name for arguments of type argumentType.
getArgumentNames() - Method in class com.mockrunner.gen.proc.JavaClassGenerator.ConstructorDeclaration
 
getArguments() - Method in class com.mockrunner.gen.proc.JavaClassGenerator.ConstructorDeclaration
 
getBodyFragmentFromJDOMDocument(Document) - Static method in class com.mockrunner.util.web.XmlUtil
Convinience method for HTML fragments.
getBodyFragmentJDOMDocument(Document) - Static method in class com.mockrunner.util.web.XmlUtil
getByteArrayFromList(List) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns a byte array containing the bytes from the List.
getByteArrayFromList(List, int) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns a byte array containing the bytes from the List.
getByteArrayFromList(List, int, int) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns a byte array containing the bytes from the List.
getClassName(Class) - Static method in class com.mockrunner.util.common.ClassUtil
Returns the name of the specified class.
getCodeLines() - Method in class com.mockrunner.gen.proc.JavaClassGenerator.ConstructorDeclaration
 
getCommentLines() - Method in class com.mockrunner.gen.proc.JavaClassGenerator.ConstructorDeclaration
 
getEndLineNumber() - Method in class com.mockrunner.gen.proc.JavaLineParser.Block
 
getExceptions() - Method in class com.mockrunner.gen.proc.JavaClassGenerator.ConstructorDeclaration
 
getExcludedMethods() - Method in class com.mockrunner.gen.AbstractAdapterGenerator.ProcessingUnit
 
getFieldsSortedByInheritanceHierarchy(Class) - Static method in class com.mockrunner.util.common.FieldUtil
Returns all non-static fields declared by the specified class and its superclasses.
getHTMLParser() - Static method in class com.mockrunner.util.web.XmlUtil
Returns a parser suitable for parsing HTML documents.
getImplementedInterfaces(Class) - Static method in class com.mockrunner.util.common.ClassUtil
Returns all interfaces implemented by the specified class including all interfaces implemented by super classes.
getInheritanceHierarchy(Class) - Static method in class com.mockrunner.util.common.ClassUtil
Returns the inheritance hierarchy of the specified class.
getJEE5OnlyJars() - Static method in class com.mockrunner.gen.jar.MockrunnerJars
 
getLine() - Method in class com.mockrunner.gen.proc.JavaLineParser.Line
 
getLineNumber() - Method in class com.mockrunner.gen.proc.JavaLineParser.Line
 
getLinesFromFile(File) - Static method in class com.mockrunner.util.common.FileUtil
Reads all lines from a text file and adds them to a List.
getLinesFromReader(Reader) - Static method in class com.mockrunner.util.common.StreamUtil
Reads the lines from the specified reader and adds them to a List.
getListFromByteArray(byte[]) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns a List containing the bytes from the specified array as Byte objects.
getMatchingDeclaredMethods(Class, String) - Static method in class com.mockrunner.util.common.MethodUtil
Returns the declared methods of the specified class whose names are matching the specified regular expression.
getMessage() - Method in exception com.mockrunner.base.NestedApplicationException
 
getMethodsSortedByInheritanceHierarchy(Class) - Static method in class com.mockrunner.util.common.MethodUtil
Returns all non-static methods declared by the specified class and its superclasses.
getMockrunnerJars() - Static method in class com.mockrunner.gen.jar.MockrunnerJars
 
getModifier() - Method in class com.mockrunner.gen.proc.JavaClassGenerator.MethodDeclaration
 
getModule() - Method in class com.mockrunner.gen.AbstractAdapterGenerator.ProcessingUnit
 
getName() - Method in interface com.mockrunner.gen.proc.AdapterProcessor
 
getName() - Method in class com.mockrunner.gen.proc.JavaClassGenerator.MethodDeclaration
 
getNested() - Method in exception com.mockrunner.base.NestedApplicationException
Returns the nested exception (which may also be a NestedApplicationException)
getOutput() - Method in interface com.mockrunner.gen.proc.AdapterProcessor
 
getOverriddenMethods(Class, Method[]) - Static method in class com.mockrunner.util.common.MethodUtil
Returns all methods in methods that are overridden in the specified class hierarchy.
getPackageName(Class) - Static method in class com.mockrunner.util.common.ClassUtil
Returns the name of the package of the specified class.
getPermission(String) - Static method in class com.mockrunner.gen.jar.MockrunnerJars
 
getProcessor() - Method in class com.mockrunner.gen.AbstractAdapterGenerator.ProcessingUnit
 
getProhibited(Set) - Method in class com.mockrunner.gen.jar.MockrunnerJars.Permission
 
getReaderAsString(Reader) - Static method in class com.mockrunner.util.common.StreamUtil
Returns the contents of the reader as a string.
getReaderAsString(Reader, int) - Static method in class com.mockrunner.util.common.StreamUtil
Returns the contents of the reader as a string.
getResult() - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
getResultAsBuffer() - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
getReturnType() - Method in class com.mockrunner.gen.proc.JavaClassGenerator.MethodDeclaration
 
getRootCause() - Method in exception com.mockrunner.base.NestedApplicationException
Returns the root cause, i.e.
getSrcDir() - Method in class com.mockrunner.gen.AbstractAdapterGenerator
 
getStandardInterfaceJars() - Static method in class com.mockrunner.gen.jar.MockrunnerJars
 
getStreamAsByteArray(InputStream) - Static method in class com.mockrunner.util.common.StreamUtil
Returns the contents of the input stream as byte array.
getStreamAsByteArray(InputStream, int) - Static method in class com.mockrunner.util.common.StreamUtil
Returns the contents of the input stream as byte array.

I

indexOf(byte[], byte[]) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns the index of the first occurence of the array bytes in the array source.
indexOf(byte[], byte[], int) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns the index of the first occurence of the array bytes in the array source.
initialize() - Method in class com.mockrunner.gen.AbstractAdapterGenerator
 
invoke(Object, String) - Static method in class com.mockrunner.util.common.MethodUtil
Invokes the method with the specified name on the specified object and throws a NestedApplicationException, if the invocation fails.
invoke(Object, String, Object) - Static method in class com.mockrunner.util.common.MethodUtil
Invokes the method with the specified name on the specified object and throws a NestedApplicationException, if the invocation fails.
isCaseSensitive() - Method in class com.mockrunner.util.common.CaseAwareMap
Returns if keys are case sensitive.
isEmpty() - Method in class com.mockrunner.util.common.CaseAwareMap
 
isEmptyOrNull(String) - Static method in class com.mockrunner.util.common.StringUtil
Returns if the specified string is null or the empty string.
isKeyword(String) - Static method in class com.mockrunner.util.common.ClassUtil
Returns if the specified string is a Java language keyword.
isMockEJBDependencyAllowed() - Method in class com.mockrunner.gen.jar.MockrunnerJars.Permission
 
isOtherJ2EEDependencyAllowed() - Method in class com.mockrunner.gen.jar.MockrunnerJars.Permission
 
isStrutsDependencyAllowed() - Method in class com.mockrunner.gen.jar.MockrunnerJars.Permission
 
isWebJ2EEDependencyAllowed() - Method in class com.mockrunner.gen.jar.MockrunnerJars.Permission
 
isXMLDependencyAllowed() - Method in class com.mockrunner.gen.jar.MockrunnerJars.Permission
 

J

JarFileExtractor - Class in com.mockrunner.gen.jar
 
JarFileExtractor(List, List) - Constructor for class com.mockrunner.gen.jar.JarFileExtractor
 
JarFileExtractorTest - Class in com.mockrunner.test.gen
 
JarFileExtractorTest() - Constructor for class com.mockrunner.test.gen.JarFileExtractorTest
 
JavaClassGenerator - Class in com.mockrunner.gen.proc
 
JavaClassGenerator() - Constructor for class com.mockrunner.gen.proc.JavaClassGenerator
 
JavaClassGenerator.ConstructorDeclaration - Class in com.mockrunner.gen.proc
 
JavaClassGenerator.MethodDeclaration - Class in com.mockrunner.gen.proc
 
JavaClassGeneratorTest - Class in com.mockrunner.test.gen
 
JavaClassGeneratorTest() - Constructor for class com.mockrunner.test.gen.JavaClassGeneratorTest
 
JavaLineAssembler - Class in com.mockrunner.gen.proc
 
JavaLineAssembler() - Constructor for class com.mockrunner.gen.proc.JavaLineAssembler
 
JavaLineAssemblerTest - Class in com.mockrunner.test.gen
 
JavaLineAssemblerTest() - Constructor for class com.mockrunner.test.gen.JavaLineAssemblerTest
 
JavaLineParser - Class in com.mockrunner.gen.proc
 
JavaLineParser() - Constructor for class com.mockrunner.gen.proc.JavaLineParser
 
JavaLineParser.Block - Class in com.mockrunner.gen.proc
 
JavaLineParser.Line - Class in com.mockrunner.gen.proc
 
JavaLineProcessor - Class in com.mockrunner.gen.proc
 
JavaLineProcessor() - Constructor for class com.mockrunner.gen.proc.JavaLineProcessor
 
JavaLineProcessorTest - Class in com.mockrunner.test.gen
 
JavaLineProcessorTest() - Constructor for class com.mockrunner.test.gen.JavaLineProcessorTest
 

K

keySet() - Method in class com.mockrunner.util.common.CaseAwareMap
 

L

Launcher - Class in com.mockrunner.test.consistency
 
Launcher() - Constructor for class com.mockrunner.test.consistency.Launcher
 
Line(String, int) - Constructor for class com.mockrunner.gen.proc.JavaLineParser.Line
 
loadClass(String, boolean) - Method in class com.mockrunner.gen.jar.TestConfigurationClassLoader
 
lowerCase(String, int) - Static method in class com.mockrunner.util.common.StringUtil
Converts the character at the specified index to lowercase and returns the resulting string.
lowerCase(String, int, int) - Static method in class com.mockrunner.util.common.StringUtil
Converts the character in the specified index range to lowercase and returns the resulting string.

M

matchesContains(String, String, boolean) - Static method in class com.mockrunner.util.common.StringUtil
Returns if source contains target, ignoring case, if caseSensitive is false.
matchesExact(String, String, boolean) - Static method in class com.mockrunner.util.common.StringUtil
Returns if the specified strings are equal, ignoring case, if caseSensitive is false.
matchesPerl5(String, String, boolean) - Static method in class com.mockrunner.util.common.StringUtil
Returns if the regular expression target matches source, ignoring case, if caseSensitive is false.
MethodDeclaration() - Constructor for class com.mockrunner.gen.proc.JavaClassGenerator.MethodDeclaration
 
MethodDeclaration(String) - Constructor for class com.mockrunner.gen.proc.JavaClassGenerator.MethodDeclaration
 
MethodDeclaration(int, String) - Constructor for class com.mockrunner.gen.proc.JavaClassGenerator.MethodDeclaration
 
MethodDeclaration(int, String, Class) - Constructor for class com.mockrunner.gen.proc.JavaClassGenerator.MethodDeclaration
 
MethodUtil - Class in com.mockrunner.util.common
 
MethodUtil() - Constructor for class com.mockrunner.util.common.MethodUtil
 
MethodUtilTest - Class in com.mockrunner.test.util
 
MethodUtilTest() - Constructor for class com.mockrunner.test.util.MethodUtilTest
 
MethodUtilTest.AnotherTestObject - Class in com.mockrunner.test.util
 
MethodUtilTest.Super - Class in com.mockrunner.test.util
 
MethodUtilTest.TestInterface - Interface in com.mockrunner.test.util
 
MethodUtilTest.TestObject - Class in com.mockrunner.test.util
 
MethodUtilTest.TestSub - Class in com.mockrunner.test.util
 
MethodUtilTest.TestSub2 - Class in com.mockrunner.test.util
 
MethodUtilTest.TestSub3 - Class in com.mockrunner.test.util
 
MethodUtilTest.TestSuper - Class in com.mockrunner.test.util
 
MockrunnerJars - Class in com.mockrunner.gen.jar
 
MockrunnerJars() - Constructor for class com.mockrunner.gen.jar.MockrunnerJars
 
MockrunnerJars.Permission - Class in com.mockrunner.gen.jar
 
MockrunnerJarsTest - Class in com.mockrunner.test.gen
 
MockrunnerJarsTest() - Constructor for class com.mockrunner.test.gen.MockrunnerJarsTest
 
MockrunnerTextSummary - Class in com.mockrunner.gen.jar
 
MockrunnerTextSummary() - Constructor for class com.mockrunner.gen.jar.MockrunnerTextSummary
 
MultiThreadTestSuite - Class in com.mockrunner.base
This TestSuite starts all test methods in a number of seperate threads.
MultiThreadTestSuite(Class, String) - Constructor for class com.mockrunner.base.MultiThreadTestSuite
 
MultiThreadTestSuite(Class) - Constructor for class com.mockrunner.base.MultiThreadTestSuite
 
MultiThreadTestSuite(Class, String, int, boolean) - Constructor for class com.mockrunner.base.MultiThreadTestSuite
 
MultiThreadTestSuite(Class, int, boolean) - Constructor for class com.mockrunner.base.MultiThreadTestSuite
 

N

NestedApplicationException - Exception in com.mockrunner.base
If Mockrunner catches an exception inside application code, it rethrows it as an instance of this class.
NestedApplicationException(String, Throwable) - Constructor for exception com.mockrunner.base.NestedApplicationException
 
NestedApplicationException(Throwable) - Constructor for exception com.mockrunner.base.NestedApplicationException
 

O

overrides(Method, Method) - Static method in class com.mockrunner.util.common.MethodUtil
Returns if method2 overrides method1.

P

PackageImportSorter - Class in com.mockrunner.gen.proc
 
PackageImportSorter() - Constructor for class com.mockrunner.gen.proc.PackageImportSorter
 
PackageImportSorterTest - Class in com.mockrunner.test.gen
 
PackageImportSorterTest() - Constructor for class com.mockrunner.test.gen.PackageImportSorterTest
 
parse(String) - Method in class com.mockrunner.gen.proc.JavaLineParser
 
parse(DOMParser, String) - Static method in class com.mockrunner.util.web.XmlUtil
Parses the specified XML with the specified parser.
parseHTML(String) - Static method in class com.mockrunner.util.web.XmlUtil
Parses the specified HTML with the NekoHTML parser.
Permission(boolean, boolean, boolean, boolean, boolean) - Constructor for class com.mockrunner.gen.jar.MockrunnerJars.Permission
 
process(Class, List) - Method in interface com.mockrunner.gen.proc.AdapterProcessor
 
process(String) - Method in class com.mockrunner.gen.proc.JavaLineProcessor
 
ProcessingUnit(Class, AdapterProcessor) - Constructor for class com.mockrunner.gen.AbstractAdapterGenerator.ProcessingUnit
 
ProcessingUnit(Class, AdapterProcessor, List) - Constructor for class com.mockrunner.gen.AbstractAdapterGenerator.ProcessingUnit
 
put(Object, Object) - Method in class com.mockrunner.util.common.CaseAwareMap
 
putAll(Map) - Method in class com.mockrunner.util.common.CaseAwareMap
 

R

remove(Object) - Method in class com.mockrunner.util.common.CaseAwareMap
 
replaceAll(String, String, String) - Static method in class com.mockrunner.util.common.StringUtil
Replaces all occurrences of match in source with replacement.
reset() - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
reset() - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
run(TestResult) - Method in class com.mockrunner.base.MultiThreadTestSuite
 
run(String) - Method in class com.mockrunner.test.consistency.Launcher
 

S

setAbstract(boolean) - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
setArgumentNames(String[]) - Method in class com.mockrunner.gen.proc.JavaClassGenerator.ConstructorDeclaration
 
setArguments(Class[]) - Method in class com.mockrunner.gen.proc.JavaClassGenerator.ConstructorDeclaration
 
setCaseSensitive(boolean) - Method in class com.mockrunner.util.common.CaseAwareMap
Sets if keys are case sensitive.
setClassComment(String[]) - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
setClassName(String) - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
setCodeLines(String[]) - Method in class com.mockrunner.gen.proc.JavaClassGenerator.ConstructorDeclaration
 
setCommentLines(String[]) - Method in class com.mockrunner.gen.proc.JavaClassGenerator.ConstructorDeclaration
 
setCreateJavaDocComments(boolean) - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
setDefaultMethodModifier(String) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
setExceptions(Class[]) - Method in class com.mockrunner.gen.proc.JavaClassGenerator.ConstructorDeclaration
 
setIndentLevel(int) - Method in class com.mockrunner.gen.proc.JavaLineAssembler
 
setModifier(int) - Method in class com.mockrunner.gen.proc.JavaClassGenerator.MethodDeclaration
 
setName(String) - Method in class com.mockrunner.gen.proc.JavaClassGenerator.MethodDeclaration
 
setPackage(Package) - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
setReturnType(Class) - Method in class com.mockrunner.gen.proc.JavaClassGenerator.MethodDeclaration
 
setSuperClass(Class) - Method in class com.mockrunner.gen.proc.JavaClassGenerator
 
setUp() - Method in class com.mockrunner.test.gen.JavaClassGeneratorTest
 
setUp() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
setUp() - Method in class com.mockrunner.test.gen.PackageImportSorterTest
 
setUp() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
size() - Method in class com.mockrunner.util.common.CaseAwareMap
 
sortBlocks(List) - Method in class com.mockrunner.gen.proc.PackageImportSorter
 
split(String, String, boolean) - Static method in class com.mockrunner.util.common.StringUtil
Splits a string into tokens.
StreamUtil - Class in com.mockrunner.util.common
Simple util class for manipulating streams
StreamUtil() - Constructor for class com.mockrunner.util.common.StreamUtil
 
StreamUtilTest - Class in com.mockrunner.test.util
 
StreamUtilTest() - Constructor for class com.mockrunner.test.util.StreamUtilTest
 
StringUtil - Class in com.mockrunner.util.common
Simple util class for String related methods.
StringUtil() - Constructor for class com.mockrunner.util.common.StringUtil
 
StringUtilTest - Class in com.mockrunner.test.util
 
StringUtilTest() - Constructor for class com.mockrunner.test.util.StringUtilTest
 
Sub1() - Constructor for class com.mockrunner.test.util.ClassUtilTest.Sub1
 
Sub2() - Constructor for class com.mockrunner.test.util.ClassUtilTest.Sub2
 
Super() - Constructor for class com.mockrunner.test.util.ClassUtilTest.Super
 
Super() - Constructor for class com.mockrunner.test.util.MethodUtilTest.Super
 

T

testAddBytesToArrayList() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
testAppendBlankAndNewline() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendBlockComment() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendClassDefintion() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendClassDefintionWithInterfaces() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendClassDefintionWithSuperClass() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendClassDefintionWithSuperClassAndInterfaces() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendCodeLines() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendComment() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendConstructorDeclaration() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendConstructorDeclarationWithParameters() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendConstructorDeclarationWithParametersAndExceptions() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendImports() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendIndent() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendJavaDocComment() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendLine() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendMemberDeclaration() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendMethodDeclaration() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendMethodDeclarationWithReturnType() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendMethodDeclarationWithReturnTypeAndParameters() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendMethodDeclarationWithReturnTypeParametersAndModifiers() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendMethodDeclarationWithReturnTypeParametersModifiersAndExceptions() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAppendObjectsAsString() - Method in class com.mockrunner.test.util.StringUtilTest
 
testAppendPackageInfo() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testAreArraysEqual() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
testAreMethodEqual() - Method in class com.mockrunner.test.util.MethodUtilTest
 
TestClass() - Constructor for class com.mockrunner.test.util.ClassUtilTest.TestClass
 
testCompare() - Method in class com.mockrunner.test.util.StringUtilTest
 
testCompareStreamsAndReader() - Method in class com.mockrunner.test.util.StreamUtilTest
 
testComputeHashCode() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
TestConfigurationClassLoader - Class in com.mockrunner.gen.jar
 
TestConfigurationClassLoader(URL[], ClassLoader) - Constructor for class com.mockrunner.gen.jar.TestConfigurationClassLoader
 
testContainsKey() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
testContainsValue() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
testConvertToArray() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
testConvertToObjectArray() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
testConvertToPrimitiveArray() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
testCopyArray() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
testCopyStreamAndReader() - Method in class com.mockrunner.test.util.StreamUtilTest
 
testCountMatches() - Method in class com.mockrunner.test.util.StringUtilTest
 
testDependencies() - Method in class com.mockrunner.test.gen.JarFileExtractorTest
 
testEmpty() - Method in class com.mockrunner.test.gen.JarFileExtractorTest
 
testEmptyStringToNull() - Method in class com.mockrunner.test.util.StringUtilTest
 
testEnsureUnique() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
testEntrySet() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
testFieldToString() - Method in class com.mockrunner.test.util.StringUtilTest
 
testFileConsistency() - Method in class com.mockrunner.test.consistency.VersionConsistencyTest
 
testFillList() - Method in class com.mockrunner.test.util.CollectionUtilTest
 
testFilter() - Method in class com.mockrunner.test.gen.JarFileExtractorTest
 
testFindFile() - Method in class com.mockrunner.test.util.FileUtilTest
 
testGenerate() - Method in class com.mockrunner.test.gen.JavaClassGeneratorTest
 
testGet() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
testGetArgumentName() - Method in class com.mockrunner.test.util.ClassUtilTest
 
testGetByteArrayFromList() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
testGetClassName() - Method in class com.mockrunner.test.util.ClassUtilTest
 
testGetFieldsSortedByInheritanceHierarchy() - Method in class com.mockrunner.test.util.FieldUtilTest
 
testGetImplementedInterfaces() - Method in class com.mockrunner.test.util.ClassUtilTest
 
testGetInheritanceHierarchy() - Method in class com.mockrunner.test.util.ClassUtilTest
 
testGetLinesFromFile() - Method in class com.mockrunner.test.util.FileUtilTest
 
testGetLinesFromReader() - Method in class com.mockrunner.test.util.StreamUtilTest
 
testGetListFromByteArray() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
testGetMatchingDeclaredMethods() - Method in class com.mockrunner.test.util.MethodUtilTest
 
testGetMethodsSortedByInheritanceHierarchy() - Method in class com.mockrunner.test.util.MethodUtilTest
 
testGetOverriddenMethods() - Method in class com.mockrunner.test.util.MethodUtilTest
 
testGetPackageName() - Method in class com.mockrunner.test.util.ClassUtilTest
 
testGetReaderAsString() - Method in class com.mockrunner.test.util.StreamUtilTest
 
testGetStreamAsByteArray() - Method in class com.mockrunner.test.util.StreamUtilTest
 
testIndexOf() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
testInterface() - Method in interface com.mockrunner.test.util.MethodUtilTest.TestInterface
 
testInterface() - Method in class com.mockrunner.test.util.MethodUtilTest.TestSub
 
testInvoke() - Method in class com.mockrunner.test.util.MethodUtilTest
 
testInvokeWithParameter() - Method in class com.mockrunner.test.util.MethodUtilTest
 
testIsEmptyAndClear() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
testIsEmptyOrNull() - Method in class com.mockrunner.test.util.StringUtilTest
 
testIsKeyword() - Method in class com.mockrunner.test.util.ClassUtilTest
 
testKeySet() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
testLowerCase() - Method in class com.mockrunner.test.util.StringUtilTest
 
testLowerCaseWithEndIndex() - Method in class com.mockrunner.test.util.StringUtilTest
 
testMatchesContains() - Method in class com.mockrunner.test.util.StringUtilTest
 
testMatchesExact() - Method in class com.mockrunner.test.util.StringUtilTest
 
testMatchesPerl5() - Method in class com.mockrunner.test.util.StringUtilTest
 
testMatchingGroups() - Method in class com.mockrunner.test.gen.PackageImportSorterTest
 
testMethod1() - Method in class com.mockrunner.test.util.MethodUtilTest.TestObject
 
testMethod1(String) - Method in class com.mockrunner.test.util.MethodUtilTest.TestSub
 
testMethod1() - Method in class com.mockrunner.test.util.MethodUtilTest.TestSub
 
testMethod2() - Method in class com.mockrunner.test.util.MethodUtilTest.AnotherTestObject
 
testMethod2() - Method in class com.mockrunner.test.util.MethodUtilTest.TestObject
 
testMethod2(int[]) - Method in class com.mockrunner.test.util.MethodUtilTest.TestSub
 
testMethod2(int[], String) - Method in class com.mockrunner.test.util.MethodUtilTest.TestSub
 
testMethod2(int[], String) - Method in class com.mockrunner.test.util.MethodUtilTest.TestSuper
 
testMethod3() - Method in class com.mockrunner.test.util.MethodUtilTest.TestObject
 
testMethod3(String) - Static method in class com.mockrunner.test.util.MethodUtilTest.TestSub
 
testMethod4(Integer) - Method in class com.mockrunner.test.util.MethodUtilTest.AnotherTestObject
 
testMethod4(String) - Method in class com.mockrunner.test.util.MethodUtilTest.TestObject
 
testMethod5(Integer[]) - Method in class com.mockrunner.test.util.MethodUtilTest.AnotherTestObject
 
testMethod5(Integer[]) - Method in class com.mockrunner.test.util.MethodUtilTest.TestObject
 
testMixedGroups() - Method in class com.mockrunner.test.gen.PackageImportSorterTest
 
testMixedWithSingleGroup() - Method in class com.mockrunner.test.gen.PackageImportSorterTest
 
testMixedWithThreeGroups() - Method in class com.mockrunner.test.gen.PackageImportSorterTest
 
testMixedWithTwoGroups() - Method in class com.mockrunner.test.gen.PackageImportSorterTest
 
testNoDependencies() - Method in class com.mockrunner.test.gen.JarFileExtractorTest
 
testNonMatchingGroups() - Method in class com.mockrunner.test.gen.PackageImportSorterTest
 
TestObject() - Constructor for class com.mockrunner.test.util.MethodUtilTest.TestObject
 
testOverrides() - Method in class com.mockrunner.test.util.MethodUtilTest
 
testParseDeeplyNested() - Method in class com.mockrunner.test.gen.JavaLineProcessorTest
 
testParseError() - Method in class com.mockrunner.test.gen.JavaLineProcessorTest
 
testParseHTML() - Method in class com.mockrunner.test.util.XmlUtilTest
 
testParseHTMLFile() - Method in class com.mockrunner.test.util.XmlUtilTest
 
testParseInvalid() - Method in class com.mockrunner.test.gen.JavaLineProcessorTest
 
testParseValid() - Method in class com.mockrunner.test.gen.JavaLineProcessorTest
 
testPermission() - Method in class com.mockrunner.test.gen.MockrunnerJarsTest
 
testProcessCommentAll() - Method in class com.mockrunner.test.gen.JavaLineProcessorTest
 
testProcessDeeplyNested() - Method in class com.mockrunner.test.gen.JavaLineProcessorTest
 
testProcessDoubleBlock() - Method in class com.mockrunner.test.gen.JavaLineProcessorTest
 
testProcessDoubleLine() - Method in class com.mockrunner.test.gen.JavaLineProcessorTest
 
testProcessValid() - Method in class com.mockrunner.test.gen.JavaLineProcessorTest
 
testPut() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
testPutAll() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
testRecursiveDependencies() - Method in class com.mockrunner.test.gen.JarFileExtractorTest
 
testRemove() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
testReplaceAll() - Method in class com.mockrunner.test.util.StringUtilTest
 
testReset() - Method in class com.mockrunner.test.gen.JavaLineAssemblerTest
 
testSetCaseSensitive() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
testSize() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
testSplit() - Method in class com.mockrunner.test.util.StringUtilTest
 
TestSub() - Constructor for class com.mockrunner.test.util.FieldUtilTest.TestSub
 
TestSub() - Constructor for class com.mockrunner.test.util.MethodUtilTest.TestSub
 
TestSub2() - Constructor for class com.mockrunner.test.util.FieldUtilTest.TestSub2
 
TestSub2() - Constructor for class com.mockrunner.test.util.MethodUtilTest.TestSub2
 
testSub2Field1Static - Static variable in class com.mockrunner.test.util.FieldUtilTest.TestSub2
 
testSub2Field2 - Variable in class com.mockrunner.test.util.FieldUtilTest.TestSub2
 
TestSub3() - Constructor for class com.mockrunner.test.util.MethodUtilTest.TestSub3
 
testSubField2 - Variable in class com.mockrunner.test.util.FieldUtilTest.TestSub
 
TestSuper() - Constructor for class com.mockrunner.test.util.FieldUtilTest.TestSuper
 
TestSuper() - Constructor for class com.mockrunner.test.util.MethodUtilTest.TestSuper
 
testSuperMethod() - Method in class com.mockrunner.test.util.MethodUtilTest.Super
 
testTruncateArray() - Method in class com.mockrunner.test.util.ArrayUtilTest
 
testTruncateList() - Method in class com.mockrunner.test.util.CollectionUtilTest
 
testValues() - Method in class com.mockrunner.test.util.CaseAwareMapTest
 
toString() - Method in class com.mockrunner.test.util.MethodUtilTest.TestSub
 
toString() - Method in class com.mockrunner.test.util.MethodUtilTest.TestSub2
 
truncateArray(Object, int) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns a truncated copy of sourceArray.
truncateArray(Object, int, int) - Static method in class com.mockrunner.util.common.ArrayUtil
Returns a truncated copy of sourceArray.
truncateList(List, int) - Static method in class com.mockrunner.util.common.CollectionUtil
Returns a truncated version of the specified List.

V

values() - Method in class com.mockrunner.util.common.CaseAwareMap
 
VerifyFailedException - Exception in com.mockrunner.base
Will be thrown by the verify methods of all test modules.
VerifyFailedException() - Constructor for exception com.mockrunner.base.VerifyFailedException
 
VerifyFailedException(String) - Constructor for exception com.mockrunner.base.VerifyFailedException
 
VersionConsistencyTest - Class in com.mockrunner.test.consistency
 
VersionConsistencyTest() - Constructor for class com.mockrunner.test.consistency.VersionConsistencyTest
 

W

wasMethod1Called() - Method in class com.mockrunner.test.util.MethodUtilTest.TestObject
 
wasMethod2Called() - Method in class com.mockrunner.test.util.MethodUtilTest.TestObject
 
wasMethod3Called() - Method in class com.mockrunner.test.util.MethodUtilTest.TestObject
 
wasMethod4Called() - Method in class com.mockrunner.test.util.MethodUtilTest.TestObject
 
wasMethod5Called() - Method in class com.mockrunner.test.util.MethodUtilTest.TestObject
 

X

XmlUtil - Class in com.mockrunner.util.web
Util class for HTML and XML parsing.
XmlUtil() - Constructor for class com.mockrunner.util.web.XmlUtil
 
XmlUtilTest - Class in com.mockrunner.test.util
 
XmlUtilTest() - Constructor for class com.mockrunner.test.util.XmlUtilTest
 
A B C E F G I J K L M N O P R S T V W X 
Skip navigation links

Copyright © 2003–2014. All rights reserved.