Package org.sonar.api.test

Examples of org.sonar.api.test.MutableTestPlan.addTestCase()


  @Override
  public void store(TestCaseExecution testCase) {
    File testRes = getTestResource(((DefaultTestCaseExecution) testCase).testFile());
    MutableTestPlan testPlan = perspectives.as(MutableTestPlan.class, testRes);
    if (testPlan != null) {
      testPlan
        .addTestCase(testCase.name())
        .setDurationInMs(testCase.durationInMs())
        .setType(testCase.type().name())
        .setStatus(org.sonar.api.test.TestCase.Status.valueOf(testCase.status().name()))
        .setMessage(testCase.message())
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.