예제 #1
0
        public override void Initialize(NfsTestCase testCase)
        {
            StdTestCase standardTestCase = (StdTestCase)testCase;

            SpringBootstrapper.Bootstrap();
            standardTestCase.Ctx = SpringBootstrapper.Ctx;
        }
예제 #2
0
        public void TestBootstrap()
        {
            SpringBootstrapper bootstrapper = BootstrapperFactory.NewSpringBootstrapper(LoggerSetter);

            LoggerSetter.Bootstrap();
            Assert.IsFalse(bootstrapper.IsDone);
            bootstrapper.Bootstrap();
            Assert.IsTrue(bootstrapper.IsDone);
            Assert.IsNotNull(bootstrapper.Ctx);
        }