Exemplo n.º 1
0
 public void TestConstructorReportingSession()
 {
     string group = "Group";
     ReportManager rm = new ReportManager(_env);
     ReportingSession testReportingSession = new ReportingSession(group, rm);
     Assert.IsNotNull(testReportingSession, "Constructor of type, ReportingSession failed to create instance.");
     Assert.AreEqual(false, testReportingSession.IsReadOnly, "IsReadOnly is unexpected value.");
     Assert.AreEqual(group, testReportingSession.Group, "Group is unexpected value.");
     Assert.AreEqual(0, testReportingSession.Count, "Count is unexpected value.");
 }
Exemplo n.º 2
0
 public void TearDown()
 {
     _unitUnderTest = null;
 }
Exemplo n.º 3
0
 public void TestConstructorReportManager()
 {
     ReportManager testReportManager = new ReportManager(_env);
     Assert.IsNotNull(testReportManager, "Constructor of type, ReportManager failed to create instance.");
     Assert.AreEqual(_env, testReportManager.Environment, "Environment is unexpected value.");
 }
Exemplo n.º 4
0
 public void SetUp()
 {
     _env = new ApplicationEnvironment();
     _unitUnderTest = new ReportManager(_env);
 }
Exemplo n.º 5
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());
 }