directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r232865 - in /directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test: encoding/EncodingFactoryTest.java encoding/ber/ runtime/ASN1ObjectIdentifierTest.java
Date Mon, 15 Aug 2005 20:00:13 GMT
Author: adc
Date: Mon Aug 15 13:00:10 2005
New Revision: 232865

URL: http://svn.apache.org/viewcvs?rev=232865&view=rev
Log:
Reorg

Removed:
    directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test/encoding/ber/
Modified:
    directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test/encoding/EncodingFactoryTest.java
    directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test/runtime/ASN1ObjectIdentifierTest.java

Modified: directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test/encoding/EncodingFactoryTest.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test/encoding/EncodingFactoryTest.java?rev=232865&r1=232864&r2=232865&view=diff
==============================================================================
--- directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test/encoding/EncodingFactoryTest.java
(original)
+++ directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test/encoding/EncodingFactoryTest.java
Mon Aug 15 13:00:10 2005
@@ -18,15 +18,19 @@
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
+
 import com.acme.spnego.MechType;
 import com.acme.spnego.MechTypeList;
 import com.acme.spnego.NegTokenInit;
 import com.acme.spnego.NegotiationToken;
 import junit.framework.TestCase;
-
-import org.apache.asn1.test.runtime.ASN1ObjectIdentifier;
-import org.apache.asn1.test.runtime.ASN1OctetString;
-import org.apache.asn1.test.runtime.ASN1Type;
+import org.apache.asn1.encoding.Decoder;
+import org.apache.asn1.encoding.Encoder;
+import org.apache.asn1.encoding.EncodingFactory;
+import org.apache.asn1.encoding.EncodingFactoryDefault;
+import org.apache.asn1.runtime.ASN1ObjectIdentifier;
+import org.apache.asn1.runtime.ASN1OctetString;
+import org.apache.asn1.runtime.ASN1Type;
 
 
 /**
@@ -36,13 +40,13 @@
 {
     public final static TestOID KERBEROS_V5_LEGACY = new TestOID( "1.2.840.48018.1.2.2" );
     public final static byte[] header = new byte[]{(byte) 0xa0, (byte) 0x82, (byte) 0x05,
(byte) 0xd8,
-                                                   (byte) 0x30, (byte) 0x82, (byte) 0x05,
(byte) 0xd4,
-                                                   (byte) 0xA0, (byte) 0x18,
-                                                   (byte) 0x30, (byte) 0x16,
-                                                   (byte) 0x06, (byte) 0x09, (byte) 0x2a,
(byte) 0x86, (byte) 0x48, (byte) 0x82, (byte) 0xf7, (byte) 0x12, (byte) 0x01, (byte) 0x02,
(byte) 0x02,
-                                                   (byte) 0x06, (byte) 0x09, (byte) 0x2a,
(byte) 0x86, (byte) 0x48, (byte) 0x86, (byte) 0xf7, (byte) 0x12, (byte) 0x01, (byte) 0x02,
(byte) 0x02,
-                                                   (byte) 0xA2, (byte) 0x82, (byte) 0x05,
(byte) 0xb6,
-                                                   (byte) 0x04, (byte) 0x82, (byte) 0x05,
(byte) 0xb2};
+            (byte) 0x30, (byte) 0x82, (byte) 0x05, (byte) 0xd4,
+            (byte) 0xA0, (byte) 0x18,
+            (byte) 0x30, (byte) 0x16,
+            (byte) 0x06, (byte) 0x09, (byte) 0x2a, (byte) 0x86, (byte) 0x48, (byte) 0x82,
(byte) 0xf7, (byte) 0x12, (byte) 0x01, (byte) 0x02, (byte) 0x02,
+            (byte) 0x06, (byte) 0x09, (byte) 0x2a, (byte) 0x86, (byte) 0x48, (byte) 0x86,
(byte) 0xf7, (byte) 0x12, (byte) 0x01, (byte) 0x02, (byte) 0x02,
+            (byte) 0xA2, (byte) 0x82, (byte) 0x05, (byte) 0xb6,
+            (byte) 0x04, (byte) 0x82, (byte) 0x05, (byte) 0xb2};
 
 
     public void testGetEncoder() throws Exception

Modified: directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test/runtime/ASN1ObjectIdentifierTest.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test/runtime/ASN1ObjectIdentifierTest.java?rev=232865&r1=232864&r2=232865&view=diff
==============================================================================
--- directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test/runtime/ASN1ObjectIdentifierTest.java
(original)
+++ directory/asn1/branches/ber-decoder/modules/runtime/src/test/org/apache/asn1/test/runtime/ASN1ObjectIdentifierTest.java
Mon Aug 15 13:00:10 2005
@@ -17,6 +17,7 @@
 package org.apache.asn1.test.runtime;
 
 import junit.framework.TestCase;
+import org.apache.asn1.runtime.ASN1ObjectIdentifier;
 
 
 /**



Mime
View raw message