import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
-public class CipresJobTest
+public class CipresQueryBuilderTest
{
@BeforeClass(
alwaysRun = true
)
public void testSettingJobParameters()
{
- CipresJob testJob = new CipresJob("examples/plantfdx.fa");
+ CipresQueryBuilder testJob = new CipresQueryBuilder("examples/plantfdx.fa");
testJob.addToolParameters("runtime_", Arrays.asList("0.3"));
testJob.addInputParameter("test", "hoi");
testJob.addMetadata("hennepin", "crawler");
)
public void testValidatingParameters()
{
- CipresJob testJob = new CipresJob("examples/plantfdx.fa", "CLUSTALW");
+ CipresQueryBuilder testJob = new CipresQueryBuilder("examples/plantfdx.fa", "CLUSTALW");
testJob.addToolParameters("runtime_", Arrays.asList("0.2"));
testJob.addMetadata("clientJobId", "101");
testJob.validateJobParams();
)
public void testJobSubmission()
{
- CipresJob testJob = new CipresJob("examples/plantfdx.fa", "CLUSTALW");
+ CipresQueryBuilder testJob = new CipresQueryBuilder("examples/plantfdx.fa", "CLUSTALW");
testJob.addToolParameters("runtime_", Arrays.asList("0.2"));
testJob.addMetadata("clientJobId", "102");
testJob.addMetadata("statusEmail", "false");