From a5ada07b45e09501af6d84b7a63565a4a612eaad Mon Sep 17 00:00:00 2001 From: Swaroop Sridhar Date: Wed, 22 Mar 2017 15:22:46 -0700 Subject: [PATCH] Add reflect.xml for a abstract* tests For the abstract* tests in question: The tests check for TypeLoad exception from a derived class that doesn't implement an abstract method in base class. However, the Linker removed the abstract method from base, so there is no exception. Therefore, add reflect.xml to override the linker's behavior and enable testing for TypeLoadException. Commit migrated from https://github.com/dotnet/coreclr/commit/f36d5b00cadd97983a917f130fd7da875e6f2c83 --- .../generics/Instantiation/Negative/abstract02.reflect.xml | 5 +++++ .../generics/Instantiation/Negative/abstract03.reflect.xml | 5 +++++ .../generics/Instantiation/Negative/abstract04.reflect.xml | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract02.reflect.xml create mode 100644 src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract03.reflect.xml create mode 100644 src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract04.reflect.xml diff --git a/src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract02.reflect.xml b/src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract02.reflect.xml new file mode 100644 index 0000000..237cb23 --- /dev/null +++ b/src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract02.reflect.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract03.reflect.xml b/src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract03.reflect.xml new file mode 100644 index 0000000..38bfab9 --- /dev/null +++ b/src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract03.reflect.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract04.reflect.xml b/src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract04.reflect.xml new file mode 100644 index 0000000..a780585 --- /dev/null +++ b/src/coreclr/tests/src/Loader/classloader/generics/Instantiation/Negative/abstract04.reflect.xml @@ -0,0 +1,5 @@ + + + + + -- 2.7.4