You've already forked linux-packaging-mono
Imported Upstream version 4.2.0.179
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
This commit is contained in:
committed by
Jo Shields
parent
183bba2c9a
commit
6992685b86
@ -136,6 +136,7 @@ namespace MonoTests.System.Reflection.Emit
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("AndroidNotWorking")] // Missing Mono.CompilerServices.SymbolWriter assembly
|
||||
public void DefineType_Name_Null ()
|
||||
{
|
||||
AssemblyBuilder ab = genAssembly ();
|
||||
@ -152,6 +153,7 @@ namespace MonoTests.System.Reflection.Emit
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("AndroidNotWorking")] // Missing Mono.CompilerServices.SymbolWriter assembly
|
||||
public void DefineType_Name_Empty ()
|
||||
{
|
||||
AssemblyBuilder ab = genAssembly ();
|
||||
@ -169,6 +171,7 @@ namespace MonoTests.System.Reflection.Emit
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("AndroidNotWorking")] // Missing Mono.CompilerServices.SymbolWriter assembly
|
||||
public void DefineType_Name_NullChar ()
|
||||
{
|
||||
AssemblyBuilder ab = genAssembly ();
|
||||
@ -188,6 +191,7 @@ namespace MonoTests.System.Reflection.Emit
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("AndroidNotWorking")] // Missing Mono.CompilerServices.SymbolWriter assembly
|
||||
public void DefineType_InterfaceNotAbstract ()
|
||||
{
|
||||
AssemblyBuilder ab = genAssembly ();
|
||||
@ -224,6 +228,7 @@ namespace MonoTests.System.Reflection.Emit
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("AndroidNotWorking")] // Missing Mono.CompilerServices.SymbolWriter assembly
|
||||
public void DefineType_Parent_Interface ()
|
||||
{
|
||||
TypeBuilder tb;
|
||||
@ -241,6 +246,19 @@ namespace MonoTests.System.Reflection.Emit
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("AndroidNotWorking")] // Missing Mono.CompilerServices.SymbolWriter assembly
|
||||
public void DefineType_TypeSize ()
|
||||
{
|
||||
AssemblyBuilder ab = genAssembly ();
|
||||
ModuleBuilder mb = ab.DefineDynamicModule ("foo.dll", "foo.dll", true);
|
||||
|
||||
TypeBuilder tb = mb.DefineType ("Foo", TypeAttributes.Public | TypeAttributes.Sealed | TypeAttributes.SequentialLayout,
|
||||
typeof (ValueType), 1);
|
||||
Assert.AreEqual (1, tb.Size);
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("AndroidNotWorking")] // Missing Mono.CompilerServices.SymbolWriter assembly
|
||||
[ExpectedException (typeof (ArgumentException))]
|
||||
public void DuplicateTypeName () {
|
||||
AssemblyBuilder ab = genAssembly ();
|
||||
@ -256,6 +274,7 @@ namespace MonoTests.System.Reflection.Emit
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("AndroidNotWorking")] // Missing Mono.CompilerServices.SymbolWriter assembly
|
||||
public void DuplicateSymbolDocument ()
|
||||
{
|
||||
AssemblyBuilder ab = genAssembly ();
|
||||
|
Reference in New Issue
Block a user