jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1812818 - /jmeter/trunk/test/src/org/apache/jmeter/extractor/TestBoundaryExtractor.java
Date Sat, 21 Oct 2017 10:42:00 GMT
Author: pmouawad
Date: Sat Oct 21 10:42:00 2017
New Revision: 1812818

URL: http://svn.apache.org/viewvc?rev=1812818&view=rev
Log:
Fix wrong test

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/extractor/TestBoundaryExtractor.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/extractor/TestBoundaryExtractor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestBoundaryExtractor.java?rev=1812818&r1=1812817&r2=1812818&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/extractor/TestBoundaryExtractor.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/extractor/TestBoundaryExtractor.java Sat Oct 21
10:42:00 2017
@@ -156,10 +156,11 @@ public class TestBoundaryExtractor {
         assertEquals("PARENT", vars.get("regVal"));
         extractor.setLeftBoundary("<title>");
         extractor.setRightBoundary("</title>");
-        extractor.setScopeAll();
+        extractor.setScopeChildren();
         extractor.process();
         final String found = vars.get("regVal");
-        assertTrue(found.equals("ONE") || found.equals("TWO"));
+        assertTrue(found.equals("ONE") || found.equals("TWO")
+                || found.equals("THREE"));
     }
     
     @Test



Mime
View raw message