Examples of TestAssertionConfig


Examples of com.eviware.soapui.config.TestAssertionConfig

        getConfig().removeAssertion( ix );
      }

      public TestAssertionConfig insertAssertion( TestAssertionConfig source, int ix )
      {
        TestAssertionConfig conf = getConfig().insertNewAssertion( ix );
        conf.set( source );
        return conf;
      }
    } );
  }
View Full Code Here

Examples of com.eviware.soapui.config.TestAssertionConfig

        getConfig().removeAssertion( ix );
      }

      public TestAssertionConfig insertAssertion( TestAssertionConfig source, int ix )
      {
        TestAssertionConfig conf = getConfig().insertNewAssertion( ix );
        conf.set( source );
        return conf;
      }

    } );
  }
View Full Code Here

Examples of com.eviware.soapui.config.TestAssertionConfig

        getAMFRequestTestStepConfig().removeAssertion( ix );
      }

      public TestAssertionConfig insertAssertion( TestAssertionConfig source, int ix )
      {
        TestAssertionConfig conf = getAMFRequestTestStepConfig().insertNewAssertion( ix );
        conf.set( source );
        return conf;
      }
    } );
  }
View Full Code Here

Examples of com.eviware.soapui.config.TestAssertionConfig

        getJdbcRequestTestStepConfig().removeAssertion( ix );
      }

      public TestAssertionConfig insertAssertion( TestAssertionConfig source, int ix )
      {
        TestAssertionConfig conf = getJdbcRequestTestStepConfig().insertNewAssertion( ix );
        conf.set( source );
        return conf;
      }
    } );
  }
View Full Code Here

Examples of com.eviware.soapui.config.TestAssertionConfig

        mockResponseStepConfig.removeAssertion( ix );
      }

      public TestAssertionConfig insertAssertion( TestAssertionConfig source, int ix )
      {
        TestAssertionConfig conf = mockResponseStepConfig.insertNewAssertion( ix );
        conf.set( source );
        return conf;
      }
    } );
  }
View Full Code Here

Examples of com.eviware.soapui.config.TestAssertionConfig

  {
    PropertyChangeNotifier notifier = new PropertyChangeNotifier();

    try
    {
      TestAssertionConfig assertionConfig = mockResponseStepConfig.addNewAssertion();
      assertionConfig.setType( TestAssertionRegistry.getInstance().getAssertionTypeForName( assertionName ) );

      WsdlMessageAssertion assertion = assertionsSupport.addWsdlAssertion( assertionConfig );
      assertionsSupport.fireAssertionAdded( assertion );

      if( getMockResponse().getMockResult() != null )
View Full Code Here

Examples of com.eviware.soapui.config.TestAssertionConfig

    }
  }

  public WsdlMessageAssertion cloneAssertion( TestAssertion source, String name )
  {
    TestAssertionConfig conf = mockResponseStepConfig.addNewAssertion();
    conf.set( ( ( WsdlMessageAssertion )source ).getConfig() );
    conf.setName( name );

    WsdlMessageAssertion result = assertionsSupport.addWsdlAssertion( conf );
    assertionsSupport.fireAssertionAdded( result );
    return result;
  }
View Full Code Here

Examples of com.eviware.soapui.config.TestAssertionConfig

        assertThat(assertion.getId(), is(notNullValue()));
    }

    @Test
    public void testCreate() throws Exception {
        TestAssertionConfig config = createConfig("testPath", "testContent");

        XPathContainsAssertion assertion = new XPathContainsAssertion(config, null);

        assertEquals("testPath", assertion.getPath());
        assertEquals("testContent", assertion.getExpectedContent());
View Full Code Here

Examples of com.eviware.soapui.config.TestAssertionConfig

            public void removeAssertion(int ix) {
                getConfig().removeAssertion(ix);
            }

            public TestAssertionConfig insertAssertion(TestAssertionConfig source, int ix) {
                TestAssertionConfig conf = getConfig().insertNewAssertion(ix);
                conf.set(source);
                return conf;
            }
        });
    }
View Full Code Here

Examples of com.eviware.soapui.config.TestAssertionConfig

        }
        // if first selected can't move up and if last selected can't move down
        if ((ix == 0 && offset == -1) || (ix == assertions.size() - 1 && offset == 1)) {
            return assertion;
        }
        TestAssertionConfig conf = assertion.getConfig();
        XmlObject newXmlObject = conf.copy();

        TestAssertionConfig newConf = TestAssertionConfig.Factory.newInstance();
        newConf.set(newXmlObject);
        WsdlMessageAssertion newAssertion = TestAssertionRegistry.getInstance().buildAssertion(newConf, assertable);

        assertion.removePropertyChangeListener(this);
        assertions.remove(ix);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.