Changeset ba3bc9e


Ignore:
Timestamp:
Mar 24, 2012 11:18:37 AM (8 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
0cefaba
Parents:
f164951
Message:

Uncommented two Datagram tests that currently throw NullPointerExceptions?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/test/net/i2p/client/datagram/DatagramTest.java

    rf164951 rba3bc9e  
    5757        assertEquals(d, dd.extractSender());
    5858    }
    59    
    60     /*public void testMakeNullDatagram() throws Exception{
     59
     60    public void testMakeNullDatagram() throws Exception{
    6161        ByteArrayOutputStream out = new ByteArrayOutputStream();
    6262        I2PClient client = I2PClientFactory.createClient();
     
    6767        byte[] dg = dm.makeI2PDatagram(null);
    6868        assertNull(dg);
    69     }*/
    70    
    71     /*public void testExtractNullDatagram() throws Exception{
     69    }
     70
     71    public void testExtractNullDatagram() throws Exception{
    7272        ByteArrayOutputStream out = new ByteArrayOutputStream();
    7373        I2PClient client = I2PClientFactory.createClient();
     
    7777        I2PDatagramDissector dd = new I2PDatagramDissector();
    7878        dd.loadI2PDatagram(null);
    79     }*/
    80    
     79    }
     80
    8181    public void testBadagram() throws Exception{
    8282        ByteArrayOutputStream out = new ByteArrayOutputStream();
Note: See TracChangeset for help on using the changeset viewer.