| org.apache.ojb.junit.PBTestCase org.apache.ojb.broker.M2NTest
M2NTest | public class M2NTest extends PBTestCase (Code) | | Test (non-decomposed) M:N relations.
IMPORTANT NOTE: The global runtime metadata changes made by this test case
are NOT recommended in multithreaded environments, because they are global
and each thread will be affected.
author: Armin Waibel version: $Id: M2NTest.java,v 1.7.2.11 2005/11/26 02:37:03 arminw Exp $ |
Inner Class :public static class Actor | |
Inner Class :public static interface Movie | |
Inner Class :public static class MovieImpl implements Movie | |
Inner Class :public static class Role | |
Inner Class :public static class Producer | |
Method Summary | |
public void | YYYtestStoreAddUpdateDeleteTLLF() | public void | YYYtestStoreAddUpdateDeleteTLLT() | Actor | buildActorWithMovies(String postfixId, int movieCount) | Actor | buildActorWithMovies(String postfixId) | Movie | buildMovieWithActors(String postfixId) | Movie | buildMovieWithActors(String postfixId, int actorCount) | Movie | buildMovieWithActorsAndBackReferences(String postfixId) | public void | doTestAddNewEntries() | public void | doTestStoreAddUpdateDeleteTLLX(Movie movie, String postfix) | public void | doTestStoreFFFX(Movie movie, String postfix) | public void | doTestStoreTFFX() | public void | doTestStoreTTXX() | public void | doTestStoreTTXX_2() | public void | doTestStoreUpdateTTXX() | public static void | main(String[] args) | Query | queryActor(String postfix) | Query | queryMovie(String postfix) | Query | queryRole(Actor actor, Movie movie) | Query | roleQueryActorOrMovieMatch(Actor actor, Movie movie) | public void | tearDown() | public void | testAddNewEntriesTTTF() | public void | testAddNewEntriesTTTT() | public void | testAutoUpdateDeleteSettings() | public void | testMassStoreUpdateAutomatic() | public void | testMassStoreUpdateLinking() | public void | testSimpleStore_1() | public void | testSimpleStore_2() | public void | testStoreFFFF() | public void | testStoreFFFF_2() All auto-xxx settings are false, thus expect that all thing must be
done by hand. | public void | testStoreFFFT() | public void | testStoreFFFT_2() All auto-xxx settings are false, thus expect that all thing must be
done by hand, proxy true should not affect anything. | public void | testStoreTFFF() auto-retrieve is true, other false. | public void | testStoreTFFT() auto-retrieve is true, other false. | public void | testStoreTTFF() | public void | testStoreTTFT() | public void | testStoreTTFT_2() | public void | testStoreUpdateActorTTFF() | public void | testStoreUpdateTTFF() | public void | testStoreUpdateTTFF_2() | public void | testStoreWithSharedIndirectionTableColumn() |
LINK | final static int LINK(Code) | | |
NONE | final static int NONE(Code) | | |
OBJECT | final static int OBJECT(Code) | | |
actorCount | int actorCount(Code) | | |
movieCount | int movieCount(Code) | | |
YYYtestStoreAddUpdateDeleteTLLF | public void YYYtestStoreAddUpdateDeleteTLLF()(Code) | | |
YYYtestStoreAddUpdateDeleteTLLT | public void YYYtestStoreAddUpdateDeleteTLLT()(Code) | | |
buildActorWithMovies | Actor buildActorWithMovies(String postfixId, int movieCount)(Code) | | Returns 1 movie object with 3 actor objects
|
buildActorWithMovies | Actor buildActorWithMovies(String postfixId)(Code) | | |
buildMovieWithActors | Movie buildMovieWithActors(String postfixId)(Code) | | Returns 1 movie object with 3 actor objects in actors-collection
and 2 actor objects in actors2-collection
|
buildMovieWithActors | Movie buildMovieWithActors(String postfixId, int actorCount)(Code) | | Returns 1 movie object with 3 actor objects
|
buildMovieWithActorsAndBackReferences | Movie buildMovieWithActorsAndBackReferences(String postfixId)(Code) | | Returns 1 movie object with 3 actor objects and one actor object with
back-reference to movie object + 2 new movies
|
doTestAddNewEntries | public void doTestAddNewEntries()(Code) | | |
doTestStoreAddUpdateDeleteTLLX | public void doTestStoreAddUpdateDeleteTLLX(Movie movie, String postfix)(Code) | | |
doTestStoreFFFX | public void doTestStoreFFFX(Movie movie, String postfix)(Code) | | |
doTestStoreTFFX | public void doTestStoreTFFX()(Code) | | |
doTestStoreTTXX | public void doTestStoreTTXX()(Code) | | |
doTestStoreTTXX_2 | public void doTestStoreTTXX_2()(Code) | | |
doTestStoreUpdateTTXX | public void doTestStoreUpdateTTXX()(Code) | | |
queryRole | Query queryRole(Actor actor, Movie movie)(Code) | | |
roleQueryActorOrMovieMatch | Query roleQueryActorOrMovieMatch(Actor actor, Movie movie)(Code) | | |
testAddNewEntriesTTTF | public void testAddNewEntriesTTTF()(Code) | | |
testAddNewEntriesTTTT | public void testAddNewEntriesTTTT()(Code) | | |
testAutoUpdateDeleteSettings | public void testAutoUpdateDeleteSettings()(Code) | | Test deprecated auto Settings
|
testMassStoreUpdateAutomatic | public void testMassStoreUpdateAutomatic()(Code) | | |
testMassStoreUpdateLinking | public void testMassStoreUpdateLinking()(Code) | | |
testSimpleStore_1 | public void testSimpleStore_1()(Code) | | |
testSimpleStore_2 | public void testSimpleStore_2()(Code) | | |
testStoreFFFF | public void testStoreFFFF()(Code) | | All auto-xxx settings are false, thus expect that all thing must be
done by hand
|
testStoreFFFF_2 | public void testStoreFFFF_2()(Code) | | All auto-xxx settings are false, thus expect that all thing must be
done by hand. Actors has a collection of movies too - should be ignored
in this case.
|
testStoreFFFT | public void testStoreFFFT()(Code) | | All auto-xxx settings are false, thus expect that all thing must be
done by hand, proxy true should not affect anything
|
testStoreFFFT_2 | public void testStoreFFFT_2()(Code) | | All auto-xxx settings are false, thus expect that all thing must be
done by hand, proxy true should not affect anything. Actors has a
collection of movies too - should be ignored in this case.
|
testStoreTFFF | public void testStoreTFFF()(Code) | | auto-retrieve is true, other false. proxy true/false should not affect
anything.
|
testStoreTFFT | public void testStoreTFFT()(Code) | | auto-retrieve is true, other false. proxy true/false should not affect
anything.
|
testStoreTTFF | public void testStoreTTFF()(Code) | | |
testStoreTTFT | public void testStoreTTFT()(Code) | | |
testStoreTTFT_2 | public void testStoreTTFT_2()(Code) | | movies with back-references
auto-update = OBJECT
|
testStoreUpdateActorTTFF | public void testStoreUpdateActorTTFF()(Code) | | |
testStoreUpdateTTFF | public void testStoreUpdateTTFF()(Code) | | |
testStoreUpdateTTFF_2 | public void testStoreUpdateTTFF_2()(Code) | | |
testStoreWithSharedIndirectionTableColumn | public void testStoreWithSharedIndirectionTableColumn()(Code) | | Test for OJB-76
|
|
|