hudson.plugins.javatest_report
Class JavaTestAction

java.lang.Object
  extended by hudson.tasks.test.AbstractTestResultAction<JavaTestAction>
      extended by hudson.plugins.javatest_report.JavaTestAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.HealthReportingAction, hudson.model.ModelObject, org.kohsuke.stapler.StaplerProxy

public class JavaTestAction
extends hudson.tasks.test.AbstractTestResultAction<JavaTestAction>
implements org.kohsuke.stapler.StaplerProxy

Action that displays the JavaTest test result.

The actual test reports are isolated by WeakReference so that it doesn't eat up too much memory.

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class hudson.tasks.test.AbstractTestResultAction
owner
 
Method Summary
 int getFailCount()
          Gets the number of failed tests.
 Report getResult()
           
 java.lang.Object getTarget()
           
 int getTotalCount()
          Gets the total number of tests.
 
Methods inherited from class hudson.tasks.test.AbstractTestResultAction
doGraph, doGraphMap, findCorrespondingResult, findPreviousCorresponding, getApi, getBuildHealth, getDescription, getDisplayName, getFailedTests, getFailureDiffString, getIconFileName, getPreviousResult, getSkipCount, getTestResultPath, getUrlName, readResolve, setDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResult

public Report getResult()
Specified by:
getResult in class hudson.tasks.test.AbstractTestResultAction<JavaTestAction>

getFailCount

public int getFailCount()
Gets the number of failed tests.

Specified by:
getFailCount in class hudson.tasks.test.AbstractTestResultAction<JavaTestAction>

getTotalCount

public int getTotalCount()
Gets the total number of tests.

Specified by:
getTotalCount in class hudson.tasks.test.AbstractTestResultAction<JavaTestAction>

getTarget

public java.lang.Object getTarget()
Specified by:
getTarget in interface org.kohsuke.stapler.StaplerProxy


Copyright © 2004-2011. All Rights Reserved.