X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=testsrc%2Fcompbio%2Fmetadata%2FAllTestSuit.java;h=f60075b6b2d86466a7b1b06be3b0ca9b6fba625b;hb=1e02ee8d9a4c7c4493580598fa98b022f097cbf5;hp=92f17487af0e2f49e92a97766b7c394f759bbad8;hpb=338caee91f39abcaef1ae33c3468bb65f4cc3165;p=jabaws.git diff --git a/testsrc/compbio/metadata/AllTestSuit.java b/testsrc/compbio/metadata/AllTestSuit.java index 92f1748..f60075b 100644 --- a/testsrc/compbio/metadata/AllTestSuit.java +++ b/testsrc/compbio/metadata/AllTestSuit.java @@ -1,6 +1,8 @@ /* Copyright (c) 2009 Peter Troshin + * Copyright (c) 2013 Alexander Sherstnev * - * JAva Bioinformatics Analysis Web Services (JABAWS) @version: 1.0 + * JAva Bioinformatics Analysis Web Services (JABAWS) + * @version: 2.5 * * This library is free software; you can redistribute it and/or modify it under the terms of the * Apache License version 2 as published by the Apache Software Foundation @@ -19,36 +21,9 @@ package compbio.metadata; import java.io.File; - -import compbio.runner.Util; -import compbio.runner.msa.ClustalW; -import compbio.runner.msa.Muscle; -import compbio.runner.msa.Tcoffee; import compbio.util.SysPrefs; public class AllTestSuit { - - public static final PresetManager CLUSTAL_PRESETS = Util - .getPresets(ClustalW.class); - public static final RunnerConfig CLUSTAL_PARAMETERS = Util - .getSupportedOptions(ClustalW.class); - public static final LimitsManager CLUSTAL_LIMITS = compbio.engine.client.Util - .getLimits(new ClustalW().getType()); - - public static final PresetManager TCOFFEE_PRESETS = Util - .getPresets(Tcoffee.class); - public static final RunnerConfig TCOFFEE_PARAMETERS = Util - .getSupportedOptions(Tcoffee.class); - public static final LimitsManager TCOFFEE_LIMITS = compbio.engine.client.Util - .getLimits(new Tcoffee().getType()); - - public static final PresetManager MUSCLE_PRESETS = Util - .getPresets(Muscle.class); - public static final RunnerConfig MUSCLE_PARAMETERS = Util - .getSupportedOptions(Muscle.class); - public static final LimitsManager MUSCLE_LIMITS = compbio.engine.client.Util - .getLimits(new Muscle().getType()); - public final static String test_group_cluster = "cluster"; public final static String test_group_runner = "runner"; public final static String test_group_non_windows = "non_windows"; @@ -57,38 +32,20 @@ public class AllTestSuit { public final static String test_group_long = "performance"; public final static String test_group_webservices = "webservices"; - /* - * For this to work execution must start from the project directory! - */ - public static final String CURRENT_DIRECTORY = SysPrefs - .getCurrentDirectory() + File.separator; - - public static final String TEST_DATA_PATH = "testsrc" + File.separator - + "testdata" + File.separator; - - public static final String TEST_DATA_PATH_ABSOLUTE = AllTestSuit.CURRENT_DIRECTORY - + TEST_DATA_PATH; + // For this to work execution must start from the project directory! + public static final String CURRENT_DIRECTORY = SysPrefs.getCurrentDirectory() + File.separator; + public static final String TEST_DATA_PATH = "testsrc" + File.separator + "testdata" + File.separator; + public static final String TEST_DATA_PATH_ABSOLUTE = AllTestSuit.CURRENT_DIRECTORY + TEST_DATA_PATH; // For cluster execution paths MUST BE ABSOLUTE as cluster hosts will not be // able to access the task otherwise - public static final String OUTPUT_DIR_ABSOLUTE = AllTestSuit.CURRENT_DIRECTORY - + File.separator + "local_jobsout" + File.separator; - + public static final String OUTPUT_DIR_ABSOLUTE = AllTestSuit.CURRENT_DIRECTORY + "local_jobsout" + File.separator; public static final String RUNNER_TEST_LOGGER = "RunnerLogger"; - public static final String test_input = AllTestSuit.TEST_DATA_PATH_ABSOLUTE - + "TO1381.fasta"; - - public static final String test_alignment_input = AllTestSuit.TEST_DATA_PATH_ABSOLUTE - + "TO1381.fasta.aln"; - - public static final String test_input_real = AllTestSuit.TEST_DATA_PATH_ABSOLUTE - + "50x500Protein.fasta"; - - public static final String test_input_dna = AllTestSuit.TEST_DATA_PATH_ABSOLUTE - + "3dnaseqs.fasta"; - - public static final String test_input_large = AllTestSuit.TEST_DATA_PATH_ABSOLUTE - + "1000x3000Dna.fasta"; + public static final String test_input = AllTestSuit.TEST_DATA_PATH_ABSOLUTE + "TO1381.fasta"; + public static final String test_alignment_input = AllTestSuit.TEST_DATA_PATH_ABSOLUTE + "TO1381.fasta.aln"; + public static final String test_input_real = AllTestSuit.TEST_DATA_PATH_ABSOLUTE + "50x500Protein.fasta"; + public static final String test_input_dna = AllTestSuit.TEST_DATA_PATH_ABSOLUTE + "3dnaseqs.fasta"; + public static final String test_input_large = AllTestSuit.TEST_DATA_PATH_ABSOLUTE + "1000x3000Dna.fasta"; }