コード例 #1
0
 public void CloseTest()
 {
     WorkstationLogger_Accessor.WriteLog("test log");
     Assert.IsTrue(WorkstationLogger_Accessor.myFile.BaseStream.CanWrite);
     WorkstationLogger_Accessor.Close();
     Assert.IsNull(WorkstationLogger_Accessor.myFile.BaseStream);
 }
コード例 #2
0
 public void WriteLogTest()
 {
     WorkstationLogger_Accessor.WriteLog("test log");
     Assert.IsTrue(WorkstationLogger_Accessor.myFile.BaseStream.CanWrite);
 }