8 references to LastWriteTime
Microsoft.Build.Tasks.UnitTests (8)
FileStateTests.cs (8)
44
Assert.Throws<ArgumentException>(() => { var time = state.
LastWriteTime
; });
52
delegate () { var x = new FileState(new String('x', 5000)).
LastWriteTime
; });
112
Assert.Equal(info.LastWriteTime, state.
LastWriteTime
);
240
Assert.Equal(info.LastWriteTime, state.
LastWriteTime
);
245
Assert.NotEqual(time, state.
LastWriteTime
);
247
Assert.Equal(time, state.
LastWriteTime
);
347
Assert.Equal(new FileInfo(Path.GetTempPath()).LastWriteTime, new FileState(Path.GetTempPath()).
LastWriteTime
);
369
Assert.Equal(new FileInfo(file).LastWriteTime, new FileState(file).
LastWriteTime
);