jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1847990 - /jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestHTMLParser.java
Date Sun, 02 Dec 2018 11:35:31 GMT
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;



Mime
View raw message