Package hudson.tasks.test

Examples of hudson.tasks.test.TestObject


  public static String getTestUrl(hudson.tasks.test.TestResult result) {
    String buildUrl = getBuildURL(result.getOwner());
    @SuppressWarnings("rawtypes")
        AbstractTestResultAction action = result.getTestResultAction();
   
    TestObject parent = result.getParent();
    TestResult testResultRoot = null;
    while(parent != null) {
      if (parent instanceof TestResult) {
        testResultRoot = (TestResult) parent;
        break;
      }
      parent = parent.getParent();
    }
   
    String testUrl = action.getUrlName()
      + (testResultRoot != null ? testResultRoot.getUrl() : "")
      + result.getUrl();
View Full Code Here

TOP

Related Classes of hudson.tasks.test.TestObject

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.