Author: pmouawad
Date: Fri Mar  1 19:33:22 2019
New Revision: 1854615

URL: http://svn.apache.org/viewvc?rev=1854615&view=rev
Log:
Better naming and no need to extend JMeterSpec

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=1854615&r1=1854614&r2=1854615&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 
Fri Mar  1 19:33:22 2019
@@ -18,27 +18,28 @@
 package org.apache.jmeter.assertions.gui
 
 import org.apache.jmeter.assertions.ResponseAssertion
-import org.apache.jmeter.junit.spock.JMeterSpec
 
-class AssertionGuiSpec extends JMeterSpec {
+import spock.lang.Specification
+
+class AssertionGuiSpec extends Specification {
 
     def sut = new AssertionGui()
 
-    def "init of component doesn't fail"() {
+    def "init of new component does not throw an exception"() {
         when:
             sut.init()
         then:
             noExceptionThrown()
     }
 
-    def "clearing GUI component fields doesn't fail"() {
+    def "clearing GUI component fields does not throw an exception"() {
         when:
             sut.clearGui()
         then:
             noExceptionThrown()
     }
 
-    def "Creation of ResponseAssertion doesn't fail"() {
+    def "Creation of ResponseAssertion sets name of element and enables it"() {
         when:
             def result = sut.createTestElement()
         then:
@@ -61,7 +62,7 @@ class AssertionGuiSpec extends JMeterSpe
             element.isSubstringType()
     }
 
-    def "Modification of GUI by ResponseAssertion has no unexpected 
behaviour"() {
+    def "Modification of GUI by ResponseAssertion does not throw an 
exception"() {
         given:
             def element = new ResponseAssertion()
         when:


Reply via email to