Exemple #1
0
        /// <summary>
        /// Executed before each test method is run. Override in subclasses to do subclass
        /// set up. Remember to call base.SetUp().
        /// NOTE: The [SetUp] attribute cannot be used in subclasses because it is already
        /// in use.
        /// </summary>
        protected virtual void SetUp()
        {
            RamoneConfiguration.Reset();
            AtomInitializer.Initialize();
            HtmlInitializer.Initialize();

            // Create a new session for each test
            Session = TestService.NewSession();
        }
Exemple #2
0
 /// <summary>
 /// Executed before each test method is run. Override in subclasses to do subclass
 /// set up. Remember to call base.SetUp().
 /// NOTE: The [SetUp] attribute cannot be used in subclasses because it is already
 /// in use.
 /// </summary>
 protected virtual void SetUp()
 {
     RamoneConfiguration.Reset();
     // Create a new session for each test
     Session = TestService.NewSession();
 }