Examples of WsdlTestStep


Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep

  public void moveTestStep( int ix, int offset )
  {
    if( offset == 0 )
      return;
    WsdlTestStep step = testSteps.get( ix );

    if( ix + offset >= testSteps.size() )
      offset = testSteps.size() - ix - 1;

    testSteps.remove( ix );
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep

    sourceStepModel.addElement( transferStep.getTestCase().getTestSuite() );
    sourceStepModel.addElement( transferStep.getTestCase() );

    for( int c = 0; c < transferStep.getTestCase().getTestStepCount(); c++ )
    {
      WsdlTestStep testStep = transferStep.getTestCase().getTestStepAt( c );
      if( testStep == transferStep )
        continue;

      sourceStepModel.addElement( testStep );
    }
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep

   * @param sourceTestStep
   * @return TestStep
   */
  public TestStep cloneForSecurityScan( WsdlTestStep sourceTestStep )
  {
    WsdlTestStep clonedTestStep = null;
    TestStepConfig testStepConfig = ( TestStepConfig )sourceTestStep.getConfig().copy();
    WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory( testStepConfig.getType() );
    if( factory != null )
    {
      clonedTestStep = factory.buildTestStep( securityTest.getTestCase(), testStepConfig, false );
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep

   * @param sourceTestStep
   * @return TestStep
   */
  public static TestStep cloneTestStepForSecurityScan( WsdlTestStep sourceTestStep )
  {
    WsdlTestStep clonedTestStep = null;
    TestStepConfig testStepConfig = ( TestStepConfig )sourceTestStep.getConfig().copy();
    WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory( testStepConfig.getType() );
    if( factory != null )
    {
      clonedTestStep = factory.buildTestStep( sourceTestStep.getTestCase(), testStepConfig, false );
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep

      for( int c = 0; c < testCase.getTestStepCount(); c++ )
      {
        try
        {
          WsdlTestStep testStep = testCase.getTestStepAt( c );
          String fileName = StringUtils.createFileName( testStep.getName(), '_' ) + ".log";
          PrintWriter writer = new PrintWriter( new File( folder, fileName ) );
          writers.add( writer );
          addHeaders( writer );
        }
        catch( FileNotFoundException e )
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep

            }

            if (ix >= 0) {
                int[] indices = testStepList.getSelectedIndices();
                if (indices.length == 1) {
                    WsdlTestStep testStep = testCase.getTestStepAt(ix);
                    ActionSupport.addActions(ActionListBuilder.buildActions(testStep), testListPopup);

                    testListPopup.insert(SwingActionDelegate.createDelegate(new RunFromTestStepAction(), testStep), 0);
                    testListPopup.insert(new JSeparator(), 1);
                } else {
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep

            setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));
        }

        public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected,
                                                      boolean cellHasFocus) {
            WsdlTestStep testStep = (WsdlTestStep) value;

            setText(testStep.getLabel());
            setIcon(testStep.getIcon());

            if (isSelected) {
                setBackground(list.getSelectionBackground());
                setForeground(list.getSelectionForeground());
            } else {
                setBackground(list.getBackground());
                setForeground(list.getForeground());
            }

            setEnabled(list.isEnabled() && !testStep.isDisabled());

            String toolTipText = list.getToolTipText();
            if (toolTipText == null) {
                setToolTipText(testStep.getDescription());
            } else {
                setToolTipText(toolTipText.length() == 0 ? null : toolTipText);
            }

            return this;
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep

            String name = UISupport.prompt("Specify name for new step", "Insert Step", factory.getTestStepName());
            if (name != null) {
                TestStepConfig newTestStepConfig = factory.createNewTestStep(testCase, name);
                if (newTestStepConfig != null) {
                    WsdlTestStep testStep = testCase.addTestStep(newTestStepConfig);
                    UISupport.selectAndShow(testStep);
                }
            }
        }
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep

        sourceStepModel.addElement(transferStep.getTestCase().getTestSuite().getProject());
        sourceStepModel.addElement(transferStep.getTestCase().getTestSuite());
        sourceStepModel.addElement(transferStep.getTestCase());

        for (int c = 0; c < transferStep.getTestCase().getTestStepCount(); c++) {
            WsdlTestStep testStep = transferStep.getTestCase().getTestStepAt(c);
            if (testStep == transferStep) {
                continue;
            }

            sourceStepModel.addElement(testStep);
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep

     *
     * @param sourceTestStep
     * @return TestStep
     */
    public TestStep cloneForSecurityScan(WsdlTestStep sourceTestStep) {
        WsdlTestStep clonedTestStep = null;
        TestStepConfig testStepConfig = (TestStepConfig) sourceTestStep.getConfig().copy();
        WsdlTestStepFactory factory = WsdlTestStepRegistry.getInstance().getFactory(testStepConfig.getType());
        if (factory != null) {
            clonedTestStep = factory.buildTestStep(securityTest.getTestCase(), testStepConfig, false);
            if (clonedTestStep instanceof Assertable) {
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.