jmeter-commits mailing list archives

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

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

Improve messages, remove unused imports (Thanks Graham)

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=1854233&r1=1854232&r2=1854233&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:43:27 2019
@@ -18,9 +18,7 @@
 package org.apache.jmeter.assertions
 
 import org.apache.jmeter.assertions.gui.AssertionGui;
-import org.apache.commons.lang3.StringUtils
 import org.apache.jmeter.junit.spock.JMeterSpec
-import org.apache.jmeter.samplers.SampleResult
 import spock.lang.Unroll
 
 import java.nio.charset.StandardCharsets
@@ -37,14 +35,14 @@ class AssertionGuiSpec extends JMeterSpe
             notThrown(Exception)
     }
     
-    def "clearGui fails"() {
+    def "GUI component fields clearing fails"() {
         when:
             sut.clearGui()
         then:
             notThrown(Exception)
     }
     
-    def "createTestElement fails"() {
+    def "Creation of ResponseAssertion fails"() {
         when:
             def result = sut.createTestElement()
         then:
@@ -52,7 +50,7 @@ class AssertionGuiSpec extends JMeterSpe
             result.isEnabled()
     }
     
-    def "modifyElement has unexpected behaviour"() {
+    def "Modification of ResponseAssertion by GUI has unexpected behaviour"() {
         given:
             def element = new ResponseAssertion();
             sut.clearGui()
@@ -67,7 +65,7 @@ class AssertionGuiSpec extends JMeterSpe
             element.isSubstringType()
     }
     
-    def "configure has unexpected behaviour"() {
+    def "Modification of GUI by ResponseAssertion has unexpected behaviour"() {
         given:
             def element = new ResponseAssertion();
         when:



Mime
View raw message