directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject Re: Tests naming
Date Wed, 16 Mar 2005 18:53:10 GMT
Change things as you like.  I will follow your lead with the test case 
naming and all.  

This test ....

   public void testAbandonMessage() throws Exception
   {
       AbandonRequestImpl request = new AbandonRequestImpl( 1 ) ;
       request.setAbandoned( 3 ) ;
       decode( request ) ;
       roundTripTest( request ) ;
       assertFalse( tlvList.isEmpty() ) ;
   }

... generates an AbandonRequest PDU testing the encoding decoding 
projects.  Take a look at the abstract test class and the functions 
built into it for convenience.

Let me know if you need help,
Alex


Mime
View raw message