You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -1,61 +0,0 @@
|
||||
2010-07-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* RegistryKeyTest.cs: New tests for volatile keys.
|
||||
|
||||
2008-02-01 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* RegistryKeyTest.cs: Added tests for max length of subkey and value
|
||||
names. Improved existing argument check tests. Renamed existing
|
||||
SetValue tests, and added simple tests for overload introduced in
|
||||
.NET 2.0.
|
||||
|
||||
2007-11-07 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* RegistryKeyTest.cs : enabled bug #322839 test.
|
||||
|
||||
2007-10-14 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* RegistryKeyTest.cs: Added test for bug #322839.
|
||||
|
||||
2007-08-30 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* RegistryKeyTest.cs: Improve SetValue tests to ensure values are
|
||||
persisted properly on Linux, since the unix implementation performs
|
||||
caching.
|
||||
|
||||
2006-09-03 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* RegistryKeyTest.cs: Added RunningOnUnix property that is used
|
||||
to skip tests that only need to be run on Windows. Added tests Close
|
||||
tests for local/remote registry hives and keys. Added tests for
|
||||
OpenRemoteBaseKey (Windows only).
|
||||
|
||||
2006-08-23 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* RegistryKeyTest.cs: Modified GetValueNamesTest and GetSubKeyNamesTest
|
||||
to verify whether the buffer is cleared while iterating over values
|
||||
and keys.
|
||||
|
||||
2006-08-20 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* RegistryKeyTest.cs: Added test for expanding environment variables.
|
||||
|
||||
2006-08-14 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* RegistryKeyTest.cs: Added large batch of tests.
|
||||
|
||||
2006-05-28 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* RegistryKeyTest.cs: Added test for bug #78519.
|
||||
|
||||
2006-04-20 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* RegistryKeyTest.cs: Added tests for bug #78132.
|
||||
|
||||
2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* RegistryKeyTest.cs: Added tests for OpenSubKey and CreateSubKey.
|
||||
|
||||
2006-01-14 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* RegistryKeyTest.cs: Added unit test for bug #77212.
|
||||
@@ -1,63 +0,0 @@
|
||||
2010-06-03 Jérémie Laval <jeremie.laval@gmail.com>
|
||||
|
||||
* CollectionStressTestHelper.cs: Bump remove test repeat to 1000.
|
||||
Use a local variable for tracking status and only update the global one
|
||||
at the end.
|
||||
|
||||
2010-03-24 Jérémie Laval <jeremie.laval@gmail.com>
|
||||
|
||||
* ConcurrentDictionaryTests.cs: Renaming in Assert
|
||||
|
||||
2010-03-24 Jérémie Laval <jeremie.laval@gmail.com>
|
||||
|
||||
* ConcurrentDictionaryTests.cs: Update behavior of TryAddDuplicateTest
|
||||
The method returns false and doesn't throw exception anymore
|
||||
|
||||
2010-02-02 Jérémie Laval <jeremie.laval@gmail.com>
|
||||
|
||||
* CollectionStressTestHelper.cs:
|
||||
* ConcurrentBagTests.cs:
|
||||
* ConcurrentDictionaryTests.cs:
|
||||
* ConcurrentQueueTests.cs:
|
||||
* ConcurrentSkipListTests.cs:
|
||||
* ConcurrentStackTests.cs:
|
||||
* ParallelConcurrentQueueTests.cs:
|
||||
* ParallelConcurrentStackTests.cs: Update namespaces and tested methods
|
||||
|
||||
2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
|
||||
|
||||
* BlockingCollectionTests.cs: Moved file.
|
||||
|
||||
2009-08-05 Jérémie Laval <jeremie.laval@gmail.com>
|
||||
|
||||
* ConcurrentDictionaryTests.cs: Re-enable ConcurrentDictionary unit
|
||||
tests.
|
||||
|
||||
2009-08-04 Raja R Harinath <harinath@hurrynot.org>
|
||||
|
||||
* ParallelConcurrentQueueTests.cs (CountTestCase): Remove call to
|
||||
internal method.
|
||||
|
||||
2009-07-31 Jérémie Laval <jeremie.laval@gmail.com>
|
||||
|
||||
* ConcurrentDictionary: Ignore tests until runtime/compiler
|
||||
is fixed
|
||||
|
||||
2009-07-31 Jérémie Laval <jeremie.laval@gmail.com>
|
||||
|
||||
* ConcurrentDictionary.cs:
|
||||
* ConcurrentQueue.cs: Adapt test to new API
|
||||
|
||||
2009-07-27 Jérémie Laval <jeremie.laval@gmail.com>
|
||||
|
||||
* BlockingCollectionTests.cs:
|
||||
* CollectionStressTestHelper.cs:
|
||||
* ConcurrentBagTests.cs:
|
||||
* ConcurrentDictionaryTests.cs:
|
||||
* ConcurrentQueueTests.cs:
|
||||
* ConcurrentSkipListTests.cs:
|
||||
* ConcurrentStackTests.cs:
|
||||
* ParallelConcurrentQueueTests.cs:
|
||||
* ParallelConcurrentStackTests.cs: ParallelFx unit tests for
|
||||
System.Collections.Concurrent namespace.
|
||||
|
||||
@@ -1,228 +0,0 @@
|
||||
2010-01-24 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* DictionaryTest.cs: Add test case for bug #474009.
|
||||
|
||||
2009-09-22 Raja R Harinath <harinath@hurrynot.org>
|
||||
|
||||
* DictionaryTest.cs (ICollectionCopyTo): Test various odd
|
||||
scenarios where .NET CopyTo does _not_ throw an exception.
|
||||
(ICollectionCopyTo_ex1..4): Ensure that ArgumentExceptions are
|
||||
thrown in appropriate cases.
|
||||
|
||||
2009-07-31 Raja R Harinath <harinath@hurrynot.org>
|
||||
|
||||
* ListTest.cs: Add a few testcases for IList interface, using null
|
||||
values with a List<int>.
|
||||
|
||||
2009-07-31 Raja R Harinath <harinath@hurrynot.org>
|
||||
|
||||
* DictionaryTest.cs (KeyEnumerator_Current): New test. Test the
|
||||
Keys slice enumerator.
|
||||
(ValueEnumerator_Current): Likewise, for the Values slice.
|
||||
|
||||
2009-07-30 Raja R Harinath <harinath@hurrynot.org>
|
||||
|
||||
* ListTest.cs (Enumerator_Current): New test, includes
|
||||
relevant parts of #491858 and #517415.
|
||||
|
||||
2009-07-30 Raja R Harinath <harinath@hurrynot.org>
|
||||
|
||||
* DictionaryTest.cs (Enumerator_Current): New test, includes
|
||||
relevant parts of #491858 and #517415.
|
||||
|
||||
2009-04-02 Jb Evain <jbevain@novell.com>
|
||||
|
||||
* DictionaryTest.cs: add test for bug #328036.
|
||||
|
||||
2008-11-14 Jb Evain <jbevain@novell.com>
|
||||
|
||||
* DictionaryTest.cs: add tests for #444778.
|
||||
|
||||
2008-11-14 Jb Evain <jbevain@novell.com>
|
||||
|
||||
* DictionaryTest.cs: add tests for bug #444768.
|
||||
|
||||
2008-10-06 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* DictionaryTest.cs: Add a test for #432441.
|
||||
|
||||
2008-09-29 Jb Evain <jbevain@novell.com>
|
||||
|
||||
* DictionaryTest.cs: test for null argument for ContainsKey.
|
||||
Patch by Jonathan Anderson <jonathan.l.anderson@gmail.com>
|
||||
|
||||
2008-09-24 Jb Evain <jbevain@novell.com>
|
||||
|
||||
* DictionaryTest.cs: add tests for bug #429530.
|
||||
|
||||
2008-09-12 Jb Evain <jbevain@novell.com>
|
||||
|
||||
* DictionaryTest.cs: add tests for #425693.
|
||||
|
||||
2008-06-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
|
||||
|
||||
* DictionaryTest.cs: Add test for an incompatibility
|
||||
|
||||
2008-04-30 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* DictionaryTest.cs: Added not working tests for bug #384723. Spaces
|
||||
to tabs.
|
||||
|
||||
2008-03-21 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* EqualityComparerTest.cs: New. Add test cases for using null with
|
||||
GetHashCode (bug #372892).
|
||||
|
||||
2008-01-06 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* ListTest.cs: Make some tests public.
|
||||
|
||||
2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* DictionaryTest.cs: Test case for #322783 based on Francisco Moraes
|
||||
sample code.
|
||||
|
||||
2006-04-16 Jonathan Chambers <joncham@gmail.com>
|
||||
|
||||
* ListTest.cs: Test Contains after Remove.
|
||||
Test for bug #81387.
|
||||
|
||||
2007-03-08 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* ComparerTest.cs: Added test for bug #80929. Added tests to verify
|
||||
binary serialization compatibility.
|
||||
* IListTest.cs: Fixed header.
|
||||
|
||||
2007-03-07 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* IListTest.cs: Added test for bug #80260.
|
||||
|
||||
2006-09-12 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* ListTest.cs: Added tests for binary serialization, and Enumerator
|
||||
version checks.
|
||||
|
||||
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ListTest.cs : test for bug #77277 by Kazuki Oikawa.
|
||||
|
||||
2006-03-16 Ankit Jain <jankit@novell.com>
|
||||
|
||||
* ListTest.cs: Add some tests for InsertRange.
|
||||
|
||||
2006-01-23 Raja R Harinath <rharinath@novell.com>
|
||||
|
||||
* DictionaryTest.cs (IDictionary_*): Add a few tests for the
|
||||
IDictionary explicit implementation.
|
||||
|
||||
2006-01-19 Raja R Harinath <rharinath@novell.com>
|
||||
|
||||
* DictionaryTest.cs: Remove NotWorking annotations.
|
||||
(Empty_CopyTo, Empty_Values_CopyTo): Fix tests to check that
|
||||
CopyTo from an empty dictionary does not throw an exception when
|
||||
'index==array.Length'.
|
||||
(PlainEnumeratorReturnTest): Check the type of 'Entry' property too.
|
||||
|
||||
2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* DictionaryTest.cs : fixed several tests to not fail under .NET 2.0
|
||||
and thus marked some as NotWorking. Numbered some assertions.
|
||||
|
||||
2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ListTest.cs: Added test cases for #77039 for sorting a list with
|
||||
IComparable (generic or not) and without IComparable (exception).
|
||||
|
||||
2005-12-20 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ListTest.cs: Added test case for #76361 for sorting the list with a
|
||||
generic comparer.
|
||||
|
||||
2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* DictionaryTest.cs: Added test cases for CopyTo, including a test for
|
||||
DictionaryEntry.
|
||||
* ListTest.cs: Added test case for #77019 when copying from an empty
|
||||
dictionary.
|
||||
|
||||
2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ListTest.cs: Added test case for a binary search with an empty list
|
||||
(bug #77030). Removed IsReadOnly test case as this isn't part of the
|
||||
public API anymore.
|
||||
|
||||
2005-08-16 Martin Baulig <martin@ximian.com>
|
||||
|
||||
* DictionaryTest.cs (IEnumeratorGenericTest): Reflect latest
|
||||
`KeyValuePair<K,V>' API changes.
|
||||
|
||||
2005-06-27 Raja R Harinath <rharinath@novell.com>
|
||||
|
||||
* DictionaryTest.cs (FailFastTest1, FailFastTest2, FailFastTest3):
|
||||
New tests to ensure that enumerators are invalidated on
|
||||
modifications to the dictionary.
|
||||
|
||||
2005-06-22 Raja R Harinath <rharinath@novell.com>
|
||||
|
||||
* DictionaryTest.cs (KeyValueEnumeratorTest): Add test for infloop
|
||||
if dictionary is read while it's being enumerated.
|
||||
|
||||
2005-06-20 David Waite <mass@akuma.org>
|
||||
|
||||
* ListTest.cs: Substantial new tests
|
||||
|
||||
2005-06-18 David Waite <mass@akuma.org>
|
||||
|
||||
* DictionaryTest.cs (AddTest3): Added test of simple interaction with
|
||||
struct dictionary
|
||||
(AddDuplicateTest,IndexerGetNullTest,IndexerSetNullTest): Added tests
|
||||
for exceptional cases to verify correct exceptions
|
||||
(TryGetValueTest): check return value from TryGetValue
|
||||
(KeyValueEnumeratorTest): Added test from verification of ms.net beta2
|
||||
behavior for non-generic IEnumerator/IDictionaryEnumerator behavior
|
||||
against Dictionary<>
|
||||
(SerializationTest): Added test to utilize serialization routines.
|
||||
|
||||
2005-06-16 Raja R Harinath <rharinath@novell.com>
|
||||
|
||||
* DictionaryTest.cs (SliceCollectionsEnumeratorTest): New test
|
||||
based on #75053.
|
||||
|
||||
2005-06-07 Ankit Jain <ankit@corewars.org>
|
||||
|
||||
* DictionaryTest.cs (KeyValueEnumeratorTest): Added new test.
|
||||
|
||||
2005-05-19 Raja R Harinath <rharinath@novell.com>
|
||||
|
||||
* ListTest.cs (TestGetRange): Add missing ';'. Actually compare
|
||||
the length of the list.
|
||||
|
||||
2005-05-18 Miguel de Icaza <miguel@novell.com>
|
||||
|
||||
* ListTest.cs: Added.
|
||||
|
||||
2005-05-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* QueueTest.cs, StackTest.cs: They are now in System.dll
|
||||
|
||||
2005-05-05 Raja R Harinath <rharinath@novell.com>
|
||||
|
||||
* DictionaryTest.cs (MyTest.GetHashCode): Add to silence a
|
||||
compiler warning.
|
||||
|
||||
2005-04-04 Raja R Harinath <rharinath@novell.com>
|
||||
|
||||
* DictionaryTest.cs: Update.
|
||||
|
||||
2005-04-02 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* DictionaryTest.cs: new test.
|
||||
|
||||
2005-01-29 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* QueueTest.cs: new Test.
|
||||
|
||||
2004-12-27 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* StackTest.cs: new Test.
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
2010-06-09 Jonathan Pryor <jpryor@novell.com>
|
||||
|
||||
* KeyedCollectionTest.cs: Verify exception safety of Insert().
|
||||
|
||||
2008-01-20 Juraj Skripsky <js@hotfeet.ch>
|
||||
|
||||
* ReadOnlyCollectionTest.cs: Add test to verify that ReadOnlyCollection
|
||||
is indeed only a simple wrapper for a given IList.
|
||||
Add tests for ICollection.IsSynchronized, IList.IsFixedSize and
|
||||
IList.IsReadOnly.
|
||||
|
||||
2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CollectionTest.cs: Added test for ICollection.CopyTo.
|
||||
* ReadOnlyCollectionTest.cs: Added ctor tests, and test for
|
||||
ICollection.CopyTo.
|
||||
|
||||
2005-10-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* KeyedCollectionTest.cs : new file by Carlo Kok (ck@carlo-kok.com).
|
||||
|
||||
2005-06-21 Raja R Harinath <rharinath@novell.com>
|
||||
|
||||
* CollectionTest.cs (IEnumerable.GetEnumerator): Don't prefix with
|
||||
System.Collections, since it resolves to the MonoTests namespace.
|
||||
|
||||
2005-06-21 David Waite <mass@akuma.org>
|
||||
|
||||
* CollectionTest.cs : added
|
||||
@@ -1,440 +0,0 @@
|
||||
2009-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
|
||||
|
||||
* SortedListTest.cs: new tests by Kevin Fitzgerald.
|
||||
|
||||
2009-06-30 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* ReadOnlyCollectionBaseTest.cs NewArrayListTest.cs: Convert all tests
|
||||
to new-style nunit classes/methods.
|
||||
|
||||
2009-06-26 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* BitArrayTest.cs: Upgrade to new NUnit style. Enable
|
||||
16 tests that were disabled after the NUnit 2.4 update.
|
||||
|
||||
2009-06-24 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* ArrayListTest.cs, CollectionBaseTest.cs, DictionaryEntryTest.cs,
|
||||
HashtableTest.cs: Convert all tests to new-style nunit methods.
|
||||
|
||||
* QueueTest.cs: likewise. Conversion revealed 25 test that were
|
||||
disabled after the NUnit 2.4 update.
|
||||
|
||||
* StackTest.cs: likewise. Conversion revealed 24 test that were
|
||||
disabled after the NUnit 2.4 update.
|
||||
|
||||
2008-08-31 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* BitArrayTest.cs: Add a test for #421803.
|
||||
|
||||
2008-05-08 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* DictionaryEntryTest.cs: Add tests for key's argument validation.
|
||||
|
||||
2008-03-24 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* DictionaryBaseTest.cs: Improved existing tests, and use Assert class
|
||||
instead of deriving from deprecated Assertion class. Code formatting.
|
||||
|
||||
2008-03-21 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* DictionaryBaseTest.cs: Add test case to see when and how OnGet
|
||||
is being called.
|
||||
|
||||
2007-11-06 Jb Evain <jbevain@novell.com>
|
||||
|
||||
* HashtableTest.cs: Add test case for #324761.
|
||||
|
||||
2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* QueueTest.cs: Test cases for #321657. Based on the test case
|
||||
supplied by Benjamin Lutz.
|
||||
|
||||
2007-10-27 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* SortedListTest.cs: Fixed deserialization test to pass on MS.
|
||||
|
||||
2007-10-23 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* SortedListTest.cs: No longer derive from deprecated Assertion class.
|
||||
Added serialization tests, and a (NotWorking) deserialization test.
|
||||
|
||||
2007-07-05 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CaseInsensitiveHashCodeProviderTest.cs: Reworked test for Default
|
||||
instance to pass on both Mono and MS. Added separate tests that
|
||||
verify the specific Mono and MS behavior.
|
||||
|
||||
2007-07-05 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CaseInsensitiveHashCodeProviderTest.cs: Improved test for
|
||||
Default property to show the a new intance is constructed. Added test
|
||||
for DefaultInvariant. Improved serialization tests. Added ctor test
|
||||
for null CultureInfo. Code formatting.
|
||||
|
||||
2007-04-19 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* ArrayListTest.cs: Code formatting (indenting, spaces to tabs). Added
|
||||
tests for bugs fixed in .NET 2.0.
|
||||
|
||||
2007-02-13 Boris Kirzner <borisk@mainsoft.com>
|
||||
* CaseInsensitiveHashCodeProviderTest.cs, HashtableTest.cs:
|
||||
test ifdefs for TARGET_JVM.
|
||||
|
||||
2006-11-28 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CaseInsensitiveComparerTest.cs: Added tests for bug #80082 and bug
|
||||
#80076. Improved existing tests.
|
||||
|
||||
2006-08-08 Duncan Mak <duncan@novell.com>
|
||||
|
||||
* ReadOnlyCollectionBaseTest.cs (TestZeroCountOnNew): Add test for
|
||||
overriding Count in NET_2_0 for #79033.
|
||||
|
||||
2006-04-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* QueueTest.cs, SortedListTest.cs : many capacity-related tests are
|
||||
written under improper assumption. As a result they don't pass when
|
||||
we run make PROFILE=net_2_0 run-test-ondotnet, so got rid of them.
|
||||
|
||||
2006-01-04 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* HashtableTest.cs: Added test case to check if all subclasses are
|
||||
serializable.
|
||||
|
||||
2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ArrayListTest.cs: Added test cases for a binary search with an empty
|
||||
list (bug #77030). Fixed other test cases so they execute without
|
||||
failures under MS 2.0.
|
||||
|
||||
2005-12-07 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* SortedTestList.cs: Added more test for the constructor accepting an
|
||||
IComparer and to avoid regression of bug #76750.
|
||||
|
||||
2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* CaseInsensitiveHashCodeProviderTest: Added test cases for the
|
||||
default ctor, roudtripping serialization and deserializing data
|
||||
generated on MS 1.1 and 2.0.
|
||||
|
||||
2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ComparerTest.cs: Removed "NotWorking" from "Invariant" test case
|
||||
(it's now working). Added new test cases for ISerializable (added in
|
||||
SP1 and present in 2.0) and completed coverage with tests for ctor.
|
||||
|
||||
2005-09-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* HashtableTest.cs : testcase for #75790.
|
||||
|
||||
2005-09-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SortedListTest.cs : testcase for #59694.
|
||||
|
||||
2005-07-19 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* ArrayListTest.cs: The patch below was not committed with the
|
||||
same text as the patch on the bug. There was an s/1/3. Doing the
|
||||
patch as specified on the bug makes buildbot work and the test
|
||||
work on msft
|
||||
|
||||
2005-07-17 Florian Gross <flgr@ccan.de>
|
||||
|
||||
* ArrayListTest.cs: Test for #75545.
|
||||
|
||||
2005-06-23 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* QueueTest.cs, StackTest.cs: Test for #75369.
|
||||
|
||||
2005-05-26 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* QueueTest.cs: New test.
|
||||
|
||||
2005-05-09 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* StackTest.cs : test for CopyTo() on an empty stack.
|
||||
|
||||
2005-01-05 Nick Drochak <ndrochak@ieee.org>
|
||||
|
||||
* ComparerTest.cs: Modernize and fix line endings. Test is failing with
|
||||
mono, see if this change has any effect.
|
||||
|
||||
2004-12-16 Lluis Sanchez Gual <lluis@novell.com>
|
||||
|
||||
* HashtableTest.cs: Added test for bug #70570.
|
||||
|
||||
2004-08-24 Nick Drochak <ndrochak@ieee.org>
|
||||
|
||||
|
||||
|
||||
* ComparerTest.cs: On MS.NET 1.1 Compare("a", "A") returns < 0.
|
||||
|
||||
|
||||
|
||||
2004-07-28 Dick Porter <dick@ximian.com>
|
||||
|
||||
* ComparerTest.cs: Test for invariant compares (bug 61458.)
|
||||
|
||||
2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* HashtableTest.cs: Added new case to CopyTo(Array,int) an empty
|
||||
hashtable.
|
||||
* SortedListTest.cs: Un-ignored TestCapacity4 test case as it now
|
||||
works correctly under Mono.
|
||||
|
||||
2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* SortedListTest.cs: Added new test when initial capacity is set to 0
|
||||
(so it never returns to default, 16, when Capacity is set to 0) unless
|
||||
Clear is called. Cleaned up unused SetUp/TearDown.
|
||||
|
||||
2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ArrayListTest.cs: Added new test for null in BinarySearch.
|
||||
* HashtableTest.cs: Added null checking fro GetObjectData.
|
||||
|
||||
2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* HashtableTest.cs: Added case where a cloned hashtable must also be
|
||||
synchronized (if the original was).
|
||||
* QueueTest.cs: Added case where we try to get Current after the last
|
||||
MoveNext. Added case to ensure that MoveNext always return false
|
||||
(after the first time). Test for synchronized clones.
|
||||
* SortedListTest.cs: Added cases for synchronized capacity and testing
|
||||
the interface from the internal enumerator. Test that setting Capacity
|
||||
to zero return the capacity to it's initial default (16).
|
||||
|
||||
2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ArrayListTest.cs: Added tests for integer overflows.
|
||||
|
||||
2003-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* QueueTest.cs: added more tests. Patch from Carlos Barcenilla.
|
||||
|
||||
2003-11-10 Zoltan Varga <vargaz@freemail.hu>
|
||||
|
||||
* StackTest.cs: Applied patch from Carlos A. Barcenilla to fix minor
|
||||
bugs (#50755).
|
||||
|
||||
2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* HashtableTest.cs: patch from Carlos A. Barcenilla
|
||||
(barce@frlp.utn.edu.ar) that includes some fixes for Hashtable +
|
||||
NUnit2 tests.
|
||||
|
||||
2003-10-07 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* DictionaryBaseTest.cs:
|
||||
* NewArrayListTest.cs: Clean up warnings that were annoying me.
|
||||
|
||||
2003-08-12 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* NewArrayListTest.cs: Disable part that was failing on .NET. Marked
|
||||
with FIXME.
|
||||
|
||||
2003-08-11 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* ArrayListTest.cs: Added test case submitted by Tum in bug #45036.
|
||||
|
||||
* DictionaryBaseTest.cs: added new test provided by Carlos Barcenilla
|
||||
(barce@frlp.utn.edu.ar).
|
||||
|
||||
2003-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* CollectionBaseTest.cs: added new test provided by Carlos Barcenilla
|
||||
(barce@frlp.utn.edu.ar).
|
||||
|
||||
2003-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* CollectionBaseTest.cs: added a few more tests. Now derives from
|
||||
Assertion.
|
||||
|
||||
2003-06-20 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* SortedListTest.cs: Make it pass on .NET 1.1.
|
||||
|
||||
2003-06-14 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* SortedListTest.cs
|
||||
(TestIndexer):
|
||||
(TestEnumerator): Incorporated these two tests from Philippe
|
||||
Lavoie <philippe.lavoie@cactus.ca>.
|
||||
|
||||
2003-06-12 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* HashtableTest.cs: Converted it to the new style of NUnit tests.
|
||||
|
||||
(TestCtor3):
|
||||
(TestCtor4): new tests for the constructor.
|
||||
|
||||
2003-06-11 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* SortedListTest.cs: Convert it to the new style of NUnit tests.
|
||||
|
||||
(TestCapacity2):
|
||||
(TestCapacity3):
|
||||
(TestCapacity4): new tests for the Capacity property.
|
||||
|
||||
(TestIndexOfValue2):
|
||||
(TestIndexOfValue3): new tests for the IndexOfValue method.
|
||||
|
||||
2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* HashtableTest.cs: removed duplicate tests and unneeded inner class.
|
||||
|
||||
2003-06-07 Ben Maurer <bmaurer@users.sourceforge.net>
|
||||
* StackTest.cs: Added test for Contains (null)
|
||||
|
||||
2003-05-13 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* DictionaryEntry.cs: Added test
|
||||
|
||||
2003-05-03 Ben Maurer <bmaurer@users.sourceforge.net>
|
||||
|
||||
* ArrayListTest.cs:
|
||||
Tests for the above* ArrayList.cs
|
||||
Added methods to support IList wrappers
|
||||
|
||||
2003-04-15 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
|
||||
|
||||
* CaseInsensitiveComparerTest.cs: Added Some Tests.
|
||||
|
||||
2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
|
||||
|
||||
* ArraListTest.cs: Added little test for Sort ().
|
||||
|
||||
2003-02-15 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* CollectionBaseTest.cs: Make it a better NUnit v2 example
|
||||
|
||||
2003-02-15 Pedro Martínez Juliá <yoros@wanadoo.es>
|
||||
|
||||
* HashtableTest.cs: Add serialization test.
|
||||
|
||||
2002-12-21 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* all: make tests build and run under nunit2
|
||||
|
||||
2002-10-16 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* QueueTest.cs: Add test from tetsuo via Vladimir Vukicevic
|
||||
(vladimir@pobox.com).
|
||||
|
||||
2002-10-09 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* SortedListTest.cs: Re-enable test for IsSyncronized
|
||||
|
||||
2002-09-24 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs: Add test for InsertRange() for the case where an
|
||||
ArrayList is passed to itself to be insterted.
|
||||
|
||||
2002-09-24 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs: Add check that enumerator is invalidated after a
|
||||
method that changes the list, such as Add(), Remove(), etc.
|
||||
|
||||
2002-07-02 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* SortedListTest.cs: Fix some expected/actual value parameters for
|
||||
AssertEquals().
|
||||
|
||||
2002-06-30 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* SortedListTest.cs: Fix some expected/actual value parameters in the
|
||||
Assert()'s. Disable a part of test until the class is finished.
|
||||
|
||||
2002-06-25 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* QueueTest.cs: Trap some unexpected exceptions and add a bit of
|
||||
verbosity to some assert messages.
|
||||
|
||||
2002-06-20 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* SortedListTest.cs: Make tests pass against ms.net.
|
||||
* QueueTest.cs: Make tests pass against ms.net.
|
||||
|
||||
2002-06-19 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* AllTests.cs: Sort names and include missing tests.
|
||||
* SortedListTest.cs: Change Console.WriteLine() into Fail().
|
||||
|
||||
2002-05-27 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs (TestLastIndexOf): Add try-catch block to report
|
||||
where we are throwing.
|
||||
|
||||
2002-05-21 Lawrence Pit <loz@cable.a2000.nl>
|
||||
|
||||
* ArrayListTest.cs: Added several tests to test for 0 capacity
|
||||
|
||||
2002-05-05 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs: Test for RankException when constructing from a
|
||||
multi-dimensional array. Confirmed behavior from MS.NET
|
||||
|
||||
2002-05-01 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs (TestBinarySearch) : accomodate possible bug in
|
||||
.NET runtime.
|
||||
|
||||
2002/05/01 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs (TestCopyTo) : Make assert messages unique and
|
||||
avoid possible MS.NET bug when test is run on .NET.
|
||||
|
||||
2002/04/30 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs (TestInsertRange) : Make assert messages unique.
|
||||
|
||||
2002-04-30 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs (TestTrimToSize): Change test so that it doesn't
|
||||
rely on the specific timing of a capacity change. Our corlib doubles
|
||||
capacity sooner than the reference system does.
|
||||
|
||||
2002-04-30 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs: Catch unexpected exception typs and report as
|
||||
failures.
|
||||
|
||||
2002-04-29 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs (TestBinarySearch): Catch the correct exception here.
|
||||
|
||||
2002-04-29 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs (): Remove test on unsorted array. Behavior is
|
||||
undefined according to docs. Re-added test that was commented out.
|
||||
|
||||
2002-03-24 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* SortedListTest.cs: Committed to CVS for Jaak Simm <jaaksimm@firm.ee>.
|
||||
|
||||
2002-02-28 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* HashtableTest.cs: make the second test class public. The was showing
|
||||
as an error whe run against the mscorlib. Might be because of the
|
||||
new NUnit that was just checked in.
|
||||
|
||||
2002-02-20 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* ArrayListTest.cs: Add a small assert for a bug that I found and fixed
|
||||
in ArrayList. Make sure it doesn't come up again.
|
||||
|
||||
2002-02-10 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* QueueTest.cs: Put in correct namespace.
|
||||
|
||||
2002-02-09 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* StackTest.cs: Removed test for IsReadonly. Doesn't exist in .NET 1.0
|
||||
|
||||
2002-01-20 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* BitArrayTest.cs: wrapped try-catch blocks around several of the tests.
|
||||
NUnit doesn't properly catch exception here anymore. Must be something
|
||||
to do with upgrading to .NET.1.0.
|
||||
@@ -1,12 +0,0 @@
|
||||
2010-07-23 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ContractAssertTest.cs
|
||||
ContractAssumeTest.cs
|
||||
ContractHelperTest.cs
|
||||
ContractMustUseRewriterTest.cs:
|
||||
Mark couple of runtime breaking tests (on .NET 4.0) as [Ignore].
|
||||
|
||||
2010-06-23 Chris Bacon <chrisbacon76@gmail.com>
|
||||
|
||||
* Added all files
|
||||
|
||||
@@ -1,101 +0,0 @@
|
||||
2009-06-30 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* DebugTest.cs TextWriterTraceListenerTest.cs: Convert all tests to
|
||||
new-style nunit classes/methods.
|
||||
|
||||
2009-06-25 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* *.cs: Convert all tests to new-style nunit classes/methods.
|
||||
|
||||
2007-05-11 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* DebuggerDisplayAttributeTest.cs: Make test forward compatible.
|
||||
Replaced Assert.AreEqual null comparison with Assert.IsNull. Replaced
|
||||
"" with string.Empty.
|
||||
|
||||
2007-05-11 Rolf Bjarne Kvinge <RKvinge@novell.com>
|
||||
|
||||
* DebuggerDisplayAttributeTest.cs: Added.
|
||||
|
||||
2006-07-24 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* StackFrameTest.cs: Spaces to tabs. Marked tests that fail on Mono
|
||||
as NotWorking instead of Ignore. Enabled StackFrameTest2.GetFileName2
|
||||
and StackFrameTest3.GetFileName as tests pass on both Mono and .NET.
|
||||
|
||||
2005-06-12 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* StackTraceTest.cs: Mono does not support StraceTrace for
|
||||
thread. Test passes on MS.NET 2.x.
|
||||
|
||||
2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* StackFrameCas.cs: Fixed failures under MS for NET_1_1.
|
||||
* StackTraceCas.cs: Fixed failures under MS for NET_1_1.
|
||||
|
||||
2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* StackFrameCas.cs: New. Permission tests for StackFrame.
|
||||
* StackTraceCas.cs: New. Permission tests for StackTrace.
|
||||
|
||||
2004-08-30 Nick Drochak <ndrochak@ieee.com>
|
||||
|
||||
* StackTraceTest.cs: Fix warning.
|
||||
|
||||
2004-08-29 Nick Drochak <ndrochak@ieee.com>
|
||||
|
||||
* StackFrameTest.cs : Ignore tests that fail on MS.NET.
|
||||
|
||||
2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* StackFrameTest.cs: Added new unit tests to validate exceptions.
|
||||
Converted existing unit tests to NUnit 2.2.
|
||||
|
||||
2004-05-30 David Sheldon <dave-mono@earth.li>
|
||||
|
||||
* StackFrameTest.cs: Mark the failures that have been failing
|
||||
for months due to bug 45730 as ignored as it doesn't look like
|
||||
it will be fixed soon.
|
||||
|
||||
2003-10-07 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* StackFrameTest.cs: Get tests to pass on .NET 1.1.
|
||||
|
||||
2003-08-19 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* StackFrameTest.cs: Isolate test failure by making tests finer
|
||||
grained.
|
||||
|
||||
2003-07-01 Zoltan Varga <vargaz@freemail.hu>
|
||||
|
||||
* StackFrameTest.cs (TestGetMethod): Remove test for method name, since
|
||||
it is not guaranteed to be 'InternalInvoke'.
|
||||
|
||||
2003-06-10 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* StackFrameTest.cs: More cleanups. Now *all* tests pass.
|
||||
|
||||
2003-06-10 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* StackFrameTest.cs: Cleanups. Now tests pass.
|
||||
|
||||
2003-04-17 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* StackFrameTest.cs: Use nunit version 2 style.
|
||||
|
||||
2003-01-27 Zoltan Varga <vargaz@freemail.hu>
|
||||
|
||||
* StackTraceTest.cs: Added test for unthrown exceptions.
|
||||
|
||||
2002-12-21 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* all: make tests build and run under nunit2
|
||||
|
||||
2002-06-19 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* AllTests.cs: Add missing test: DebugTest
|
||||
|
||||
2002-02-10 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* DebugTest.cs: Put in correct namespace.
|
||||
* TextWriterTraceListenerTest.cs: Put in correct namespace.
|
||||
@@ -1,392 +0,0 @@
|
||||
2010-05-14 Damien Diederen <dd@crosstwine.com>
|
||||
|
||||
* IdnMappingTest.cs: U+0221 is not unassigned anymore, use U+18B0
|
||||
|
||||
U+0221 is LATIN SMALL LETTER D WITH CURL in Unicode 4.0,
|
||||
and is recognized as a valid letter in recent versions of the
|
||||
.NET framework. This causes GetAsciiInvalid to (unexpectedly)
|
||||
succeed, and the test to fail.
|
||||
|
||||
Use U+18B0 instead, which is unassigned as of Unicode 5.2 and
|
||||
.NET 3.5 SP1.
|
||||
|
||||
2009-12-09 Jb Evain <jbevain@novell.com>
|
||||
|
||||
* StringInfoTest.cs: test the default constructor.
|
||||
|
||||
2009-10-29 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs: Add test cases to validate parameters
|
||||
|
||||
2009-06-25 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* *.cs: Convert all tests to new-style nunit classes/methods.
|
||||
|
||||
2009-05-27 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* CultureInfoTest.cs: Fix the net 1.1 build.
|
||||
|
||||
2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs : test zh-Hant.
|
||||
|
||||
2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for #462957.
|
||||
|
||||
2008-08-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs : added test for bug #402128.
|
||||
|
||||
2008-04-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SortKeyTest.cs : new test, for bug #376171.
|
||||
|
||||
2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* DateTimeFormatInfoTest.cs : enabled test for bug #332553.
|
||||
|
||||
2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* DateTimeFormatInfoTest.cs : added test for bug #335298.
|
||||
|
||||
2007-10-10 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* DateTimeFormatInfoTest.cs: Added test for bug #332553.
|
||||
|
||||
2007-07-17 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs : true test for bug #81783 (overflown month in
|
||||
AddMonths().)
|
||||
|
||||
2007-07-10 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* StringInfoTest.cs : new test.
|
||||
|
||||
2007-07-10 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs : enabled ToFourDigitYear() test from 5 years ago.
|
||||
and added some more ToFourDigitYear() tests.
|
||||
|
||||
2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs : added GetWeekOfYear() test.
|
||||
|
||||
2007-07-05 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CultureInfoTest.cs: Fixed UseUserOverride tests to pass on systems
|
||||
where invariant culture is default locale.
|
||||
|
||||
2007-07-03 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CultureInfoTest.cs: Added extra info in order to troubleshoot
|
||||
buildbot failure on redhat9-i386.
|
||||
|
||||
2007-07-03 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs, EastAsianLunisolarCalendarTest.cs :
|
||||
more tests needed mark as NotWorking.
|
||||
|
||||
2007-07-02 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* EastAsianLunisolarCalenderTest.cs: Fixed build.
|
||||
|
||||
2007-07-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* EastAsianLunisolarCalendarTest.cs : new test, totally not-working.
|
||||
* CalendarTest.cs : added couple of 2.0 tests. Some are not working.
|
||||
|
||||
2007-06-24 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CultureInfoTest.cs: Added exception tests when invoking NumberFormat
|
||||
or DateTimeFormat on a neutral culture. Added tests for bug #81930.
|
||||
No longer derive from deprecated Assertion class. Added tests for
|
||||
GetCultureInfo (2.0).
|
||||
|
||||
2007-06-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs : test for bug #81783 and AddYears() for leap year
|
||||
(similar issue).
|
||||
|
||||
2007-05-31 Rolf Bjarne Kvinge <RKvinge@novell.com>
|
||||
|
||||
* DateTimeFormatInfo.cs: Added EraName.
|
||||
|
||||
2007-05-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IdnMappingTest.cs : new test.
|
||||
|
||||
2007-05-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* RegionInfoTest.cs : new tests.
|
||||
|
||||
2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for bug #79714.
|
||||
|
||||
2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for bug #80865.
|
||||
|
||||
2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for bug #80612.
|
||||
|
||||
2007-01-22 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Added Compare() tests for hyphens.
|
||||
Removed NotWorking from previous new test (its existence wasn't
|
||||
even recognized until today).
|
||||
|
||||
2007-01-11 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CompareInfoTest.cs: Added test for checking valid CompareOptions for
|
||||
GetSortKey.
|
||||
|
||||
2006-12-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for OrdinalIgnoreCase versions
|
||||
of IndexOf() and LastIndexOf(). Added Ordinal LastIndexOf() tests.
|
||||
|
||||
2006-11-27 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : why there was "return" before OrdinalIgnoreCase
|
||||
tests ...
|
||||
|
||||
2006-06-08 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* DateTimeFormatInfoTest.cs : added test for bug #78569.
|
||||
|
||||
2006-04-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : seems like Microsoft had introduced several
|
||||
bugs in CompareInfo, so marked many of them as NotDotNet.
|
||||
|
||||
2006-04-10 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs : added test for bug #69652.
|
||||
|
||||
2006-03-21 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs : added test for bug #76252.
|
||||
|
||||
2006-01-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs : added test for bug #77347.
|
||||
|
||||
2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* DaylightTimeTest.cs: New. Serialization interop test cases.
|
||||
|
||||
2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TextInfoTest.cs: Added new tests for serialization and for new 2.0
|
||||
features.
|
||||
|
||||
2005-12-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : split the last case in NullCharacter() out
|
||||
and marked it as NotDotNet (.NET is inconsistent between Compare
|
||||
and IndexOf).
|
||||
|
||||
2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added NullCharacter() for bug #76702.
|
||||
|
||||
2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for Compare() w/ OrdinalIgnoreCase.
|
||||
|
||||
2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added more tests for some specific cultures
|
||||
(say, Japanese) that have replacement contraction in ASCII range
|
||||
and caused incorrect results for LastIndexOf() and all dependent
|
||||
members.
|
||||
|
||||
2005-10-14 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* DateTimeFormatInfoTest.cs: New test to make sure we do not
|
||||
return the same array from GetAllDateTimePatterns.
|
||||
|
||||
2005-09-27 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added testcase for bug #76243.
|
||||
|
||||
2005-09-20 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added empty string cases for IsPrefix/IsSuffix.
|
||||
|
||||
2005-09-09 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added another test for IsSuffix() that I found.
|
||||
|
||||
2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* TextInfoTest.cs: Added ListSeparator test.
|
||||
|
||||
2005-08-11 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs : added OptionalCalendars().
|
||||
* CompareInfoTest.cs : added possible bug test for checkedFlags
|
||||
optimization.
|
||||
|
||||
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Some GetSortKey That tests got working.
|
||||
|
||||
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Uncommented tests that got working. Added two
|
||||
cornercase notworking LastIndexOf() tests.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : IsSuffix() extender tests got working.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for IndexOf() and LastIndexOf()
|
||||
with ignorable source character. Added some non-working tests.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for IndexOf() and LastIndexOf()
|
||||
that takes an expansion for target char.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : removed some FIXMEs. Added more extender tests.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : some special weight tests got working.
|
||||
Commented on some FIXME tests why they are so.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Added extender tests for GetSortKey(),
|
||||
Compare(), IsPrefix(), IndexOf() and LastIndexOf().
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Added Compare() test that contains expansion.
|
||||
Fixed CompareSpecialWeight() which was not testing what I intended.
|
||||
Added IsPrefix() tests with special weight (copying Compare() tests)
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added CompareSpecialWeight() and moved special
|
||||
weight comparison there.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added GetSortKey() testcase that tests a
|
||||
sequence of nonprimary character followed by an extender.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added more culture-sensitive "empty" test.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Test for IndexOf() and LastIndexOf() with
|
||||
"empty" target (in culture-sensitive context).
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added ignorable character in target for
|
||||
IsPrefix/IsSuffix/IndexOf/LastIndexOf methods.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added more special weight testcases.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added Czech and Hungarian sorting tests.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added more diacritical tests.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for CJK mapping customization.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added GetSortKey() test for Thai.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added special weight GetSortKey() test.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added several GetSortKey() tests.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added shift weight testcases. Commented one
|
||||
French sort thingy out.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added another French testcase.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added LastIndexOf() contraction cases and more.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for IsSuffix(),
|
||||
IndexOf(string,string) and LastIndexOf(string,string).
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for IsPrefix() and optionally
|
||||
Compare() (which is currently used inside IsPrefix() which is
|
||||
however wrong when it comes to managed collation).
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for IndexOf() and LastIndexOf().
|
||||
Fixed tests for Compare() - it should use overloaded ones of
|
||||
the tested library (do not call overloaded tests themselves).
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added a few managed collation tests for
|
||||
GetSortKey() and Compare() (they are ignored when managed collation
|
||||
is off).
|
||||
|
||||
2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* GlobalizationAndDomains.cs: more tests for bugz.
|
||||
|
||||
2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs: added test that tries setting the culture to a
|
||||
neutral culture that is not the InvariantCulture.
|
||||
|
||||
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs: added new test.
|
||||
|
||||
2005-04-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TextInfoTest.cs : added further ToTitleCase() tests.
|
||||
|
||||
2004-10-27 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* TextInfoTest.cs: Fix up migster's type
|
||||
|
||||
2003-12-19 Dick Porter <dick@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs: Added some Compare tests
|
||||
|
||||
2002-12-21 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* all: make tests build and run under nunit2
|
||||
@@ -1183,6 +1183,9 @@ public class CompareInfoTest
|
||||
AssertCompare ("#12", 0, "aE", "AE", CompareOptions.OrdinalIgnoreCase);
|
||||
AssertCompare ("#13", 0, "ae", "AE", CompareOptions.OrdinalIgnoreCase);
|
||||
AssertCompare ("#14", 0, "ola", "OLA", CompareOptions.OrdinalIgnoreCase);
|
||||
// check ignorable characters
|
||||
AssertCompare ("#15", 0, "AE\uFFFC", "AE", CompareOptions.None);
|
||||
AssertCompare ("#16", 1, "AE\uFFFC", "AE", CompareOptions.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -428,10 +428,10 @@ namespace MonoTests.System.Globalization
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void GetCultureInfo_Identifier_Negative ()
|
||||
public void GetCultureInfo_Identifier_Nonpositive ()
|
||||
{
|
||||
try {
|
||||
CultureInfo.GetCultureInfo (-1);
|
||||
CultureInfo.GetCultureInfo (0);
|
||||
Assert.Fail ("#1");
|
||||
} catch (ArgumentOutOfRangeException ex) {
|
||||
Assert.AreEqual (typeof (ArgumentOutOfRangeException), ex.GetType (), "#2");
|
||||
|
||||
@@ -1,123 +0,0 @@
|
||||
2010-06-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: New test for two instances calling
|
||||
Remove.
|
||||
|
||||
2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: New test for GetUserStoreForSite.
|
||||
|
||||
2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: New test for DeleteFile.
|
||||
|
||||
2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: Update our tests to catch/report the new
|
||||
exceptions fired in 4.0, as well as a new test to assert that
|
||||
GetDirectoryNames fires an ArgumentException if '..' is passed as part
|
||||
of the path.
|
||||
|
||||
2010-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: Include check for paths outside our
|
||||
storage root in our tests for MoveFile, MoveDirectory and CopyFile.
|
||||
|
||||
2010-06-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: New test case for Remove.
|
||||
|
||||
2010-06-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: Augment our test cases for MoveFile and
|
||||
MoveDirectory.
|
||||
|
||||
2010-05-31 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageTest.cs:
|
||||
* IsolatedStorageFileTest.cs: New tests for AvailableFreeSpace, Quota,
|
||||
UsedSize and IncreaseQuotaTo.
|
||||
|
||||
2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: New test case for CopyFile.
|
||||
|
||||
2010-05-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: New test case for GetCreationTime.
|
||||
|
||||
2010-05-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileStreamTest.cs: New test cases for constructor
|
||||
obtaining a closed/disposed IsolatedStorageFile.
|
||||
|
||||
2010-05-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: New test cases for CreateFile,
|
||||
MoveDirectory and MoveFile.
|
||||
|
||||
2010-05-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: New test cases for DirectoryExists and
|
||||
FileExists.
|
||||
|
||||
2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: Add test case when null values are used
|
||||
in GetStore. Fix bug #430932
|
||||
|
||||
2008-04-18 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: Add test cases for creating sub-
|
||||
directories and to delete them (bug #376188)
|
||||
|
||||
2008-03-28 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: Add test cases for creating directory
|
||||
(bug #372377) and also getting delaing with subdirectories.
|
||||
|
||||
2008-01-17 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IsolatedStorageFileTest.cs: Added test case against regression of
|
||||
bug #354539
|
||||
|
||||
2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IsolatedStorageFileStreamTest.cs: Test case for rooted paths by Jay
|
||||
Miller (bug #324983).
|
||||
|
||||
2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IsolatedStorageFileCas.cs: Added MaximumSize unit tests.
|
||||
|
||||
2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* IsolatedStorageFileStreamTest.cs:
|
||||
* IsolatedStorageFileTest.cs:
|
||||
* IsolatedStorageTest.cs: fixed namespace names and removed NotWorking
|
||||
for a test that now works.
|
||||
|
||||
2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IsolatedStorageFileStreamCas.cs: Added tests to test stack
|
||||
propagation for BeginRead and BeginWrite.
|
||||
|
||||
2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IsolatedStorageFileStreamCas.cs: Added reflection-based unit tests
|
||||
to test LinkDemand on Handle and SafeFileHandle (2.0) properties.
|
||||
|
||||
2005-03-15 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IsolatedStorageFileStreamCas.cs: New. CAS unit tests for
|
||||
IsolatedStorageFileStream.
|
||||
* IsolatedStorageFileCas.cs: New. CAS unit tests for
|
||||
IsolatedStorageFile.
|
||||
|
||||
2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IsolatedStorageFileStreamTest.cs: New. Unit tests for
|
||||
IsolatedStorageFileStream.
|
||||
* IsolatedStorageFileTest.cs: New. Unit tests for IsolatedStorageFile.
|
||||
* IsolatedStorageTest.cs: New. Unit tests for IsolatedStorage abstract
|
||||
class.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -17,7 +17,7 @@ using System.IO;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
|
||||
#if !MONOTOUCH
|
||||
#if !MONOTOUCH && !MOBILE_STATIC
|
||||
using Mono.Unix;
|
||||
#endif
|
||||
using NUnit.Framework;
|
||||
@@ -47,7 +47,7 @@ public class DirectoryTest
|
||||
if (Directory.Exists (TempFolder))
|
||||
Directory.Delete (TempFolder, true);
|
||||
}
|
||||
#if !MONOTOUCH
|
||||
#if !MONOTOUCH && !MOBILE_STATIC
|
||||
[Test] //BXC #12461
|
||||
public void EnumerateFilesListSymlinks ()
|
||||
{
|
||||
@@ -230,6 +230,17 @@ public class DirectoryTest
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void CreateDirectoryRelativePath ()
|
||||
{
|
||||
var path = Path.Combine (TempFolder, "relativepath", "not_this_folder");
|
||||
path = Path.Combine (path, "..");
|
||||
|
||||
var res = Directory.CreateDirectory (path);
|
||||
Assert.AreEqual ("relativepath", res.ToString (), "#1");
|
||||
Assert.IsTrue (Directory.Exists (Path.Combine (TempFolder, "relativepath")), "#2");
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void Delete ()
|
||||
{
|
||||
|
||||
@@ -141,7 +141,6 @@ namespace MonoTests.System.IO
|
||||
|
||||
#if !MOBILE
|
||||
[Test]
|
||||
[Category ("NotWorking")]
|
||||
public void IsReadOnly ()
|
||||
{
|
||||
string path = TempFolder + DSC + "FIT.IsReadOnly.Test";
|
||||
@@ -596,6 +595,8 @@ namespace MonoTests.System.IO
|
||||
try {
|
||||
FileInfo info = new FileInfo (path);
|
||||
Assert.IsFalse (info.Exists, "#1");
|
||||
info.Delete ();
|
||||
Assert.IsFalse (info.Exists, "#1a");
|
||||
info.Create ().Close ();
|
||||
info = new FileInfo (path);
|
||||
Assert.IsTrue (info.Exists, "#2");
|
||||
@@ -651,6 +652,35 @@ namespace MonoTests.System.IO
|
||||
}
|
||||
}
|
||||
|
||||
[Test] //Covers #18361
|
||||
public void MoveTo_SameName ()
|
||||
{
|
||||
string name = "FIT.MoveTo.SameName.Test";
|
||||
string path1 = TempFolder + DSC + name;
|
||||
string path2 = TempFolder + DSC + "same";
|
||||
Directory.CreateDirectory (path2);
|
||||
path2 += DSC + name;
|
||||
DeleteFile (path1);
|
||||
DeleteFile (path2);
|
||||
|
||||
try {
|
||||
File.Create (path1).Close ();
|
||||
FileInfo info1 = new FileInfo (path1);
|
||||
FileInfo info2 = new FileInfo (path2);
|
||||
Assert.IsTrue (info1.Exists, "#A1");
|
||||
Assert.IsFalse (info2.Exists, "#A2");
|
||||
|
||||
info1.MoveTo (path2);
|
||||
info1 = new FileInfo (path1);
|
||||
info2 = new FileInfo (path2);
|
||||
Assert.IsFalse (info1.Exists, "#B1");
|
||||
Assert.IsTrue (info2.Exists, "#B2");
|
||||
} finally {
|
||||
DeleteFile (path1);
|
||||
DeleteFile (path2);
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void MoveTo_DestFileName_AlreadyExists ()
|
||||
{
|
||||
@@ -728,9 +758,9 @@ namespace MonoTests.System.IO
|
||||
try {
|
||||
info.MoveTo (destFile);
|
||||
Assert.Fail ("#1");
|
||||
} catch (DirectoryNotFoundException ex) {
|
||||
} catch (FileNotFoundException ex) {
|
||||
// Could not find a part of the path
|
||||
Assert.AreEqual (typeof (DirectoryNotFoundException), ex.GetType (), "#2");
|
||||
Assert.AreEqual (typeof (FileNotFoundException), ex.GetType (), "#2");
|
||||
Assert.IsNull (ex.InnerException, "#3");
|
||||
Assert.IsNotNull (ex.Message, "#4");
|
||||
}
|
||||
@@ -853,6 +883,29 @@ namespace MonoTests.System.IO
|
||||
}
|
||||
}
|
||||
|
||||
[Test] //Covers #38796
|
||||
public void ToStringAfterMoveTo ()
|
||||
{
|
||||
string name1 = "FIT.ToStringAfterMoveTo.Test";
|
||||
string name2 = "FIT.ToStringAfterMoveTo.Test.Alt";
|
||||
string path1 = TempFolder + DSC + name1;
|
||||
string path2 = TempFolder + DSC + name2;
|
||||
DeleteFile (path1);
|
||||
DeleteFile (path2);
|
||||
|
||||
try {
|
||||
File.Create (path1).Close ();
|
||||
FileInfo info = new FileInfo (path1);
|
||||
Assert.AreEqual (path1, info.ToString (), "#A");
|
||||
|
||||
info.MoveTo (path2);
|
||||
Assert.AreEqual (path2, info.ToString (), "#B");
|
||||
} finally {
|
||||
DeleteFile (path1);
|
||||
DeleteFile (path2);
|
||||
}
|
||||
}
|
||||
|
||||
#if !MOBILE
|
||||
[Test]
|
||||
public void Replace1 ()
|
||||
|
||||
@@ -1728,5 +1728,30 @@ namespace MonoTests.System.IO
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[Test] // Covers #11699
|
||||
public void ReadWriteFileLength ()
|
||||
{
|
||||
int bufferSize = 128;
|
||||
int readLength = 1;
|
||||
int writeLength = bufferSize + 1;
|
||||
|
||||
string path = TempFolder + DSC + "readwritefilelength.tmp";
|
||||
|
||||
try {
|
||||
File.WriteAllBytes (path, new byte [readLength + 1]);
|
||||
|
||||
using (var file = new FileStream (path, FileMode.Open, FileAccess.ReadWrite, FileShare.Read,
|
||||
bufferSize, FileOptions.SequentialScan))
|
||||
{
|
||||
file.Read (new byte [readLength], 0, readLength);
|
||||
file.Write (new byte [writeLength], 0, writeLength);
|
||||
|
||||
Assert.AreEqual (readLength + writeLength, file.Length);
|
||||
}
|
||||
} finally {
|
||||
DeleteFile (path);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1586,6 +1586,7 @@ namespace MonoTests.System.Reflection.Emit
|
||||
Assert.IsFalse (arr.IsGenericParameter, "#8");
|
||||
Assert.IsFalse (arr.IsGenericType, "#9");
|
||||
Assert.IsFalse (arr.IsGenericTypeDefinition, "#10");
|
||||
Assert.IsTrue (arr is TypeInfo, "#11");
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -1664,6 +1665,7 @@ namespace MonoTests.System.Reflection.Emit
|
||||
Assert.AreEqual ("F[]", arr.Name, "#21");
|
||||
|
||||
Assert.AreEqual (gparam, arr.GetElementType (), "#22");
|
||||
Assert.IsTrue (arr is TypeInfo, "#23");
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -1718,6 +1720,7 @@ namespace MonoTests.System.Reflection.Emit
|
||||
Assert.AreEqual ("enum[]", arr.Name, "#21");
|
||||
|
||||
Assert.AreEqual (eb, arr.GetElementType (), "#22");
|
||||
Assert.IsTrue (arr is TypeInfo, "#23");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.ExceptionServices;
|
||||
using System.Linq;
|
||||
|
||||
using NUnit.Framework;
|
||||
|
||||
@@ -517,7 +518,10 @@ namespace MonoTests.System.Reflection.Emit
|
||||
invoke (456324);
|
||||
|
||||
Assert.IsNotNull (ExceptionHandling_Test_Support.Caught, "#1");
|
||||
Assert.AreEqual (2, ExceptionHandling_Test_Support.CaughtStackTrace.Split (new[] { Environment.NewLine }, StringSplitOptions.None).Length, "#2");
|
||||
|
||||
var lines = ExceptionHandling_Test_Support.CaughtStackTrace.Split (new[] { Environment.NewLine }, StringSplitOptions.None);
|
||||
lines = lines.Where (l => !l.StartsWith ("[")).ToArray ();
|
||||
Assert.AreEqual (2, lines.Length, "#2");
|
||||
|
||||
var st = new StackTrace (ExceptionHandling_Test_Support.Caught, 0, true);
|
||||
|
||||
@@ -552,9 +556,12 @@ namespace MonoTests.System.Reflection.Emit
|
||||
|
||||
public static void Handler (Exception e)
|
||||
{
|
||||
var split = e.StackTrace.Split (new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
|
||||
Assert.AreEqual (5, split.Length, "#1");
|
||||
Assert.IsTrue (split [1].Contains ("---"), "#2");
|
||||
var lines = e.StackTrace.Split (new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
|
||||
// Ignore Metadata
|
||||
lines = lines.Where (l => !l.StartsWith ("[")).ToArray ();
|
||||
|
||||
Assert.AreEqual (5, lines.Length, "#1");
|
||||
Assert.IsTrue (lines [1].Contains ("---"), "#2");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// (C) 2004 Ximian, Inc. http://www.ximian.com
|
||||
//
|
||||
|
||||
#if !MONOTOUCH
|
||||
#if !MONOTOUCH && !MOBILE_STATIC
|
||||
|
||||
using System;
|
||||
using System.Threading;
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Configuration.Assemblies;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
#if !MONOTOUCH
|
||||
#if !MONOTOUCH && !MOBILE_STATIC
|
||||
using System.Reflection.Emit;
|
||||
#endif
|
||||
using System.Threading;
|
||||
@@ -182,7 +182,10 @@ namespace MonoTests.System.Reflection
|
||||
// note: only available in default appdomain
|
||||
// http://weblogs.asp.net/asanto/archive/2003/09/08/26710.aspx
|
||||
// Not sure we should emulate this behavior.
|
||||
#if !MONODROID
|
||||
#if __WATCHOS__
|
||||
Assert.IsNull (Assembly.GetEntryAssembly (), "GetEntryAssembly");
|
||||
Assert.IsTrue (AppDomain.CurrentDomain.IsDefaultAppDomain (), "!default appdomain");
|
||||
#elif !MONODROID
|
||||
string fname = AppDomain.CurrentDomain.FriendlyName;
|
||||
if (fname.EndsWith (".dll")) { // nunit-console
|
||||
Assert.IsNull (Assembly.GetEntryAssembly (), "GetEntryAssembly");
|
||||
@@ -197,7 +200,7 @@ namespace MonoTests.System.Reflection
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !MONOTOUCH // Reflection.Emit is not supported.
|
||||
#if !MONOTOUCH && !MOBILE_STATIC // Reflection.Emit is not supported.
|
||||
[Test]
|
||||
[Category("AndroidNotWorking")] // Missing Mono.CompilerServices.SymbolWriter
|
||||
public void GetModules_MissingFile ()
|
||||
@@ -249,7 +252,7 @@ namespace MonoTests.System.Reflection
|
||||
public void Corlib_test ()
|
||||
{
|
||||
Assembly corlib_test = Assembly.GetExecutingAssembly ();
|
||||
#if MONODROID
|
||||
#if MONODROID || MOBILE_STATIC || __WATCHOS__
|
||||
Assert.IsNull (corlib_test.EntryPoint, "EntryPoint");
|
||||
Assert.IsNull (corlib_test.Evidence, "Evidence");
|
||||
#elif MOBILE
|
||||
@@ -457,7 +460,18 @@ namespace MonoTests.System.Reflection
|
||||
[Test]
|
||||
public void LoadWithPartialName ()
|
||||
{
|
||||
string [] names = { "corlib_test_net_1_1", "corlib_test_net_2_0", "corlib_test_net_4_0", "corlib_test_net_4_5", "corlib_test_net_4_x", "corlib_plattest", "mscorlibtests", "BclTests" };
|
||||
// FIXME?
|
||||
// So the problem here is that if we load an assembly
|
||||
// in a fully aot mode and then cannot load the
|
||||
// dylib, we will assert. This test is incompatible
|
||||
// with the semantics of aot'ed assembly loading, as
|
||||
// aot may assert when loading. This assumes that it's
|
||||
// safe to greedly load everything.
|
||||
#if MOBILE_STATIC
|
||||
string [] names = { "mobile_static_corlib_test" };
|
||||
#else
|
||||
string [] names = { "corlib_test_net_1_1", "corlib_test_net_2_0", "corlib_test_net_4_0", "corlib_test_net_4_5", "net_4_x_corlib_test", "corlib_plattest", "mscorlibtests", "BclTests" };
|
||||
#endif
|
||||
|
||||
foreach (string s in names)
|
||||
if (Assembly.LoadWithPartialName (s) != null)
|
||||
@@ -502,7 +516,7 @@ namespace MonoTests.System.Reflection
|
||||
}
|
||||
}
|
||||
|
||||
#if !MONOTOUCH // Reflection.Emit is not supported.
|
||||
#if !MONOTOUCH && !MOBILE_STATIC // Reflection.Emit is not supported.
|
||||
[Test]
|
||||
public void Location_Empty() {
|
||||
string assemblyFileName = Path.Combine (
|
||||
@@ -1175,7 +1189,7 @@ namespace MonoTests.System.Reflection
|
||||
|
||||
Assert.AreEqual ("MonoModule", module.GetType ().Name, "#2");
|
||||
|
||||
#if !MONOTOUCH
|
||||
#if !MONOTOUCH && !MOBILE_STATIC
|
||||
Assert.AreEqual ("mscorlib.dll", module.Name, "#3");
|
||||
#endif
|
||||
Assert.IsFalse (module.IsResource (), "#4");
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user