From: Richard B. <rb...@us...> - 2004-10-19 03:30:52
|
Update of /cvsroot/jcframework/Nunit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv767 Modified Files: AtomsFramework.xml Nunit_AtomsFramework.vbproj original db1.mdb Log Message: Extra tests for retrieve criteria, auto save and auto delete. Index: Nunit_AtomsFramework.vbproj =================================================================== RCS file: /cvsroot/jcframework/Nunit/Nunit_AtomsFramework.vbproj,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- Nunit_AtomsFramework.vbproj 19 Oct 2004 00:13:37 -0000 1.8 +++ Nunit_AtomsFramework.vbproj 19 Oct 2004 03:30:41 -0000 1.9 @@ -140,6 +140,16 @@ BuildAction = "Compile" /> <File + RelPath = "InheritedClasses\MultiRetrieveTestClasses.vb" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "InheritedClasses\MultiRetrieveTests.vb" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "InheritedClasses\RetrieveCriteriaTests.vb" SubType = "Code" BuildAction = "Compile" @@ -150,6 +160,11 @@ BuildAction = "Compile" /> <File + RelPath = "InheritedClasses\TableA_B.vb" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Interfaces\EmployeeInterfaceTests.vb" SubType = "Code" BuildAction = "Compile" Index: original db1.mdb =================================================================== RCS file: /cvsroot/jcframework/Nunit/original db1.mdb,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 Binary files /tmp/cvsBOphG7 and /tmp/cvsgzMoRC differ Index: AtomsFramework.xml =================================================================== RCS file: /cvsroot/jcframework/Nunit/AtomsFramework.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- AtomsFramework.xml 19 Oct 2004 00:13:37 -0000 1.6 +++ AtomsFramework.xml 19 Oct 2004 03:30:41 -0000 1.7 @@ -91,4 +91,55 @@ <entry fromAttribute="OIDValue" toAttribute="ReportsToOID"/> </association> + +<class name="mr1" table="mr1" database="MSA" namespace="NunitTests.InheritedClasses"> + <attribute name="id" column="id" key="primary"/> + <attribute name="field1" column="field1" /> + <attribute name="field2" column="field2" /> + <attribute name="mr2_id" column="mr2_id" /> + <attribute name="mr2" /> +</class> + +<class name="mr2" table="mr2" database="MSA" namespace="NunitTests.InheritedClasses"> + <attribute name="id" column="id" key="primary"/> + <attribute name="field1" column="field1" /> + <attribute name="field2" column="field2" /> + <attribute name="mr3_id" column="mr3_id" /> + <attribute name="mr3" /> +</class> + +<class name="mr3" table="mr3" database="MSA" namespace="NunitTests.InheritedClasses"> + <attribute name="id" column="id" key="primary"/> + <attribute name="field1" column="field1" /> + <attribute name="field2" column="field2" /> +</class> + + <association fromClass="NunitTests.InheritedClasses.mr1" toClass="NunitTests.InheritedClasses.mr2" target="mr2" cardinality="OneToOne" + retrieveAutomatic="false" saveAutomatic="false" deleteAutomatic="false" inverse="false" name="mr1tomr2"> + <entry fromAttribute="mr2_id" toAttribute="id"/> + </association> + + <association fromClass="NunitTests.InheritedClasses.mr2" toClass="NunitTests.InheritedClasses.mr3" target="mr3" cardinality="OneToOne" + retrieveAutomatic="false" saveAutomatic="false" deleteAutomatic="false" inverse="false" name="mr2tomr3"> + <entry fromAttribute="mr3_id" toAttribute="id"/> + </association> + + +<class name="TableA" table="tableA" database="MSA" namespace="NunitTests.InheritedClasses"> + <attribute name="Id" column="id" key="primary"/> + <attribute name="field1" column="field1" /> + <attribute name="TableBCollection" /> +</class> +<class name="TableB" table="TableB" database="MSA" namespace="NunitTests.InheritedClasses"> + <attribute name="Id" column="id" key="primary"/> + <attribute name="field1" column="field1" /> + <attribute name="AId" column="a_id" /> + <attrbute name="TableA" /> +</class> + + <association fromClass="NunitTests.InheritedClasses.TableA" toClass="NunitTests.InheritedClasses.TableB" target="TableBCollection" cardinality="OneToMany" + retrieveAutomatic="true" saveAutomatic="true" deleteAutomatic="true" inverse="false" name="AtoB"> + <entry fromAttribute="Id" toAttribute="AId"/> + </association> + </map> \ No newline at end of file |