incubator-amber-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r963090 - in /incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature: ./ hmac/ plaintext/ rsa/
Date Sun, 11 Jul 2010 14:56:01 GMT
Author: simonetripodi
Date: Sun Jul 11 14:56:01 2010
New Revision: 963090

URL: http://svn.apache.org/viewvc?rev=963090&view=rev
Log:
properly renamed abstract that implements the test case

Added:
    incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/AbstractMethodTestCase.java
      - copied, changed from r963088, incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/AbstractSimpleMethodTestCase.java
Removed:
    incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/AbstractSimpleMethodTestCase.java
Modified:
    incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/hmac/HmacSha1MethodTestCase.java
    incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/plaintext/PlaintextMethodTestCase.java
    incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/rsa/RsaSha1MethodTestCase.java

Copied: incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/AbstractMethodTestCase.java
(from r963088, incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/AbstractSimpleMethodTestCase.java)
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/AbstractMethodTestCase.java?p2=incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/AbstractMethodTestCase.java&p1=incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/AbstractSimpleMethodTestCase.java&r1=963088&r2=963090&rev=963090&view=diff
==============================================================================
--- incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/AbstractSimpleMethodTestCase.java
(original)
+++ incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/AbstractMethodTestCase.java
Sun Jul 11 14:56:01 2010
@@ -33,7 +33,7 @@ import org.apache.amber.Version;
  *
  * @version $Id$
  */
-public abstract class AbstractSimpleMethodTestCase {
+public abstract class AbstractMethodTestCase {
 
     protected void verifySignature(VerifyingKey verifyingKey,
             SignatureMethod signatureMethod,

Modified: incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/hmac/HmacSha1MethodTestCase.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/hmac/HmacSha1MethodTestCase.java?rev=963090&r1=963089&r2=963090&view=diff
==============================================================================
--- incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/hmac/HmacSha1MethodTestCase.java
(original)
+++ incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/hmac/HmacSha1MethodTestCase.java
Sun Jul 11 14:56:01 2010
@@ -16,7 +16,7 @@
  */
 package org.apache.amber.signature.hmac;
 
-import org.apache.amber.signature.AbstractSimpleMethodTestCase;
+import org.apache.amber.signature.AbstractMethodTestCase;
 import org.apache.amber.signature.BasicKey;
 import org.junit.Test;
 
@@ -25,7 +25,7 @@ import org.junit.Test;
  *
  * @version $Id$
  */
-public class HmacSha1MethodTestCase extends AbstractSimpleMethodTestCase {
+public class HmacSha1MethodTestCase extends AbstractMethodTestCase {
 
     @Test
     public void verifyHmacSha1MethodAlgorithm() throws Exception {

Modified: incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/plaintext/PlaintextMethodTestCase.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/plaintext/PlaintextMethodTestCase.java?rev=963090&r1=963089&r2=963090&view=diff
==============================================================================
--- incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/plaintext/PlaintextMethodTestCase.java
(original)
+++ incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/plaintext/PlaintextMethodTestCase.java
Sun Jul 11 14:56:01 2010
@@ -16,7 +16,7 @@
  */
 package org.apache.amber.signature.plaintext;
 
-import org.apache.amber.signature.AbstractSimpleMethodTestCase;
+import org.apache.amber.signature.AbstractMethodTestCase;
 import org.apache.amber.signature.BasicKey;
 import org.junit.Test;
 
@@ -25,7 +25,7 @@ import org.junit.Test;
  *
  * @version $Id$
  */
-public class PlaintextMethodTestCase extends AbstractSimpleMethodTestCase {
+public class PlaintextMethodTestCase extends AbstractMethodTestCase {
 
     @Test
     public void verifyHmacSha1MethodAlgorithm() throws Exception {

Modified: incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/rsa/RsaSha1MethodTestCase.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/rsa/RsaSha1MethodTestCase.java?rev=963090&r1=963089&r2=963090&view=diff
==============================================================================
--- incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/rsa/RsaSha1MethodTestCase.java
(original)
+++ incubator/amber/trunk/signature-api/src/test/java/org/apache/amber/signature/rsa/RsaSha1MethodTestCase.java
Sun Jul 11 14:56:01 2010
@@ -16,14 +16,14 @@
  */
 package org.apache.amber.signature.rsa;
 
-import org.apache.amber.signature.AbstractSimpleMethodTestCase;
+import org.apache.amber.signature.AbstractMethodTestCase;
 
 /**
  * 
  *
  * @version $Id$
  */
-public final class RsaSha1MethodTestCase extends AbstractSimpleMethodTestCase {
+public final class RsaSha1MethodTestCase extends AbstractMethodTestCase {
 
     // TODO test disabled, expected signature has to be calculated
     public void verifyRsaSha1MethodAlgorithm() throws Exception {



Mime
View raw message