directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r501165 - in /directory/apacheds/trunk/protocol-dns/src/test: java/org/apache/directory/server/dns/protocol/ resources/org/apache/directory/server/dns/protocol/
Date Mon, 29 Jan 2007 19:56:09 GMT
Author: erodriguez
Date: Mon Jan 29 11:56:08 2007
New Revision: 501165

URL: http://svn.apache.org/viewvc?view=rev&rev=501165
Log:
Adding binary test PDUs attached to DIRSERVER-831 (Proposed protocol-dns changes).  Decoding
tests are now enabled.
o  Enabled MX query test.
o  Enabled MX response test.

Added:
    directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-QUERY.pdu
  (with props)
    directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-RESPONSE.pdu
  (with props)
    directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-TRAFFIC.libpcap
  (with props)
Modified:
    directory/apacheds/trunk/protocol-dns/src/test/java/org/apache/directory/server/dns/protocol/DnsMessageDecoderTest.java

Modified: directory/apacheds/trunk/protocol-dns/src/test/java/org/apache/directory/server/dns/protocol/DnsMessageDecoderTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-dns/src/test/java/org/apache/directory/server/dns/protocol/DnsMessageDecoderTest.java?view=diff&rev=501165&r1=501164&r2=501165
==============================================================================
--- directory/apacheds/trunk/protocol-dns/src/test/java/org/apache/directory/server/dns/protocol/DnsMessageDecoderTest.java
(original)
+++ directory/apacheds/trunk/protocol-dns/src/test/java/org/apache/directory/server/dns/protocol/DnsMessageDecoderTest.java
Mon Jan 29 11:56:08 2007
@@ -50,11 +50,11 @@
     
     public void testParseMxQuery() throws Exception
     {
-        //assertEquals( getTestMxQuery(), decoder.decode( getTestMxQueryByteBuffer() ) );
+        assertEquals( getTestMxQuery(), decoder.decode( getTestMxQueryByteBuffer() ) );
     }
     
     public void testParseMxResponse() throws IOException
     {
-        //assertEquals( getTestMxResponse(), decoder.decode( getTestMxResponseByteBuffer()
) );
+        assertEquals( getTestMxResponse(), decoder.decode( getTestMxResponseByteBuffer()
) );
     }
 }

Added: directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-QUERY.pdu
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-QUERY.pdu?view=auto&rev=501165
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-QUERY.pdu
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-RESPONSE.pdu
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-RESPONSE.pdu?view=auto&rev=501165
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-RESPONSE.pdu
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-TRAFFIC.libpcap
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-TRAFFIC.libpcap?view=auto&rev=501165
==============================================================================
Binary file - no diff available.

Propchange: directory/apacheds/trunk/protocol-dns/src/test/resources/org/apache/directory/server/dns/protocol/MX-TRAFFIC.libpcap
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message