You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2015/06/11 18:35:27 UTC
[08/31] incubator-taverna-language git commit: Test
Test
Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/c15bc54f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/c15bc54f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/c15bc54f
Branch: refs/heads/master
Commit: c15bc54f67d0a4384c12120d9531d8345c321314
Parents: 8e93a3f
Author: Menaka <me...@gmail.com>
Authored: Sun Jun 7 22:01:55 2015 +0530
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Thu Jun 11 17:33:28 2015 +0100
----------------------------------------------------------------------
.../commandline/test/CommandLineTest.java | 29 ++++++++++++++++++++
1 file changed, 29 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/c15bc54f/taverna-language-commandline/src/test/java/org/apache/commandline/test/CommandLineTest.java
----------------------------------------------------------------------
diff --git a/taverna-language-commandline/src/test/java/org/apache/commandline/test/CommandLineTest.java b/taverna-language-commandline/src/test/java/org/apache/commandline/test/CommandLineTest.java
new file mode 100644
index 0000000..112cbfa
--- /dev/null
+++ b/taverna-language-commandline/src/test/java/org/apache/commandline/test/CommandLineTest.java
@@ -0,0 +1,29 @@
+package org.apache.commandline.test;
+
+import org.apache.taverna.commandline.CommandLineTool;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class CommandLineTest {
+ CommandLineTool commandLineTool = new CommandLineTool();
+
+ @Test
+ public void test(){
+// Assert
+ commandLineTool.parse();
+ commandLineTool.parse("help");
+ commandLineTool.parse("help", "convert");
+ commandLineTool.parse("help", "inspect");
+ commandLineTool.parse("help", "validate");
+ commandLineTool.parse("help", "help");
+
+ commandLineTool.parse("convert","-m", "-r", "-wfdesc", "this", "that", "-o", "/files/dir", "-i", "/files0/dir");
+// commandLineTool.parse();
+// commandLineTool.parse();
+// commandLineTool.parse();
+// commandLineTool.parse();
+
+ }
+
+
+}