harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r392886 - /incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/java/javax/crypto/CipherTest.java
Date Mon, 10 Apr 2006 04:43:02 GMT
Author: smishura
Date: Sun Apr  9 21:43:00 2006
New Revision: 392886

URL: http://svn.apache.org/viewcvs?rev=392886&view=rev
Log:
Fixed typo

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/java/javax/crypto/CipherTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/java/javax/crypto/CipherTest.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/java/javax/crypto/CipherTest.java?rev=392886&r1=392885&r2=392886&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/java/javax/crypto/CipherTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/java/javax/crypto/CipherTest.java
Sun Apr  9 21:43:00 2006
@@ -136,7 +136,7 @@
 		
 		try {
 			Cipher.getInstance("DES/CBC/");
-			fail("Case1: No excpected NoSuchAlgorithmException");
+			fail("Case1: No expected NoSuchAlgorithmException");
 		} catch (NoSuchAlgorithmException e) {
 		} catch (NoSuchPaddingException e) {
 			fail(e.toString());
@@ -144,7 +144,7 @@
 
 		try {
 			Cipher.getInstance("DES//PKCS5Padding");
-			fail("Case2: No excpected NoSuchAlgorithmException");
+			fail("Case2: No expected NoSuchAlgorithmException");
 		} catch (NoSuchAlgorithmException e) {
 		} catch (NoSuchPaddingException e) {
 			fail(e.toString());
@@ -152,7 +152,7 @@
 
 		try {
 			Cipher.getInstance("DES/CBC/IncorrectPadding");
-			fail("No excpected NoSuchPaddingException");
+			fail("No expected NoSuchPaddingException");
 		} catch (NoSuchAlgorithmException e) {
 			fail(e.toString());
 		} catch (NoSuchPaddingException e) {
@@ -166,7 +166,7 @@
 	public void testGetInstanceStringString1() {
 		try {
 			Cipher.getInstance("DES/CBC/", "MyProvider2");
-			fail("Case1: No excpected NoSuchAlgorithmException");
+			fail("Case1: No expected NoSuchAlgorithmException");
 		} catch (NoSuchAlgorithmException e) {
 		} catch (NoSuchPaddingException e) {
 			fail(e.toString());
@@ -176,7 +176,7 @@
 
 		try {
 			Cipher.getInstance("DES//PKCS5Padding", "MyProvider2");
-			fail("Case2: No excpected NoSuchAlgorithmException");
+			fail("Case2: No expected NoSuchAlgorithmException");
 		} catch (NoSuchAlgorithmException e) {
 		} catch (NoSuchPaddingException e) {
 			fail(e.toString());
@@ -186,7 +186,7 @@
 
 		try {
 			Cipher.getInstance("DES/CBC/IncorrectPadding", "MyProvider2");
-			fail("No excpected NoSuchProviderException");
+			fail("No expected NoSuchProviderException");
 		} catch (NoSuchAlgorithmException e) {
 			fail(e.toString());
 		} catch (NoSuchPaddingException e) {
@@ -196,7 +196,7 @@
 		
 		try {
 			Cipher.getInstance("DES/CBC/PKCS5Padding", "IncorrectProvider");
-			fail("No excpected NoSuchProviderException");
+			fail("No expected NoSuchProviderException");
 		} catch (NoSuchAlgorithmException e) {
 			fail(e.toString());
 		} catch (NoSuchPaddingException e) {
@@ -242,7 +242,7 @@
 	public void testGetInstanceStringProvider1() {
 		try {
 			Cipher.getInstance("DES/CBC/", p2);
-			fail("Case1: No excpected NoSuchAlgorithmException");
+			fail("Case1: No expected NoSuchAlgorithmException");
 		} catch (NoSuchAlgorithmException e) {
 		} catch (NoSuchPaddingException e) {
 			fail(e.toString());
@@ -250,7 +250,7 @@
 
 		try {
 			Cipher.getInstance("DES//PKCS5Padding", p2);
-			fail("Case2: No excpected NoSuchAlgorithmException");
+			fail("Case2: No expected NoSuchAlgorithmException");
 		} catch (NoSuchAlgorithmException e) {
 		} catch (NoSuchPaddingException e) {
 			fail(e.toString());
@@ -258,7 +258,7 @@
 
 		try {
 			Cipher.getInstance("DES/CBC/IncorrectPadding", p2);
-			fail("No excpected NoSuchProviderException");
+			fail("No expected NoSuchProviderException");
 		} catch (NoSuchAlgorithmException e) {
 			fail(e.toString());
 		} catch (NoSuchPaddingException e) {
@@ -266,7 +266,7 @@
 		
 		try {
 			Cipher.getInstance("DES/CBC/PKCS5Padding", "IncorrectProvider");
-			fail("No excpected NoSuchProviderException");
+			fail("No expected NoSuchProviderException");
 		} catch (NoSuchAlgorithmException e) {
 			fail(e.toString());
 		} catch (NoSuchPaddingException e) {
@@ -332,7 +332,7 @@
 		
 		try {
 			c.getOutputSize(111);
-			fail("No excpected IllegalStateException");
+			fail("No expected IllegalStateException");
 		} catch (IllegalStateException e){
 		}
 		if (noKey) {
@@ -443,7 +443,7 @@
 		byte[] b = {1,2,3,4};
 		try {
 			c.update(b);
-			fail("No excpected IllegalStateException");
+			fail("No expected IllegalStateException");
 		} catch (IllegalStateException e){
 		}
 		if (noKey) {
@@ -456,7 +456,7 @@
 		}
 		try {
 			c.update(null);
-			fail("No excpected IllegalArgumentException");
+			fail("No expected IllegalArgumentException");
 		} catch (IllegalArgumentException e){
 		}
 		if (c.update(new byte[0]) != null) {



Mime
View raw message