public override void SetupTest()
 {
     base.SetupTest();
     FixtureEnvironment.ResetBORegistryBusinessObjectManager();
     TestUsingDatabase.SetupDBDataAccessor();
     OrganisationTestBO.DeleteAllOrganisations();
     ContactPersonTestBO.DeleteAllContactPeople();
 }
Beispiel #2
0
 public void TestFixtureSetup()
 {
     //Code that is executed before any test is run in this class. If multiple tests
     // are executed then it will still only be called once.
     FixtureEnvironment.SetupInMemoryDataAccessor();
     FixtureEnvironment.ResetBORegistryBusinessObjectManager();
     FixtureEnvironment.ClearBusinessObjectManager();
 }
 public void SetupTest()
 {
     ClassDef.ClassDefs.Clear();
     //Runs every time that any testmethod is executed
     //base.SetupTest();
     FixtureEnvironment.ResetBORegistryBusinessObjectManager();
     BORegistry.DataAccessor = new DataAccessorDB();
 }
 public virtual void SetupTest()
 {
     ClassDef.ClassDefs.Clear();
     SetupDataAccessor();
     FixtureEnvironment.ResetBORegistryBusinessObjectManager();
     FixtureEnvironment.ClearBusinessObjectManager();
     TestUtil.WaitForGC();
 }
Beispiel #5
0
 public void SetupTest()
 {
     //Runs every time that any testmethod is executed
     //base.SetupTest();
     ClassDef.ClassDefs.Clear();
     //new Address();
     FixtureEnvironment.ResetBORegistryBusinessObjectManager();
     FixtureEnvironment.ClearBusinessObjectManager();
 }
Beispiel #6
0
 public virtual void SetupTest()
 {
     ClassDef.ClassDefs.Clear();
     FixtureEnvironment.SetupInMemoryDataAccessor();
     FixtureEnvironment.ResetBORegistryBusinessObjectManager();
     BORegistry.BusinessObjectManager = new BusinessObjectManager();
     ContactPersonTestBO.LoadClassDefOrganisationTestBORelationship_MultipleReverse();
     OrganisationTestBO.LoadDefaultClassDef_PreventAddChild();
 }
 public void TestFixtureSetup()
 {
     ClassDef.ClassDefs.Clear();
     GlobalRegistry.UIExceptionNotifier = new RethrowingExceptionNotifier();
     FixtureEnvironment.SetupInMemoryDataAccessor();
     FixtureEnvironment.ResetBORegistryBusinessObjectManager();
     AddressTestBO.LoadDefaultClassDef();
     ContactPersonTestBO.LoadClassDefOrganisationTestBORelationship_MultipleReverse();
     OrganisationTestBO.LoadDefaultClassDef();
 }