Esempio n. 1
0
        public void MyTestInitialize()
        {
            // Stop profiler if we are profiling.  The unit test will start profiling explicitly when it wants to.
            DotTraceProfile.Stop(true);

//            var log = new Log<AbstractUnitTest>();
//            log.Info(TestContext.TestName + " started");

            Settings.Init();

            // ReSharper disable once UnusedVariable
            var dummy = TestSmallMolecules; // First access turns on the non-proteomic test node behavior if needed

            STOPWATCH.Restart();
            Initialize();
        }
Esempio n. 2
0
        public void MyTestInitialize()
        {
            // Stop profiler if we are profiling.  The unit test will start profiling explicitly when it wants to.
            DotTraceProfile.Stop(true);

            SecurityProtocolInitializer.Initialize(); // Enable maximum available HTTPS security level, esp. for Chorus

//            var log = new Log<AbstractUnitTest>();
//            log.Info(TestContext.TestName + " started");

            Settings.Init();

            TestSmallMolecules = GetBoolValue("TestSmallMolecules", false);

            STOPWATCH.Restart();
            Initialize();
        }
Esempio n. 3
0
        public void MyTestInitialize()
        {
            Program.UnitTest = true;

            // Stop profiler if we are profiling.  The unit test will start profiling explicitly when it wants to.
            DotTraceProfile.Stop(true);

            SecurityProtocolInitializer.Initialize(); // Enable maximum available HTTPS security level

//            var log = new Log<AbstractUnitTest>();
//            log.Info(TestContext.TestName + " started");

            Settings.Init();

            STOPWATCH.Restart();
            Initialize();
        }