Ejemplo n.º 1
0
        public override void Initialize(NfsTestCase testCase)
        {
            StdTestCase standardTestCase = (StdTestCase)testCase;

            SpringBootstrapper.Bootstrap();
            standardTestCase.Ctx = SpringBootstrapper.Ctx;
        }
Ejemplo n.º 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);
        }