Package ch.powerunit.report

Examples of ch.powerunit.report.Testsuites


  private File targetFolder;

  @Override
  public void notifySetStart(String setName, String parameters) {
    Testsuites tss = new Testsuites();
    tss.setDisabled(0);
    tss.setErrors(0);
    tss.setFailures(0);
    tss.setName(setName);
    tss.setTests(0);
    tss.setTime(0l);
    results.put(setName, tss);

    Testsuite ts = new Testsuite();
    result.put(setName, ts);
    ts.setName(setName.replace('$', '.'));
View Full Code Here


    e.setContent(stack.toString());
  }

  @Override
  public void notifyParameterStart(String setName, String parameterName) {
    Testsuites tss = results.get(setName);
    Testsuite ts = new Testsuite();
    result.put(setName + parameterName, ts);
    ts.setName(setName + "[" + parameterName + "]");
    ts.setDisabled(0);
    ts.setErrors(0);
    ts.setFailures(0);
    ts.setTests(0);
    ts.setTime(0l);
    resultcase.put(setName + parameterName, new HashMap<>());
    tss.getTestsuite().add(ts);
  }
View Full Code Here

    tss.getTestsuite().add(ts);
  }

  @Override
  public void notifyParameterEnd(String setName, String parameterName) {
    Testsuites tss = results.get(setName);
    Testsuite ts = result.get(setName + parameterName);
    tss.setDisabled(tss.getDisabled() + ts.getDisabled());
    tss.setErrors(tss.getErrors() + ts.getErrors());
    tss.setFailures(tss.getFailures() + ts.getFailures());
    tss.setTests(tss.getTests() + ts.getTests());
    tss.setTime(tss.getTime() + ts.getTime());
  }
View Full Code Here

        }
    }

    @Override
    public void notifySetStart(String setName, String parameters) {
        Testsuites tss = new Testsuites();
        tss.setDisabled(0);
        tss.setErrors(0);
        tss.setFailures(0);
        tss.setName(setName);
        tss.setTests(0);
        tss.setTime(0L);
        results.put(setName, tss);

        Testsuite ts = new Testsuite();
        result.put(setName, ts);
        ts.setName(setName.replace('$', '.'));
View Full Code Here

                .append(" caused by ").append(cause.getMessage()).append("\n");
    }

    @Override
    public void notifyParameterStart(String setName, String parameterName) {
        Testsuites tss = results.get(setName);
        Testsuite ts = new Testsuite();
        result.put(setName + parameterName, ts);
        ts.setName(setName + "[" + parameterName + "]");
        ts.setDisabled(0);
        ts.setErrors(0);
        ts.setFailures(0);
        ts.setTests(0);
        ts.setTime(0L);
        resultcase.put(setName + parameterName, new HashMap<>());
        tss.getTestsuite().add(ts);
    }
View Full Code Here

        tss.getTestsuite().add(ts);
    }

    @Override
    public void notifyParameterEnd(String setName, String parameterName) {
        Testsuites tss = results.get(setName);
        Testsuite ts = result.get(setName + parameterName);
        tss.setDisabled(tss.getDisabled() + ts.getDisabled());
        tss.setErrors(tss.getErrors() + ts.getErrors());
        tss.setFailures(tss.getFailures() + ts.getFailures());
        tss.setTests(tss.getTests() + ts.getTests());
        tss.setTime(tss.getTime() + ts.getTime());
    }
View Full Code Here

TOP

Related Classes of ch.powerunit.report.Testsuites

Copyright © 2018 www.massapicom. 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.