Fix warnings in mscorlib's Test suite + bring a couple more tests + fix thread rename...
[mono.git] / mcs / class / corlib / Test / System.Reflection / AssemblyNameCas.cs
index 25cb1821a821590d64b2891d3ee2abcb2d02c493..087297b6f24006566fe9f1838c48c35a1a206b09 100644 (file)
@@ -42,7 +42,6 @@ namespace MonoCasTests.System.Reflection {
        public class AssemblyNameCas {
 
                private MonoTests.System.Reflection.AssemblyNameTest ant;
-               private AssemblyName main;
 
                [TestFixtureSetUp]
                public void FixtureSetUp ()
@@ -71,9 +70,9 @@ namespace MonoCasTests.System.Reflection {
                public void PartialTrust_Deny_Unrestricted ()
                {
                        // call "normal" unit with reduced privileges
-                       ant.EmptyAssembly ();
-                       ant.PublicKey ();
-                       ant.PublicKeyToken ();
+                       ant.Constructor0 ();
+                       ant.SetPublicKey ();
+                       ant.SetPublicKeyToken ();
                        ant.Clone_Empty ();
                }
 
@@ -121,14 +120,14 @@ namespace MonoCasTests.System.Reflection {
                public void PartialTrust_PermitOnly_FileIOPermission ()
                {
                        // call "normal" unit with reduced privileges
-                       ant.FullName1 ();
-                       ant.FullName2 ();
-                       ant.FullName3 ();
-                       ant.FullName4 ();
-                       ant.FullName5 ();
-                       ant.FullName6 ();
-                       ant.FullName7 ();
-                       ant.FullName8 ();
+                       ant.FullName_Name ();
+                       ant.FullName_Version ();
+                       ant.FullName_Culture ();
+                       ant.FullName_PublicKey ();
+                       ant.FullName_PublicKeyToken ();
+                       ant.FullName_VersionCulture ();
+                       ant.FullName_VersionPublicKey ();
+                       ant.FullName_CulturePublicKey ();
                        ant.HashAlgorithm ();
                        ant.Clone_Empty ();
                        // mostly because they call Assembly.GetName