예제 #1
0
 public void TestConstructorConsoleManager()
 {
     ConsoleManager testConsoleManager = new ConsoleManager(_env);
     Assert.IsNotNull(testConsoleManager, "Constructor of type, ConsoleManager failed to create instance.");
     Assert.AreEqual(_env, testConsoleManager.Environment, "Environment is unexpected value.");
     Assert.AreEqual(Encoding.UTF8, testConsoleManager.Encoding, "Encoding is unexpected value.");
 }
예제 #2
0
 public void SetUp()
 {
     _env = new ApplicationEnvironment();
     _unitUnderTest = new ConsoleManager(_env);
 }
예제 #3
0
 public void TearDown()
 {
     _unitUnderTest = null;
 }
예제 #4
0
 /// <summary>
 /// Constructors
 /// </summary>
 public ApplicationEnvironment()
 {
     m_dManager = new DataManager(this);
     m_lManager = new LogManager(this);
     m_gManager = new LoggerManager(this);
     m_pManager = new PluginManager(this);
     m_aManager = new ActionManager(this);
     m_jManager = new JobManager(this);
     m_rManager = new ReportManager(this);
     m_cManager = new CommandManager(this);
     m_console = new ConsoleManager(this);
     m_dmManager = new DMDescriptorKeeper(Util.GetDMDirs());
 }