Author: markt
Date: Thu Oct 5 13:20:14 2017
New Revision: 1811206
URL: http://svn.apache.org/viewvc?rev=1811206&view=rev
Log:
Update test to fix failure after newInstance() refactoring
Modified:
tomcat/trunk/test/org/apache/catalina/startup/TestWebappServiceLoader.java
Modified:
tomcat/trunk/test/org/apache/catalina/startup/TestWebappServiceLoader.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/startup/TestWebappServiceLoader.java?rev=1811206&r1=1811205&r2=1811206&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/startup/TestWebappServiceLoader.java
(original)
+++ tomcat/trunk/test/org/apache/catalina/startup/TestWebappServiceLoader.java
Thu Oct 5 13:20:14 2017
@@ -172,7 +172,7 @@ public class TestWebappServiceLoader {
try {
loader.loadServices(ServletContainerInitializer.class, names);
} catch (IOException e) {
- Assert.assertTrue(e.getCause() instanceof InstantiationException);
+ Assert.assertTrue(e.getCause() instanceof
ReflectiveOperationException);
} finally {
control.verify();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]