projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
diff --git
a/mcs/class/corlib/Test/System.Reflection/AssemblyNameCas.cs
b/mcs/class/corlib/Test/System.Reflection/AssemblyNameCas.cs
index 25cb1821a821590d64b2891d3ee2abcb2d02c493..087297b6f24006566fe9f1838c48c35a1a206b09 100644
(file)
--- a/
mcs/class/corlib/Test/System.Reflection/AssemblyNameCas.cs
+++ b/
mcs/class/corlib/Test/System.Reflection/AssemblyNameCas.cs
@@
-42,7
+42,6
@@
namespace MonoCasTests.System.Reflection {
public class AssemblyNameCas {
private MonoTests.System.Reflection.AssemblyNameTest ant;
public class AssemblyNameCas {
private MonoTests.System.Reflection.AssemblyNameTest ant;
- private AssemblyName main;
[TestFixtureSetUp]
public void FixtureSetUp ()
[TestFixtureSetUp]
public void FixtureSetUp ()
@@
-71,9
+70,9
@@
namespace MonoCasTests.System.Reflection {
public void PartialTrust_Deny_Unrestricted ()
{
// call "normal" unit with reduced privileges
public void PartialTrust_Deny_Unrestricted ()
{
// call "normal" unit with reduced privileges
- ant.
EmptyAssembly
();
- ant.PublicKey ();
- ant.PublicKeyToken ();
+ ant.
Constructor0
();
+ ant.
Set
PublicKey ();
+ ant.
Set
PublicKeyToken ();
ant.Clone_Empty ();
}
ant.Clone_Empty ();
}
@@
-121,14
+120,14
@@
namespace MonoCasTests.System.Reflection {
public void PartialTrust_PermitOnly_FileIOPermission ()
{
// call "normal" unit with reduced privileges
public void PartialTrust_PermitOnly_FileIOPermission ()
{
// call "normal" unit with reduced privileges
- ant.FullName
1
();
- ant.FullName
2
();
- ant.FullName
3
();
- ant.FullName
4
();
- ant.FullName
5
();
- ant.FullName
6
();
- ant.FullName
7
();
- ant.FullName
8
();
+ 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
ant.HashAlgorithm ();
ant.Clone_Empty ();
// mostly because they call Assembly.GetName