org.apache.maven.surefire.testset
Class TestRequest

java.lang.Object
  extended by org.apache.maven.surefire.testset.TestRequest

public class TestRequest
extends java.lang.Object

Information about the requested test.

Author:
Kristian Rosenvold

Constructor Summary
TestRequest(java.util.List suiteXmlFiles, java.io.File testSourceDirectory, java.lang.String requestedTest)
           
 
Method Summary
 java.lang.String getRequestedTest()
          A specific test request issued with -Dtest= from the command line.
 java.util.List getSuiteXmlFiles()
          Represents suitexmlfiles that define the test-run request
 java.io.File getTestSourceDirectory()
          Test source directory, normally ${project.build.testSourceDirectory}
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRequest

public TestRequest(java.util.List suiteXmlFiles,
                   java.io.File testSourceDirectory,
                   java.lang.String requestedTest)
Method Detail

getSuiteXmlFiles

public java.util.List getSuiteXmlFiles()
Represents suitexmlfiles that define the test-run request

Returns:
A list of java.io.File objects.

getTestSourceDirectory

public java.io.File getTestSourceDirectory()
Test source directory, normally ${project.build.testSourceDirectory}

Returns:
A file pointing to test sources

getRequestedTest

public java.lang.String getRequestedTest()
A specific test request issued with -Dtest= from the command line.

Returns:
The string specified at the command line


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.