public ResultData(TestObject result, String url) { setName(result.getName()); setPassed(result.getFailCount() == 0); setSkipped(result.getSkipCount() == result.getTotalCount()); setTotalTests(result.getTotalCount()); setTotalFailed(result.getFailCount()); setTotalPassed(result.getPassCount()); setTotalSkipped(result.getSkipCount()); setTotalTimeTaken(result.getDuration()); setUrl(url); setFlaky(false); setTotalFlaky(0); evaluateStatus(); }
/** Gets the class name of a test class. */ @Exported(visibility = 9) public String getClassName() { return parent.getName(); }