A C D E F G I J L M N O P R S T U X 
All Classes All Packages

A

AbstractLog4JLoggerTest - Class in com.avcompris.util.reflect
tests on Java classes to check if the loaded Log4J logger is static and with the right class name.
AbstractLog4JLoggerTest(Class<?>) - Constructor for class com.avcompris.util.reflect.AbstractLog4JLoggerTest
constructor for a parameterized test class.
AbstractNonNullTest - Class in com.avcompris.util.reflect
tests on Java classes to check if the method parameters that are not flagged as Nullable are checked for null-values.
AbstractNonNullTest(AbstractNonNullTest.MemberHolder) - Constructor for class com.avcompris.util.reflect.AbstractNonNullTest
constructor for a parameterized test class.
AbstractNonNullTest.MemberHolder - Class in com.avcompris.util.reflect
holder for what is needed to test method or constructor invocations.
assertCodeEquals(File, File) - Static method in class com.avcompris.util.junit.AvcFileAssert
assert two code files are equal.
assertEquals(File, byte[]) - Static method in class com.avcompris.util.junit.AvcFileAssert
assert a byte array is equal to a Ref File.
assertEquals(String, File, byte[]) - Static method in class com.avcompris.util.junit.AvcFileAssert
assert a byte array is equal to a Ref File.
assertEquals(String, File, byte[], String) - Static method in class com.avcompris.util.junit.AvcFileAssert
assert a byte array is equal to a Ref File.
assertProcessedEquals(File, File, Properties) - Static method in class com.avcompris.util.junit.AvcFileAssert
assert two text files are equal.
assertRegexpEquals(File, File) - Static method in class com.avcompris.util.junit.AvcFileAssert
assert two text files are equal.
assertTextEquals(File, File) - Static method in class com.avcompris.util.junit.AvcFileAssert
assert two text files are equal.
AvcFileAssert - Class in com.avcompris.util.junit
assertions on files.
AvcFileAssert() - Constructor for class com.avcompris.util.junit.AvcFileAssert
 
AvcMatchers - Class in com.avcompris.util.junit
custom Hamcrest matchers.
AvcMatchers() - Constructor for class com.avcompris.util.junit.AvcMatchers
 
AvcParameterized - Class in com.avcompris.util.junit
This code has been copy/pasted from JUnit 4.7's org.junit.runners.Parameterized.
AvcParameterized(Class<?>) - Constructor for class com.avcompris.util.junit.AvcParameterized
constructor.

C

callXslTemplate(File, String, File, String...) - Static method in class com.avcompris.util.junit.XsltTestUtils
call a given template within a XSLT sheet and return its result.
callXslTemplate(File, String, Reader, String...) - Static method in class com.avcompris.util.junit.XsltTestUtils
call a given template within a XSLT sheet and return its result.
callXslTemplate(File, String, String...) - Static method in class com.avcompris.util.junit.XsltTestUtils
call a given template within a XSLT sheet and return its result.
className - Variable in class com.avcompris.util.junit.JUnitUtils.TestMethodAndClassNames
 
com.avcompris.util - package com.avcompris.util
 
com.avcompris.util.junit - package com.avcompris.util.junit
 
com.avcompris.util.reflect - package com.avcompris.util.reflect
 
contains(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.
contains(String, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.
containsFileCount(int) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on a directory.
containsFileCount(int, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on a directory.
createTmpFileFromCommentsAroundThisMethod() - Static method in class com.avcompris.util.junit.JUnitUtils
load a plain text fragment from comments in or just below the current test method.
createTmpFileFromCommentsAroundThisMethod(int) - Static method in class com.avcompris.util.junit.JUnitUtils
load a plain text fragment from comments in or just below the current test method.
createTmpFileFromCommentsAroundThisMethod(String) - Static method in class com.avcompris.util.junit.JUnitUtils
 
createTmpFileFromCommentsAroundThisMethod(String, int) - Static method in class com.avcompris.util.junit.JUnitUtils
 

D

doesntContain(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.
doesntContain(String, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.

E

eachOne(Object...) - Static method in class com.avcompris.util.junit.AvcParameterized
transform an object array into a collection of object arrays, each final object array containing only one object.
endsWith(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.
endsWith(String, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.
equalTo(int) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an integer.
equalTo(int, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an integer.
equalTo(long) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an long.
equalTo(long, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an long.
eraseWhitespaces(String) - Static method in class com.avcompris.util.junit.JvyamlTestUtils
return a String created with the content of an XML File.

F

fileContains(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on a file.
fileContains(String, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on a file.
fileDoesntContain(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on a file.
fileDoesntContain(String, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on a file.
fileDoesntExist() - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on a file.
fileDoesntExist(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on a file.
fileExists() - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on a file.
fileExists(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on a file.
forClass(Class<T>, T, boolean) - Static method in class com.avcompris.util.reflect.UseInstance
 

G

getChildren() - Method in class com.avcompris.util.junit.AvcParameterized
 
getCurrentTestMethodAndClassNames() - Static method in class com.avcompris.util.junit.JUnitUtils
find the name of the test method (annotated with @Test) currently executing, or null
getCurrentTestMethodName() - Static method in class com.avcompris.util.junit.JUnitUtils
find the name of the test method (annotated with @Test) currently executing, or null
greaterThan(int) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an integer.
greaterThan(int, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an integer.
greaterThan(long) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an long.
greaterThan(long, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an long.

I

instance - Variable in class com.avcompris.util.reflect.AbstractNonNullTest.MemberHolder
the instance to test the methods on, or null.
instanceOf(Class<?>) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an instance.
instanceOf(Class<?>, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an instance.
IOTestUtils - Class in com.avcompris.util.junit
utilities for test classes that operate on files.
IOTestUtils() - Constructor for class com.avcompris.util.junit.IOTestUtils
 
isIn(String[]) - Static method in class com.avcompris.util.junit.AvcMatchers
 
isIn(String[], String) - Static method in class com.avcompris.util.junit.AvcMatchers
 
isIn(String, Object[]) - Static method in class com.avcompris.util.junit.AvcMatchers
 
isIn(String, Object[], String) - Static method in class com.avcompris.util.junit.AvcMatchers
 
isLowerCase() - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.
isLowerCase(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.
isUpperCase() - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.
isUpperCase(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.

J

JUnitUtils - Class in com.avcompris.util.junit
 
JUnitUtils() - Constructor for class com.avcompris.util.junit.JUnitUtils
 
JUnitUtils.TestMethodAndClassNames - Class in com.avcompris.util.junit
 
JvyamlTestUtils - Class in com.avcompris.util.junit
utilities for test classes that operate on YAML files.
JvyamlTestUtils() - Constructor for class com.avcompris.util.junit.JvyamlTestUtils
 

L

lengthGreaterOrEqualThan(int) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an array's length.
lengthGreaterOrEqualThan(int, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an array's length.
lesserThan(int) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an integer.
lesserThan(int, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an integer.
lesserThan(long) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an long.
lesserThan(long, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an long.
lesserThan(String, DateTime, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an date.
lesserThan(DateTime) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an date.
loadPropertiesIfAny(String) - Static method in class com.avcompris.util.TestPropertiesUtils
Load a property file if it exists in the current ClassLoader.
loadTestPropertiesIfAny() - Static method in class com.avcompris.util.TestPropertiesUtils
Load a "test.properties" file if it exists in the current ClassLoader.
loadXmlFile(File) - Static method in class com.avcompris.util.junit.IOTestUtils
return a String created with the content of an XML File.
loadXmlFile(String) - Static method in class com.avcompris.util.junit.IOTestUtils
return a String created with the content of an XML File.

M

member - Variable in class com.avcompris.util.reflect.AbstractNonNullTest.MemberHolder
the Java method or constructor to test.
MemberHolder(Object, Member, Object...) - Constructor for class com.avcompris.util.reflect.AbstractNonNullTest.MemberHolder
constructor.
methodName - Variable in class com.avcompris.util.junit.JUnitUtils.TestMethodAndClassNames
 

N

newTmpFileNamedAfterCurrentTest(String) - Static method in class com.avcompris.util.junit.JUnitUtils
create a File object in the "target" directory with name of current test class and method.
notNullValue() - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an object.
notNullValue(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an object.
NULL_NAMES - Static variable in class com.avcompris.util.junit.JUnitUtils.TestMethodAndClassNames
 
nullValue() - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an object.
nullValue(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an object.

O

outFile - Variable in class com.avcompris.util.junit.JUnitUtils.TestMethodAndClassNames
 

P

parametersDoNotScanProject(Class<?>...) - Static method in class com.avcompris.util.reflect.AbstractLog4JLoggerTest
construct the right instance+method parameters for the @AvcParameterized test class that inherits this one, from a list of classes to test
parametersDoNotScanProject(Object...) - Static method in class com.avcompris.util.reflect.AbstractNonNullTest
construct the right instance+method parameters for the @ AvcParameterized test class that inherits this one, from a list of classes or instance objects: Classes will be tested with default instances, whereas instance objects will be tested for themselves.
parametersScanProject(Class<?>...) - Static method in class com.avcompris.util.reflect.AbstractLog4JLoggerTest
construct the right class parameters for the @AvcParameterized test class that inherits this one, from a list of classes to test.
parametersScanProject(Object...) - Static method in class com.avcompris.util.reflect.AbstractNonNullTest
construct the right instance+method parameters for the @ AvcParameterized test class that inherits this one, from a list of classes or instance objects: Classes will be tested with default instances, whereas instance objects will be tested for themselves.

R

renderSpaces(String) - Static method in class com.avcompris.util.junit.AvcFileAssert
render spaces in a String.

S

startsWith(String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.
startsWith(String, String) - Static method in class com.avcompris.util.junit.AvcMatchers
create a new constraint on an String.

T

targets - Variable in class com.avcompris.util.reflect.AbstractNonNullTest.MemberHolder
the other classes or instances to test, so we can inject them in tests.
testAllNonNullableParametersAreChecked() - Method in class com.avcompris.util.reflect.AbstractNonNullTest
 
testLog4JLoggerIsNormalized() - Method in class com.avcompris.util.reflect.AbstractLog4JLoggerTest
 
TestPropertiesUtils - Class in com.avcompris.util
Utilities for test properties that, for instance, enable to load a property files if it exists without crashing if it does not.
TestPropertiesUtils() - Constructor for class com.avcompris.util.TestPropertiesUtils
 
toString() - Method in class com.avcompris.util.reflect.AbstractLog4JLoggerTest
 
toString() - Method in class com.avcompris.util.reflect.AbstractNonNullTest
 
transform(String, String) - Static method in class com.avcompris.util.junit.JvyamlTestUtils
transform an XML via an XSLT Stylesheet.
transform(String, String, Properties) - Static method in class com.avcompris.util.junit.JvyamlTestUtils
transform an XML via an XSLT Stylesheet.

U

UseInstance - Class in com.avcompris.util.reflect
use this class when you want to explicitly declare what instance to use for a given class.

X

XsltTestUtils - Class in com.avcompris.util.junit
utilities to test against XSLT stylesheets.
XsltTestUtils() - Constructor for class com.avcompris.util.junit.XsltTestUtils
 
A C D E F G I J L M N O P R S T U X 
All Classes All Packages