Skip to content
Permalink
Browse files
switch BC version in test
  • Loading branch information
mkristian committed Dec 22, 2014
1 parent a15af3e commit 01c0ba4ed6467eaa0d6122c3870fd0c197841074
Showing with 3 additions and 3 deletions.
  1. +1 −1 maven/jruby/src/it/bouncycastle/pom.xml
  2. +2 −2 maven/jruby/src/it/bouncycastle/src/test/java/org/jruby/its/BouncyCastleTestCase.java
@@ -33,7 +33,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bc.version>1.49</bc.version>
<bc.version>1.47</bc.version>
</properties>

<build>
@@ -22,13 +22,13 @@ public void setupProvider() throws Exception{

@Test
public void java(){
assertEquals( "BouncyCastle Security Provider v1.49", new BouncyCastleProvider().getInfo() );
assertEquals( "BouncyCastle Security Provider v1.47", new BouncyCastleProvider().getInfo() );
}

@Test
public void ruby(){
ScriptingContainer container = new ScriptingContainer();
Object result = container.parse( "require 'openssl'; Java::OrgBouncycastleJceProvider::BouncyCastleProvider.new.info").run();
assertEquals( "BouncyCastle Security Provider v1.47", result.toString() );
assertEquals( "BouncyCastle Security Provider v1.49", result.toString() );
}
}

0 comments on commit 01c0ba4

Please sign in to comment.