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