directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r265668 [3/3] - in /directory/protocol-providers/dns/trunk/src: java/org/apache/dns/ java/org/apache/dns/io/ java/org/apache/dns/messages/ java/org/apache/dns/protocol/ java/org/apache/dns/records/ java/org/apache/dns/records/internet/ java...
Date Thu, 01 Sep 2005 07:55:52 GMT
Modified: directory/protocol-providers/dns/trunk/src/test/org/apache/dns/DnsMessageDecoderTest.java
URL: http://svn.apache.org/viewcvs/directory/protocol-providers/dns/trunk/src/test/org/apache/dns/DnsMessageDecoderTest.java?rev=265668&r1=265667&r2=265668&view=diff
==============================================================================
--- directory/protocol-providers/dns/trunk/src/test/org/apache/dns/DnsMessageDecoderTest.java
(original)
+++ directory/protocol-providers/dns/trunk/src/test/org/apache/dns/DnsMessageDecoderTest.java
Thu Sep  1 00:55:12 2005
@@ -22,29 +22,27 @@
 import org.apache.dns.io.DnsMessageDecoder;
 import org.apache.dns.messages.DnsMessage;
 
-
 public class DnsMessageDecoderTest extends AbstractDnsTestCase
 {
-	private ByteBuffer requestByteBuffer;
-	
-	public void testParseQuery() throws Exception
-	{
-		requestByteBuffer = getByteBufferFromFile( "DNS-QUERY.pdu" );
-		
-		DnsMessageDecoder decoder = new DnsMessageDecoder();
-		DnsMessage dnsRequest = decoder.decode( requestByteBuffer );
-		
-		print( dnsRequest );
-	}
-	
-	public void testParseResponse() throws Exception
-	{
-		requestByteBuffer = getByteBufferFromFile( "DNS-RESPONSE.pdu" );
-		
-		DnsMessageDecoder decoder = new DnsMessageDecoder();
-		DnsMessage dnsRequest = decoder.decode( requestByteBuffer );
-		
-		print( dnsRequest );
-	}
-}
+    private ByteBuffer requestByteBuffer;
+
+    public void testParseQuery() throws Exception
+    {
+        requestByteBuffer = getByteBufferFromFile( "DNS-QUERY.pdu" );
+
+        DnsMessageDecoder decoder = new DnsMessageDecoder();
+        DnsMessage dnsRequest = decoder.decode( requestByteBuffer );
 
+        print( dnsRequest );
+    }
+
+    public void testParseResponse() throws Exception
+    {
+        requestByteBuffer = getByteBufferFromFile( "DNS-RESPONSE.pdu" );
+
+        DnsMessageDecoder decoder = new DnsMessageDecoder();
+        DnsMessage dnsRequest = decoder.decode( requestByteBuffer );
+
+        print( dnsRequest );
+    }
+}



Mime
View raw message