Beispiel #1
0
 public void Setup()
 {
     ClassDef.ClassDefs.Clear();
     BOWithIntID.LoadClassDefWithIntID();
     FixtureEnvironment.SetupInMemoryDataAccessor();
     FixtureEnvironment.SetupNewIsolatedBusinessObjectManager();
 }
Beispiel #2
0
 public void SetupTest()
 {
     //Runs every time that any testmethod is executed
     ClassDef.ClassDefs.Clear();
     FixtureEnvironment.SetupNewIsolatedBusinessObjectManager();
     BORegistry.DataAccessor = new DataAccessorDB();
 }
 public void Setup()
 {
     FixtureEnvironment.SetupNewIsolatedBusinessObjectManager();
     ClassDef.ClassDefs.Clear();
     BORegistry.DataAccessor = new DataAccessorDB();
     FixtureEnvironment.ClearBusinessObjectManager();
     TestUtil.WaitForGC();
     _originalBusinessObjectManager = BORegistry.BusinessObjectManager;
 }
        public void SetupTestFixture()
        {
            FixtureEnvironment.SetupNewIsolatedBusinessObjectManager();


            string dataFileDirectoryName = Path.GetDirectoryName(_dataFileName);

            if (!Directory.Exists(dataFileDirectoryName))
            {
                Directory.CreateDirectory(dataFileDirectoryName);
            }
        }
 public override void SetupTest()
 {
     ClassDef.ClassDefs.Clear();
     FixtureEnvironment.SetupNewIsolatedBusinessObjectManager();
     ContactPersonTestBO.DeleteAllContactPeople();
 }
Beispiel #6
0
 public void TearDownTest()
 {
     FixtureEnvironment.SetupNewIsolatedBusinessObjectManager();
 }
 public void SetupTestFixture()
 {
     SetupDBConnection();
     FixtureEnvironment.SetupNewIsolatedBusinessObjectManager();
 }