org.freehep.maven.nar
Class Test

java.lang.Object
  extended by org.freehep.maven.nar.Test
All Implemented Interfaces:
Executable

public class Test
extends Object
implements Executable

Sets up a test to create

Version:
$Id: Test.java 12936 2007-07-05 21:26:30Z duns $
Author:
Mark Donszelmann

Field Summary
protected  List args
          Arguments to be used for running this test.
protected  String link
          Type of linking used for this test Possible choices are: "shared" or "static".
protected  String name
          Name of the test to create
protected  boolean run
          When true run this test.
 
Constructor Summary
Test()
           
 
Method Summary
 List getArgs()
           
 String getLink()
           
 String getName()
           
 boolean shouldRun()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name
Name of the test to create


link

protected String link
Type of linking used for this test Possible choices are: "shared" or "static". Defaults to "shared".


run

protected boolean run
When true run this test. Defaults to true;


args

protected List args
Arguments to be used for running this test. Defaults to empty list. This option is only used if run=true.

Constructor Detail

Test

public Test()
Method Detail

getName

public String getName()
               throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

getLink

public String getLink()

shouldRun

public boolean shouldRun()
Specified by:
shouldRun in interface Executable

getArgs

public List getArgs()
Specified by:
getArgs in interface Executable


Copyright 2000-2007 FreeHEP. All Rights Reserved.