Exemple #1
0
 public void UnitInfoLog_Read_Malformed_1_UnitInfo2_Test()
 {
     Assert.Throws <FormatException>(() => UnitInfoLog.Read("..\\..\\..\\TestFiles\\Malformed_1\\unitinfo2.txt"));
 }
Exemple #2
0
 public void UnitInfoLog_Read_ArgumentException_Test2()
 {
     Assert.Throws <ArgumentException>(() => UnitInfoLog.Read(String.Empty));
 }
Exemple #3
0
 public void UnitInfoLog_Read_DirectoryNotFoundException_Test()
 {
     Assert.Throws <DirectoryNotFoundException>(() => UnitInfoLog.Read("..\\..\\..\\TestFiles\\DoesNotExist\\unitinfo.txt"));
 }
Exemple #4
0
 public void UnitInfoLog_Read_ArgumentException_Test1()
 {
     Assert.Throws <ArgumentException>(() => UnitInfoLog.Read(null));
 }