Author: fschumacher Date: Sun Dec 2 11:35:31 2018 New Revision: 1847990 URL: http://svn.apache.org/viewvc?rev=1847990&view=rev Log: Adapt test case to new method of constructing instances
Part of #435 and Bugzilla Id: 62972 Modified: jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java Modified: jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java?rev=1847990&r1=1847989&r2=1847990&view=diff ============================================================================== --- jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java (original) +++ jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java Sun Dec 2 11:35:31 2018 @@ -326,7 +326,7 @@ public class TestHTMLParser extends JMet HTMLParser.getParser(TestClass.class.getName()); fail("Should not have been able to create the parser"); } catch (LinkExtractorParseException e) { - if (e.getCause() instanceof InstantiationException) { + if (e.getCause() instanceof ReflectiveOperationException) { return; } throw e;