jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1854231 - /jmeter/trunk/test/src/org/apache/jmeter/assertions/gui/AssertionGuiSpec.groovy
Date Sat, 23 Feb 2019 17:11:38 GMT
Author: pmouawad
Date: Sat Feb 23 17:11:37 2019
New Revision: 1854231

URL: http://svn.apache.org/viewvc?rev=1854231&view=rev
Log:
Add tests for AssertionGui

Fix wrong test

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/assertions/gui/AssertionGuiSpec.groovy

Modified: jmeter/trunk/test/src/org/apache/jmeter/assertions/gui/AssertionGuiSpec.groovy
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/assertions/gui/AssertionGuiSpec.groovy?rev=1854231&r1=1854230&r2=1854231&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/assertions/gui/AssertionGuiSpec.groovy (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/assertions/gui/AssertionGuiSpec.groovy Sat Feb
23 17:11:37 2019
@@ -55,6 +55,7 @@ class AssertionGuiSpec extends JMeterSpe
     def "modifyElement has unexpected behaviour"() {
         given:
             def element = new ResponseAssertion();
+            sut.clearGui()
         when:
             sut.modifyTestElement(element)
         then:
@@ -62,8 +63,8 @@ class AssertionGuiSpec extends JMeterSpe
             element.isTestFieldResponseData()
             element.getTestStrings().isEmpty()
             !element.getAssumeSuccess()
-            element.isSubstringType()
             !element.isNotType()
+            element.isSubstringType()
     }
     
     def "configure has unexpected behaviour"() {



Mime
View raw message