2004-01-03 Ben Maurer <bmaurer@users.sourceforge.net>
[mono.git] / mcs / tests / README.tests
index 075d2092e9d6ed094dd8600794d96575f91ce9d2..4e261ba2fbf51cf82b90bf07549f4ed74bd5ff38 100644 (file)
@@ -1,9 +1,9 @@
 Test cases listed by Category:
 ==============================
 
-* Binary operators
+* Operators
 
-  test-146.cs test-175.cs
+  test-146.cs test-175.cs test-200.cs test-204.cs
 
 * Overloading
 
@@ -15,7 +15,7 @@ Test cases listed by Category:
 
 * Indexers and Properties
 
-  test-148.cs test-166.cs
+  test-148.cs test-166.cs test-206.cs test-208.cs test-209.cs test-221.cs
 
 * Events and Delegates
 
@@ -33,9 +33,9 @@ Test cases listed by Category:
 
   test-151.cs test-159.cs test-160.cs test-161.cs test-190.cs
 
-* Invocation
+* Invocation and Casts
 
-  test-153.cs test-163.c
+  test-153.cs test-163.c test-207.cs test-210.cs test-211.cs test-223.cs
 
 * Flow Analysis
 
@@ -61,6 +61,10 @@ Test cases listed by Category:
 
   verify-6.cs
 
+* Type resolution and name lookup
+
+  test-198.cs test-201.cs test-202.cs test-203.cs test-214.cs
+
 Test cases listed by Number:
 ============================
 
@@ -180,6 +184,12 @@ test-177.cs
 This tests that the compiler is generating "return:" attributes for a 
 method.  This was a separate code path, and was not handled in the past.
 
+
+test-178.cs
+-----------
+Ensure that we emit attributes only once for operators. Bug #45876
+
+
 test-179.cs
 -----------
 Tests various uses of the indexers in the presence of the `new' keyword
@@ -234,6 +244,10 @@ Test that the foreach statement generated by mcs invokes the Dispose()
 method even if the enumerator class returned by GetEnumerator () does not
 implement IDisposable.
 
+test-189.cs
+-----------
+Test to ensure proper overload resolution of params method under various cases.
+
 test-190.cs
 -----------
 Accessing private field of outer class from which we derive.
@@ -261,6 +275,149 @@ Fix for bug #39108 - ensure that the correct form of a params method is called:
 object[]) affects resolution of normal/expanded form
 of method invocation."
 
+test-195.cs
+-----------
+
+Fix for bug #45149, constructors that call another constructor in the
+same class (using ": this()") should not emit instance field initializers. 
+
+test-196.cs:
+------------
+
+The optimization that we perform in uint & int-constant was triggering a bug
+because we returned always, when we should have continued the processing if the
+conditions were not correct.
+
+test-197.cs
+-----------
+
+Fix for bug #42973.
+
+test-198.cs
+-----------
+
+Type resolution and name lookup.  Fixes for bugs #36316, #36314.
+
+test-199.cs
+-----------
+
+Name resolution wrt. inaccessible types.  Fixes bug #36313.
+
+test-200.cs
+-----------
+
+Compound assignment (x = (y += 3)).  Fixes bug #45854.
+
+test-201.cs
+-----------
+
+Fix for bug #35631.
+
+test-202.cs
+-----------
+
+Fix for bug #41975.
+
+test-203.cs
+-----------
+
+Fix for bug #33026.
+
+test-204.cs
+-----------
+
+User defined conditional logical operators; bug #40505.
+
+test-206.cs
+-----------
+
+Indexers; bug #46502.
+
+test-207.cs
+-----------
+
+Expressions which return delegates.
+
+test-208.cs
+-----------
+
+Indexers; bug #46788.
+
+test-209.cs
+-----------
+
+Embedded assignments; while fixing a bug and making a mistake, I discovered some
+problems during class libs compilation.  Let's just add a testcase for them here.
+
+test-210.cs
+-----------
+
+Cast something to a delegate and then invoke it; bug #46923.
+
+test-211.cs
+-----------
+
+Multiple casts.
+
+test-212.cs
+-----------
+
+Params overload resolution with implicit user conversion
+
+test-213.cs
+-----------
+
+Unboxing struct from interface type; bug #47822.
+
+test-214.cs
+-----------
+
+Namespace lookups; bug #47853.
+
+test-215.cs
+-----------
+
+Namespace lookups; bug #47927.
+
+test-216.cs:
+------------
+Accessability bug fix #48710 on events
+
+test-217.cs
+-----------
+
+>= and <= operators; bug #48679
+
+test-218.cs
+-----------
+Tests delegate creation inside an array;  This exposed a bug in the
+fact that New is called for DoResolve twice from array initialization.
+Bug #48800
+
+test-219.cs:
+------------
+Tests that we can call typeof(void) in an attribtue delcaration, since
+we removed previously typeof (System.Void) as a valid way of referencing void.
+
+test-220.cs:
+------------
+Test for a bug in foreach, where it would pick the wrong GetEnumerator in a class.
+Bug # was 51446
+
+test-221.cs:
+------------
+Test for correct scanning for base properties.
+
+test-222.cs:
+------------
+Compilation test to check overload resolution. We should prefer int->uint over int->ulong.
+
+test-223.cs:
+------------
+This tests that conversions from Enum and ValueType to structs
+are treated as unboxing conversions, and the `unbox' opcode
+is emitted. #52569.
+
 verify-1.cs
 -----------
 Test whether we do not jump out of the method in a Try/Finally block.
@@ -287,4 +444,59 @@ Casts from/to System.Enum.
 unsafe-6.cs:
 ------------
 Tests the correct computation of compound operators in the context of a pointer 
-dereference on the left side.
\ No newline at end of file
+dereference on the left side.
+
+gen-1.cs:
+---------
+
+Simple constructed type.
+
+gen-2.cs:
+---------
+
+Type parameter as field.
+
+gen-3.cs:
+---------
+
+Field of constructed type.
+
+gen-4.cs:
+---------
+
+Method argument of constructed type.
+
+gen-5.cs:
+---------
+
+Local variable of constructed type.
+
+gen-6.cs:
+---------
+
+More complex example.
+
+gen-7.cs:
+---------
+
+Constructed type deriving from a class type.
+
+gen-8.cs:
+---------
+
+`where' clauses.
+
+gen-9.cs:
+---------
+
+`where T : ICloneable' and then calling t.Clone ().
+
+gen-10.cs:
+----------
+
+`where T : I, J' - I is an inferface, J a class.
+
+gen-15.cs:
+----------
+
+Generic methods.