[GitHub] incubator-taverna-language pull request: Test cases

2015-07-15 Thread menaka121
Github user menaka121 closed the pull request at:

https://github.com/apache/incubator-taverna-language/pull/13


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-taverna-language pull request: Test cases

2015-07-14 Thread stain
Github user stain commented on the pull request:


https://github.com/apache/incubator-taverna-language/pull/13#issuecomment-121198050
  
Merged.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-taverna-language pull request: Test cases

2015-07-13 Thread stain
Github user stain commented on the pull request:


https://github.com/apache/incubator-taverna-language/pull/13#issuecomment-120924797
  
Great! Could you see if you are able to avoid these errors, and I'll accept.

Instead of `/home/menaka`, try to use `src/test/resources` and then you can 
do `getClass().getResource("as.t2flow")` (or 
`.getClass().getResourceAsStream()`)

```
Validation started
Validating /home/menaka/conv/aaa/workflows/t2flow/as.t2flow
java.io.FileNotFoundException: 
/home/menaka/conv/aaa/workflows/t2flow/as.t2flow (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:146)
at 
org.apache.taverna.scufl2.api.io.WorkflowBundleIO.readBundle(WorkflowBundleIO.java:292)
at 
org.apache.taverna.tavlang.tools.validate.Validate.read(Validate.java:68)
at 
org.apache.taverna.tavlang.tools.validate.Validate.(Validate.java:54)
at 
org.apache.taverna.tavlang.test.TestValidate.test(TestValidate.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Validation completed...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec - 
in org.apache.taverna.tavlang.test.TestValidate
Running org.apache.taverna.tavlang.test.TestConvert
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - 
in org.apache.taverna.tavlang.test.TestConvert
Running org.apache.taverna.tavlang.test.TestTools
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.taverna.tavlang.test.TestTools

Results :

Failed tests: 
  TestStats.test:31 Not yet implemented

```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-taverna-language pull request: Test cases

2015-07-12 Thread menaka121
GitHub user menaka121 opened a pull request:

https://github.com/apache/incubator-taverna-language/pull/13

Test cases

Test cases for the command line options and classes and some bug fixes

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/menaka121/incubator-taverna-language 
test-cases

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-taverna-language/pull/13.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #13


commit 969836a9c26f1f3ac40b809a3ae86f8ea440c3d4
Author: Menaka Madushanka 
Date:   2015-07-10T05:58:01Z

Test cases for conversion, validation, stats and tools

commit 5012fa08704c95e0a2dadaea16b01c9ba620c262
Author: Menaka Madushanka 
Date:   2015-07-10T05:59:16Z

Apache header

commit 1d574447abf55c9fae63f59710a8207523e176a5
Author: Menaka Madushanka 
Date:   2015-07-10T17:20:12Z

Tools test conplete

commit 271f3335e49a76b65f603e34172b8c6986e4fff8
Author: Menaka Madushanka 
Date:   2015-07-12T19:30:28Z

Test Validate

commit 5e5207a3e3ccb2cf7baa2b18ffb82a09b3efb2b1
Author: Menaka Madushanka 
Date:   2015-07-12T19:36:16Z

Test Validate

commit da44d6e6827815465713818e014b0b3ec87ca18c
Author: Menaka Madushanka 
Date:   2015-07-12T19:40:36Z

Conversion with validation issue fixed




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---