protected static void InitializeNakedObjectsFramework(AcceptanceTestCase tc)
        {
            Log.Info("test initialize " + tc.Name);
            tc.servicesCache = new Dictionary <string, ITestService>();

            tc.GetConfiguredContainer().Resolve <IReflector>().Reflect();
        }
        protected static void CleanupNakedObjectsFramework(AcceptanceTestCase tc)
        {
            Log.Info("test cleanup " + tc.Name);
            Log.Info("cleanup " + tc.Name);

            tc.servicesCache.Clear();
            tc.servicesCache     = null;
            tc.testObjectFactory = null;
        }
Пример #3
0
 protected static void CleanupNakedObjectsFramework(AcceptanceTestCase tc)
 {
     tc.servicesCache.Clear();
     tc.servicesCache     = null;
     tc.testObjectFactory = null;
 }