A C D E F G H I L M O P S U

A

assertEmpty(Collection) - Static method in class org.lambico.test.spring.EnhancedTestCase
Assert the emptyness of a Collection.
assertEquals(byte[], byte[]) - Static method in class org.lambico.test.spring.EnhancedTestCase
Assert equality between two arrays of bytes.
assertEquals(String, byte[], byte[]) - Static method in class org.lambico.test.spring.EnhancedTestCase
Assert equality between two arrays of bytes.
assertEquals(double[], double[]) - Static method in class org.lambico.test.spring.EnhancedTestCase
Assert equality between two arrays of doubles.
assertEquals(String, double[], double[]) - Static method in class org.lambico.test.spring.EnhancedTestCase
Assert equality between two arrays of doubles.
assertEqualsIgnoreCase(String, String) - Static method in class org.lambico.test.spring.EnhancedTestCase
Assert equality of two strings, ignoring the case.
assertNotEmpty(String, Collection) - Static method in class org.lambico.test.spring.EnhancedTestCase
Assert the not emptyness of a Collection.
assertNotEmpty(Collection) - Static method in class org.lambico.test.spring.EnhancedTestCase
Assert the not emptyness of a Collection.
assertNotEmpty(String, Object[]) - Static method in class org.lambico.test.spring.EnhancedTestCase
Assert the not emptyness of an array of Objects.
assertNotEmpty(Object[]) - Static method in class org.lambico.test.spring.EnhancedTestCase
Assert the not emptyness of an array of Objects.
assertSize(int, Collection) - Static method in class org.lambico.test.spring.EnhancedTestCase
Assert the size of a Collection.

C

convertToNameValueList(Map) - Static method in class org.lambico.test.spring.Utils
Converts a map in a list of name/value pairs.
convertToNameValueList(Map, boolean) - Static method in class org.lambico.test.spring.Utils
Converts a map in a list of name/value pairs.

D

daoMap - Variable in class org.lambico.test.spring.hibernate.DBTest
The map of DAOs.
DaoUtils - Class in org.lambico.test.spring.hibernate
Utils for the DAO tools.
DBTest - Class in org.lambico.test.spring.hibernate
A base class for tests that populate the DB with the fixture data.
DBTest() - Constructor for class org.lambico.test.spring.hibernate.DBTest
 
doSend(MimeMessage[], Object[]) - Method in class org.lambico.test.spring.MailSenderMock

E

endTransaction() - Method in class org.lambico.test.spring.hibernate.DBTest
At the end of the test the method endTransaction call a rollback for the transaction although a explicit rollback call is did.
EnhancedTestCase - Class in org.lambico.test.spring
Adds useful assertions to the standard JUnit TestCase.
EnhancedTestCase() - Constructor for class org.lambico.test.spring.EnhancedTestCase
 
eraseDbForModel(Class, GenericDaoBase) - Static method in class org.lambico.test.spring.hibernate.FixtureHelper
Erase the DB for a model.

F

FixtureHelper - Class in org.lambico.test.spring.hibernate
 
FixtureHelper() - Constructor for class org.lambico.test.spring.hibernate.FixtureHelper
A default protected constructor.
fixtures - Variable in class org.lambico.test.spring.hibernate.DBTest
The fixtures.

G

getConfigLocations() - Method in class org.lambico.test.spring.hibernate.DBTest
 
getDaoFor(Class, ListableBeanFactory) - Static method in class org.lambico.test.spring.hibernate.DaoUtils
Get the DAO for the specific entity class type.
getDaos(ListableBeanFactory) - Static method in class org.lambico.test.spring.hibernate.DaoUtils
Return a map of DAOs from a bean container.
getFixtureBusinessDaoId(Class) - Static method in class org.lambico.test.spring.hibernate.FixtureHelper
Gets id of dao related to a model.
getFixtureClasses() - Method in class org.lambico.test.spring.hibernate.DBTest
Returns a reverse-ordered array of the models that need to be loaded.
getFixtureClassSet() - Method in class org.lambico.test.spring.hibernate.DBTest
Returns a set of the models that need to be loaded.
getFixtureDaoId(Class) - Static method in class org.lambico.test.spring.hibernate.FixtureHelper
Gets id of dao related to a model.
getFixtureFileName(Class) - Static method in class org.lambico.test.spring.hibernate.FixtureHelper
Gets file name of a fixture fragment related to a model.
getModelName(Class) - Static method in class org.lambico.test.spring.hibernate.FixtureHelper
Gets human readable name of a model.
getReverseOrderFixtureClasses() - Method in class org.lambico.test.spring.hibernate.DBTest
Returns a reverse-ordered array of the models that need to be loaded.

H

hasUTF8preamble(byte[]) - Static method in class org.lambico.test.spring.Utils
Checks if the array starts with the UTF-8 preamble.
hasUTF8preamble(String) - Static method in class org.lambico.test.spring.Utils
Checks if the string starts with the UTF-8 preamble.

I

isDao(Object) - Static method in class org.lambico.test.spring.hibernate.DaoUtils
Check if an object is a DAO.
isDaoFor(Object, Class) - Static method in class org.lambico.test.spring.hibernate.DaoUtils
Check if an object is a DAO for a specific entity class.

L

loadBinary(String) - Static method in class org.lambico.test.spring.Utils
Loads a binary file from the classpath.
loadBinary(Resource) - Static method in class org.lambico.test.spring.Utils
Loads a binary file from the classpath.
loadFixturesFromResource(String, Set<Class>) - Static method in class org.lambico.test.spring.hibernate.FixtureHelper
Load the fixtures.
loadFixturesFromResource(ClassPathResource, Set<Class>) - Static method in class org.lambico.test.spring.hibernate.FixtureHelper
Load the fixtures.
loadString(String) - Static method in class org.lambico.test.spring.Utils
Loads a text file from the classpath.
loadString(Resource) - Static method in class org.lambico.test.spring.Utils
Loads a text file from the classpath.

M

MailSenderMock - Class in org.lambico.test.spring
Mock implementation of JavaMailSender for test porpouse.
MailSenderMock() - Constructor for class org.lambico.test.spring.MailSenderMock
 

O

onSetUpBeforeTransaction() - Method in class org.lambico.test.spring.hibernate.DBTest
Delete the rows from the tables, and reinsert all data.
org.lambico.test.spring - package org.lambico.test.spring
Support classes implemented with Spring.
org.lambico.test.spring.hibernate - package org.lambico.test.spring.hibernate
Test classes implemented with Spring and Hibernate support.

P

populateDbForModel(Class, Object[], GenericDaoBase) - Static method in class org.lambico.test.spring.hibernate.FixtureHelper
Populate the DB with the fixtures data.
prepareTestInstance() - Method in class org.lambico.test.spring.hibernate.DBTest
 

S

sessionFactory - Variable in class org.lambico.test.spring.hibernate.DBTest
The session factory.
stripUTF8preamble(String) - Static method in class org.lambico.test.spring.Utils
Strips the UTF8 preamble, if present.
stripUTF8preamble(byte[]) - Static method in class org.lambico.test.spring.Utils
Strips the UTF8 preamble, if present.

U

uncamelize(String) - Static method in class org.lambico.test.spring.Utils
Return an array containing all the substrings of camelString, according to this rule: divide camelString into tokens with every token starting from a capital letter to another.
unsafeLoadBinary(InputStream) - Static method in class org.lambico.test.spring.Utils
Loads a binary file from a stream.
unsafeLoadString(InputStream) - Static method in class org.lambico.test.spring.Utils
Loads a text file from a stream.
Utils - Class in org.lambico.test.spring
Some utility methods.
Utils() - Constructor for class org.lambico.test.spring.Utils
A default protected constructor.

A C D E F G H I L M O P S U

Copyright © 2009-2010 Lambico Team. All Rights Reserved.