Add testing dirs
[proteocache.git] / testsrc / compbio / metadata / AllTestSuit.java
diff --git a/testsrc/compbio/metadata/AllTestSuit.java b/testsrc/compbio/metadata/AllTestSuit.java
new file mode 100644 (file)
index 0000000..8e9d9aa
--- /dev/null
@@ -0,0 +1,53 @@
+/* Copyright (c) 2009 Peter Troshin\r
+ * Copyright (c) 2013 Alexander Sherstnev\r
+ *  \r
+ *  JAva Bioinformatics Analysis Web Services (JABAWS)\r
+ *   @version: 2.5     \r
+ * \r
+ *  This library is free software; you can redistribute it and/or modify it under the terms of the\r
+ *  Apache License version 2 as published by the Apache Software Foundation\r
+ * \r
+ *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without\r
+ *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache \r
+ *  License for more details.\r
+ * \r
+ *  A copy of the license is in apache_license.txt. It is also available here:\r
+ * @see: http://www.apache.org/licenses/LICENSE-2.0.txt\r
+ * \r
+ * Any republication or derived work distributed in source code form\r
+ * must include this copyright and license notice.\r
+ */\r
+\r
+package compbio.metadata;\r
+\r
+import java.io.File;\r
+import compbio.util.SysPrefs;\r
+\r
+public class AllTestSuit {\r
+       public final static String test_group_cluster = "cluster";\r
+       public final static String test_group_runner = "runner";\r
+       public final static String test_group_non_windows = "non_windows";\r
+       public final static String test_group_windows_only = "windows_only";\r
+       public final static String test_group_engine = "engine";\r
+       public final static String test_group_long = "performance";\r
+       public final static String test_group_webservices = "webservices";\r
+\r
+       // For this to work execution must start from the project directory!\r
+       public static final String CURRENT_DIRECTORY = SysPrefs.getCurrentDirectory() + File.separator;\r
+       public static final String TEST_DATA_PATH = "testsrc" + File.separator + "testdata" + File.separator;\r
+       public static final String TEST_DATA_PATH_ABSOLUTE = AllTestSuit.CURRENT_DIRECTORY + TEST_DATA_PATH;\r
+\r
+       // For cluster execution paths MUST BE ABSOLUTE as cluster hosts will not be\r
+       // able to access the task otherwise\r
+       public static final String OUTPUT_DIR_ABSOLUTE = AllTestSuit.CURRENT_DIRECTORY + "local_jobsout" + File.separator;\r
+       public static final String RUNNER_TEST_LOGGER = "RunnerLogger";\r
+\r
+       public static final String test_input = AllTestSuit.TEST_DATA_PATH_ABSOLUTE + "TO1381.fasta";\r
+       public static final String test_alignment_input = AllTestSuit.TEST_DATA_PATH_ABSOLUTE + "TO1381.fasta.aln";\r
+       public static final String test_input_real = AllTestSuit.TEST_DATA_PATH_ABSOLUTE + "50x500Protein.fasta";\r
+       public static final String test_input_dna = AllTestSuit.TEST_DATA_PATH_ABSOLUTE + "3dnaseqs.fasta";\r
+       public static final String test_input_large = AllTestSuit.TEST_DATA_PATH_ABSOLUTE + "1000x3000Dna.fasta";\r
+       \r
+       public static final String test_input_aln = AllTestSuit.TEST_DATA_PATH_ABSOLUTE + "unfolded_RF00031.aln";\r
+\r
+}\r