ChangeLog 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544
  1. 2004-05-31 Sebastien Pouliot <[email protected]>
  2. * FileTest.cs: Added tests to confirm that Exists never throws
  3. exceptions even for invalid filenames or for unexisting directories.
  4. * PathTest.cs: Added windows-specific tests that shows that
  5. ChangeExtension validate the input patch but doesn't validate the
  6. resulting path.
  7. 2004-05-30 Sebastien Pouliot <[email protected]>
  8. * BufferedStreamTest.cs: Added tests for Position after SetLength,
  9. SetLength after Close and Seek logic exception handling.
  10. * FileStream.cs: Added test for invalid SeekOrigin in Seek. Lots of
  11. new tests for exception handling (negatives, disposed) and test
  12. reading a byte ast the end of the stream.
  13. * MemoryStream.cs: Added test for Seek after Close.
  14. 2004-05-29 Sebastien Pouliot <[email protected]>
  15. * BinaryReader.cs: Added new cases to check exceptions thrown by Read
  16. methods.
  17. 2004-05-26 Atsushi Enomoto <[email protected]>
  18. * FileInfoTest.cs : more incorrect \ fix.
  19. 2004-05-26 Sebastien Pouliot <[email protected]>
  20. * BufferedStreamTest.cs: Added new unit tests for exceptions.
  21. * FileStreamTest.cs: Added new tests for integer overflow checks.
  22. * StringReaderTest.cs: Added new tests for integer overflow checks.
  23. 2003-05-26 Atsushi Enomoto <[email protected]>
  24. * FileInfoTest.cs : incorrect \ fix. added more cases.
  25. 2003-05-26 Atsushi Enomoto <[email protected]>
  26. * FileInfoTest.cs : added tests for ToString().
  27. 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
  28. * DirectoryTest.cs: added test from bug 58875.
  29. 2004-05-24 Sebastien Pouliot <[email protected]>
  30. * MemoryStreamTest.cs: Test that we zeroize old data when we manipulate
  31. the length of the stream. Verify that we throw the same exceptions as
  32. MS fx.
  33. * StreamReaderTest.cs: New tests for integer overflow and null handling
  34. * StreamWriterTest.cs: New tests for integer overflow, disposed
  35. exceptions and null handling.
  36. * StringWriterTest.cs: New tests for integer overflow and disposed
  37. exceptions.
  38. 2004-05-20 Sebastien Pouliot <[email protected]>
  39. * MemoryStream.cs: SetUp is now public (required for new nunit).
  40. 2004-05-20 Jackson Harper <[email protected]>
  41. * DirectoryInfoTest.cs: Add test for CreateSubdirectory.
  42. 2004-04-12 David Sheldon <[email protected]>
  43. * BinaryReaderTest.cs: Changed series of bytes in
  44. ReadDecimal to be a cleaner representation of a real
  45. decimal, as was not a technically correct decimal.
  46. 2004-04-01 Lluis Sanchez Gual <[email protected]>
  47. * BufferedStreamTest.cs: Added test for Position.
  48. 2003-04-03 Atsushi Enomoto <[email protected]>
  49. * PathTest.cs : Added more patterns on TestChangeExtension().
  50. 2004-02-16 Jackson Harper <[email protected]>
  51. * FileTest.cs: We do not need to convert to local time because we
  52. are getting creation time, not utc time.
  53. 2004-01-31 David Sheldon <[email protected]>
  54. * FileSystemInfoTest.cs: Added code to skip CreationTime tests
  55. on Unix, as it doesn't support them.
  56. 2004-01-31 David Sheldon <[email protected]>
  57. * FileSystemInfoTest.cs: Change tests for default times to
  58. be TimeZone agnostic by conversion to universal time before
  59. testing.
  60. 2004-01-22 David Sheldon <[email protected]>
  61. * FileStreamTest.cs: CtorArgumentOutOfRangeException4, we were
  62. testing for this ecveption, but the other parameters were also
  63. invalid. Made them correct. We don't care that MS throw
  64. exceptions in a different order do we?
  65. 2004-01-22 David Sheldon <[email protected]>
  66. * DirectoryTest.cs: Added Ignore to the CreationTime tests,
  67. as Unix filesystems don't support them. Should we only ignore
  68. them on Unix?
  69. 2004-01-20 Gonzalo Paniagua Javier <[email protected]>
  70. * PathTest.cs: added some unix-only tests for GetFullPath.
  71. 2004-01-20 Gonzalo Paniagua Javier <[email protected]>
  72. * PathTest.cs: a couple of tests for bugs.
  73. 2003-01-06 Atsushi Enomoto <[email protected]>
  74. * DirectoryTest.cs : remoed incorrect args.
  75. 2003-12-25 Atsushi Enomoto <[email protected]>
  76. * PathTest.cs : On Unix, "Z:" can be valid local file.
  77. And cosmetic character case fix.
  78. 2003-12-19 Nick Drochak <[email protected]>
  79. * PathTest.cs: Make tests pass on .NET 1.1. Probably still
  80. need to handle different directory and volume separators for
  81. other OS's.
  82. 2003-12-17 Atsushi Enomoto <[email protected]>
  83. * PathTest.cs :
  84. Added more GetPathRoot and GetFullPath tests for windows.
  85. Fixed incorrectly specified arguments in the previous patch.
  86. 2003-12-17 Atsushi Enomoto <[email protected]>
  87. * PathTest.cs : Added more tests for IsPathRooted, HasExtension
  88. and GetExtension.
  89. 2003-12-17 Atsushi Enomoto <[email protected]>
  90. * DirectoryTests.cs : Added some SetCurrentDirectory tests.
  91. 2003-12-17 Nick Drochak <[email protected]>
  92. * FileStreamTest.cs: Ok, it wasn't a 1.1 thing. The test simply would
  93. fail randomly because location 12 was sometimes a file handle.
  94. 2003-12-16 Nick Drochak <[email protected]>
  95. * FileStreamTest.cs: Exception not thrown in .NET 1.1.
  96. And Happy Birthday to Me!
  97. 2003-11-15 Gonzalo Paniagua Javier <[email protected]>
  98. * StringReaderTest.cs: added test from bug #51020.
  99. 2003-10-21 Nick Drochak <[email protected]>
  100. * BufferedSTreamTest.cs: Make TearDown smarter about possible
  101. null member value.
  102. 2003-07-10 Gonzalo Paniagua Javier <[email protected]>
  103. * MemoryStreamTest.cs: added a couple of tests for WriteByte.
  104. 2003-06-30 Zoltan Varga <[email protected]>
  105. * FileStreamTest.cs: New tests for flushing when disposed and zero
  106. buffer size.
  107. 2003-06-18 Nick Drochak <[email protected]>
  108. * FileSystemInfoTest.cs: Simplify a bit.
  109. 2003-06-18 Nick Drochak <[email protected]>
  110. * FileSystemInfoTest.cs: Works on .NET 1.1 now. If these values are
  111. different on 1.0 then we need to wrap with a #if NET_1_1.
  112. 2003-06-12 Zoltan Varga <[email protected]>
  113. * FileStreamTest.cs: New tests for recently fixed bugs.
  114. 2003-06-08 Ville Palo <[email protected]>
  115. * BinaryWriterTest.cs:
  116. * BinaryReaderTest.cs:
  117. * DirectoryTest.cs:
  118. * FileTest.cs: now works with ms.net, clean ups, nunit2, ...
  119. 2003-05-29 Nick Drochak <[email protected]>
  120. * ms_run_test.sh: added .NET verion of helper script
  121. * BinaryReaderTest.cs: fix my oversight
  122. * BinaryWriterTest.cs: cleanups
  123. * BufferedStreamTest.cs: cleanups
  124. * DirectoryInfoTest.cs: cleanups
  125. * DirectoryTest.cs: cleanups
  126. * FileStreamTest.cs: cleanups
  127. 2003-05-29 Nick Drochak <[email protected]>
  128. * BinaryReaderTest.cs:
  129. * BinaryWriterTest.cs:
  130. * DirectoryInfoTest.cs:
  131. * DirectoryTest.cs:
  132. * FileInfoTest.cs:
  133. * FileStreamTest.cs:
  134. * FileSystemInfoTest.cs: Stop throwing exceptions on windows, and sub-
  135. class from Assertion for brevity.
  136. 2003-05-22 Ben Maurer <[email protected]>
  137. StringWriterTest.cs: Added tests from bug #43431 (by Ian MacLean).
  138. 2003-05-22 Nick Drochak <[email protected]>
  139. * StreamReaderTest.cs:
  140. * StreamWriterTest.cs: Forgot nunit v2 TestFixture attribute
  141. 2003-05-22 Zoltan Varga <[email protected]>
  142. * FileTest.cs: Added tests for moving directories.
  143. 2003-05-20 Nick Drochak <[email protected]>
  144. * FileTest.cs:
  145. * StreamReaderTest.cs:
  146. * StreamWriterTest.cs: Workaround for process holding on to directory
  147. that prevented cleanup and deletion.
  148. 2003-05-19 Ville Palo <[email protected]>
  149. * DirectoryTest.cs: Added tests for GetDirectories() and
  150. GetFiles ()
  151. 2003-05-18 Ben Maurer <[email protected]>
  152. * *.cs Cleaned up tests to work around bug that prevented
  153. System.IO from seeing directories starting with '.'
  154. 2003-05-15 Ville Palo <[email protected]>
  155. * FileStreamTest.cs: more cleaning
  156. 2003-05-15 Ville Palo <[email protected]>
  157. * StreamReaderTest.cs:
  158. * StreamWriterTest.cs: now use temp-dir
  159. 2003-05-15 Ville Palo <[email protected]>
  160. * BinaryReaderTest.cs:
  161. * BinaryWriterTest.cs:
  162. * BufferedStreamTest.cs:
  163. * DirectoryInfoTest.cs:
  164. * DirectoryTest.cs:
  165. * FileInfoTest.cs:
  166. * FileSystemInfoTest.cs: clean up, now use temp-dir
  167. 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
  168. * PathTest.cs: added test for GetFullPath (".") and ".."
  169. 2003-05-13 Ville Palo <[email protected]>
  170. * FileStreamTest.cs:
  171. * FileTest.cs: Clean up. Now use temp directory. also some nunit2
  172. changes
  173. 2003-05-98 Ville Palo <[email protected]>
  174. * FileSystemInfoTest.cs; new file
  175. 2003-05-07 Ben Maurer <[email protected]>
  176. * PathTest.cs
  177. Even more GetFullPath () tests. Includes UNC tests.
  178. 2003-05-06 Ville Palo <[email protected]>
  179. * DirectoryInfoTest.cs: Removed OS-specific test
  180. 2003-05-06 Ville Palo <[email protected]>
  181. * DirectoryTest: Fixed Utc errors
  182. * FileTest: Fixes Utc errors. Now these tests works in other
  183. timezones too.
  184. 2003-05-04 Ben Maurer <[email protected]>
  185. * PathTest.cs
  186. Added new tests for GetFullPath () that include a path with
  187. . and ..
  188. 2003-05-05 Ville Palo <[email protected]>
  189. * DirectoryInfoTest.cs: new file.
  190. 2003-05-04 Ville Palo <[email protected]>
  191. * FileInfoTest.cs: new file.
  192. * FileStreamTest.cs: new tests for Seek ()
  193. 2003-04-29 Ville Palo <[email protected]>
  194. * FileStreamTest.cs: Tests for Flush() adn one one more test for
  195. Ctor exceptions
  196. 2003-04-25 Ville Palo <[email protected]>
  197. * FileTest.cs: more tests..
  198. 2003-04-24 Ville Palo <[email protected]>
  199. * FileTest.cs: Fixed tests and added some.
  200. 2003-04-22 Ville Palo <[email protected]>
  201. * FileTest.cs: More tests.
  202. 2003-04-21 Ville Palo <[email protected]>
  203. * DirectoryTest.cs: lots of new tests. and some fixes and clean ups
  204. 2003-04-20 Miguel de Icaza <[email protected]>
  205. * StringReaderTest.cs: Update test to include read-past-the-end
  206. 2003-04-20 Ville Palo <[email protected]>
  207. * DirectoryTest.cs: new file
  208. 2003-04-16 Ville Palo <[email protected]>
  209. * BufferedStreamTest.cs: new file
  210. 2003-04-14 Ville Palo <[email protected]>
  211. * BinaryWriterTest.cs: Added new file.
  212. 2003-04-13 Ville Palo <[email protected]>
  213. * BinaryReaderTest.cs: Added lots of tests. Somehow I missed that
  214. there are already testcases for BinaryStreamReader :/
  215. 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
  216. * FileStreamTest.cs: added more tests by Gert Driesen
  217. ([email protected]).
  218. 2003-04-12 Ville Palo <[email protected]>
  219. * FileStreamTest.cs More tests.
  220. 2003-04-11 Ville Palo <[email protected]>
  221. * FileStreamTest.cs: File Added and some tests in it.
  222. 2003-04-11 Ville Palo <[email protected]>
  223. * StringReaderTest.cs: Tests for close and some exceptions
  224. 2003-04-11 Ville Palo <[email protected]>
  225. * StringWriterTest.cs: Added some Exception tests.
  226. 2003-04-10 Ville Palo <[email protected]>
  227. * StringWriterTest.cs: Added couple of tests.
  228. 2003-04-05 Nick Drochak <[email protected]>
  229. * PathTest.cs: Use nunit2 convention for exception test.
  230. 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
  231. * StreamReaderTest.cs: added test for exception when the nase stream is
  232. closed. Make the reader.CurrentEncoding test work.
  233. 2003-03-05 Dick Porter <[email protected]>
  234. * MemoryStreamTest.cs: Some more tests
  235. 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
  236. * MemoryStreamTest.cs: some nunit2 love. Added a bunch of new tests.
  237. 2003-02-05 Nick Drochak <[email protected]>
  238. * FileTest.cs: Have setup remove files before testing as well in case
  239. tests were interrupted before TearDown could be called in a previous
  240. run. Also test for specific exception in TestGetCreationTime ().
  241. 2003-01-28 Zoltan Varga <[email protected]>
  242. * FileTest.cs: Added tests for GetCreationTime.
  243. 2002-12-21 Nick Drochak <[email protected]>
  244. * all: make tests build and run under nunit2
  245. 2002-09-24 Gonzalo Paniagua Javier <[email protected]>
  246. * PathTest.cs: added test for null argument in IsPathRooted.
  247. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  248. * BinaryReaderTest.cs: added more tests.
  249. Patch from Eduardo García Cebollero ([email protected]).
  250. 2002-09-19 Nick Drochak <[email protected]>
  251. * StreamReaderTest.cs: Pinpoint error closing streams
  252. 2002-09-10 Gonzalo Paniagua Javier <[email protected]>
  253. * FileTest.cs: don't leave AFile.txt open.
  254. 2002-09-08 Nick Drochak <[email protected]>
  255. * PathTest.cs (TestCombine): XP puts it's system root in WINDOWS not
  256. WINNT.
  257. 2002-09-04 Gonzalo Paniagua Javier <[email protected]>
  258. * PathTest.cs: some fixes to make it work also on unix.
  259. 2002-08-30 Nick Drochak <[email protected]>
  260. * PathTest.cs (TestGetPathRoot): Don't assume current directory will
  261. be on the C: drive (mine wasn't).
  262. 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
  263. * PathTest.cs: improved.
  264. 2002-08-26 Nick Drochak <[email protected]>
  265. * BinaryReaderTest.cs: Closing the stream twice doesn not throw any
  266. exceptions on .NET.
  267. 2002-08-17 Eduardo Garcia Cebollero <[email protected]>
  268. * AllTests.cs: added BinaryReaderTest.Suite.
  269. * BinaryReaderTest.cs: New file.
  270. 2002-06-12 Nick Drochak <[email protected]>
  271. * StringReaderTest.cs: Regression test for a bug that we had were
  272. ReadLine() was not returning null when the string ended with newline.
  273. 2002-05-15 Nick Drochak <[email protected]>
  274. * StreamReaderTest.cs:
  275. * StreamWriterTest.cs:
  276. Make sure invalid file name has invalid characters in it. These are
  277. platform dependant.
  278. 2002-05-14 Nick Drochak <[email protected]>
  279. * FileTest.cs: Delete temporary files after each test method; Catch
  280. unexpected exceptions and report them; Make some Assert messages
  281. unique; Make sure temp files exist before trying Move and Delete, etc.
  282. 2002-05-13 Mike Gray <[email protected]>
  283. * FileTest.cs: Adding better tests for File.Delete, File.Move
  284. 2002-05-12 Mike Gray <[email protected]>
  285. * FileTest.cs: Adding better tests for File.Exists, File.Create,
  286. and File.Copy
  287. 2002-05-12 Nick Drochak <[email protected]>
  288. * StringTest.cs: Add a couple more tests.
  289. * PathTest.cs: Make tests work a bit better on W32 and Linux.
  290. 2002/05/10 Nick Drochak <[email protected]>
  291. * StreamWriterTest.cs: Use "resources" directory and use OS friendly
  292. directory separator characters. This makes the tests run correctly
  293. against MS.NET, but not yet in mono on Linux.
  294. 2002/05/08 Nick Drochak <[email protected]>
  295. * FileTest.cs: Use "resources" directory and use OS friendly
  296. directory separator characters. This makes the tests run correctly
  297. against MS.NET, but not yet in mono on Linux.
  298. 2002-05-08 Nick Drochak <[email protected]>
  299. * StreamWriter.cs: Wrap a try-catch around block of code to find out
  300. what exception is being thrown when it shouldn't.
  301. 2002-05-07 Nick Drochak <[email protected]>
  302. * FileTest.cs: Added TestOpen() from Mike Gray.
  303. * AllTests.cs: Added missing FileTest.Suite as pointed out by Mike
  304. as well.
  305. 2002-05-05 Nick Drochak <[email protected]>
  306. * StreamReaderTest.cs: Change location of sample file. In some places,
  307. use memory stream instead of file stream to eliminate reliance on file
  308. io for now. That area is still a bit immature. Added a bunch of
  309. markers to tell where errors were occuring.
  310. * resources: New directory to hold files open/read, etc. by unit
  311. tests.
  312. 2002-05-01 Nick Drochak <[email protected]>
  313. * StreamReaderTest.cs:
  314. * StreamWriterTest.cs: Catch and display exception info where it wasn't
  315. being caught before.
  316. 2002-03-02 Jason Diamond <[email protected]>
  317. * StringReader.cs: Added test for peeking and reading at the end of
  318. a string.
  319. 2002-02-28 Nick Drochak <[email protected]>
  320. * MemoryStreamTest.cs
  321. * StreamWriterTest.cs
  322. * StringReaderTest.cs: Fix test bugs found by running against mscorlib.
  323. AssertEquals() requires the expected and atual values to be the same
  324. type if they are to be considered equal.
  325. 2002-02-05 Duncan Mak <[email protected]>
  326. * FileTest.cs: Added to CVS. However, this portion of the code
  327. can't be tested right now.
  328. 2002-01-20 Nick Drochak <[email protected]>
  329. * AllTests.cs: removed duplicate MemoryStream test
  330. * MemoryStreamTest.cs: wrapped try-catch blocks around read/write/seek
  331. tests. These were throwing exceptions that NUnit wasn't catching. I
  332. don't think it used to behave this way before .NET.1.0.
  333. 2003-05-04 Ben Maurer <[email protected]>
  334. * Path.cs
  335. (CanonicalizePath) Added optimizations per Miguel's requests.