Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move test resources to correct modules #52

Closed

Conversation

rtyley
Copy link
Contributor

@rtyley rtyley commented Jan 25, 2014

A lot of tests fail when running the Gradle build because the resources aren't in the correct module (many of them are in core when they should be in pkix or prov. These commits move the resources to the correct locations.

core:src/test/data/org/bouncycastle/tsp/test/FileDaFirmare.data

used by

pkix:org.bouncycastle.tsp.test.CMSTimeStampedDataGeneratorTest
The tests use classes from pkix, eg:

prov/src/main/java/org/bouncycastle/ocsp/Req.java
pkix/src/test/java/org/bouncycastle/cms/test/BcSignedDataTest.java

BcSignedDataTest. testCounterSig
BcSignedDataTest. testEncapsulatedSample
BcSignedDataTest. testSamples
….AllTests

pkix/src/test/java/org/bouncycastle/eac/test/AllTests.java
…t.rsa3.RSA3CertTest

prov/src/test/java/org/bouncycastle/jce/provider/test/rsa3/RSA3CertTest.java

org.bouncycastle.jce.provider.test.AllTests > org.bouncycastle.jce.provider.test.rsa3.RSA3CertTest.testI FAILED
org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory$ExCertificateException at RSA3CertTest.java:113
Caused by: java.io.IOException at RSA3CertTest.java:113

org.bouncycastle.jce.provider.test.AllTests > org.bouncycastle.jce.provider.test.rsa3.RSA3CertTest.testJ FAILED
org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory$ExCertificateException at RSA3CertTest.java:113
Caused by: java.io.IOException at RSA3CertTest.java:113
@peterdettman
Copy link
Collaborator

Merged, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants