Ahmet-Kaplan / xades4j

Automatically exported from code.google.com/p/xades4j
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Missing folder gives 13 test errors #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Checkout xades4j
2. Open with NetBeans IDE
3. Run the tests

What is the expected output? What do you see instead?
Expects none or only a few failures/errors. Instead I see 14 errors because of 
"./src/test/xml/out/*" No such file or directory

What version of the product are you using? On what operating system?
$ svn up
At revision 249.
Ubuntu 12.04

Please provide any additional information below.
Sample test output:

---
Testcase: testSignBESExtrnlRes(xades4j.production.SignerBESTest):   Caused an 
ERROR
./src/test/xml/out/document.signed.bes.extres.xml (No such file or directory)
java.io.FileNotFoundException: 
./src/test/xml/out/document.signed.bes.extres.xml (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:104)
    at xades4j.utils.SignatureServicesTestBase.outputDocument(SignatureServicesTestBase.java:96)
    at xades4j.production.SignerBESTest.testSignBESExtrnlRes(SignerBESTest.java:78)

---

Original issue reported on code.google.com by markuski...@gmail.com on 18 Aug 2013 at 6:51

GoogleCodeExporter commented 9 years ago
Creating the missing folder out solved the problem.
Maybe the out folder should be unignored and committed and only the content of 
it ignored.

Original comment by markuski...@gmail.com on 18 Aug 2013 at 7:01

GoogleCodeExporter commented 9 years ago

Original comment by luis.fgoncalv on 11 May 2014 at 9:42