Method | Description | |
---|---|---|
FileLockedByThisProcess ( ) : void |
This test needs to be run manually since it relies on a race condition and a manual code change. It's been run as part of development but it won't be run in the normal build process. This test makes sure that the OptimisticLockedTextFile.Persist() method locks the file properly while it's being written. To run this test: 1. temporarily add System.Threading.Thread.Sleep(5000); to OptimisticLockedTextFile.Persist() just after the file is opened 2. uncomment the [TestMethod] attribute on this method 3. run the test 4. REVERT YOUR CHANGES FROM STEPS 1 AND 2
|
Method | Description | |
---|---|---|
FileChanged ( ) : void | ||
FileLockedByAnotherProcess ( ) : void | ||
PersistAddsLineEnding ( ) : void | ||
PersistEmpty ( ) : void | ||
PersistLine ( ) : void | ||
PersistNewFile ( ) : void | ||
PersistTwice ( ) : void | ||
ProperTruncation ( ) : void | ||
ReadLine ( ) : void | ||
ReadMixedNewLines1 ( ) : void | ||
ReadMixedNewLines2 ( ) : void | ||
ReadMixedlines1 ( ) : void | ||
ReadMixedlines2 ( ) : void | ||
ReadMixedlines3 ( ) : void | ||
ReadMixedlines4 ( ) : void | ||
ReadUnixLine ( ) : void | ||
ReadUnixNewLine ( ) : void | ||
ReadWindowsLine ( ) : void | ||
ReadWindowsNewLine ( ) : void |