directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <>
Subject Re: Getting rid of snacc dependency in snickers test cases
Date Wed, 16 Feb 2005 02:00:52 GMT
Vincent Tence wrote:

> Just to let you know that all test cases have been migrated by now. 
> This means we do not depend on snacc4j anymore.
Hip hip hurray!  Let's make sure the snacc4j jar is not referenced 
anywhere but in the snacc-provider.  You probably did this already.  
Anyhow thanks for groking this - you did a great job.


> Cheers,
> - Vincent
> Vincent Tence wrote:
>> I'm in the process of migrating Snickers test cases to using 
>> pre-computed pdus rather than relying on Snacc provider to compute 
>> pdus on the fly.
>> The pre-computed pdus are generated using a helper class that I want 
>> to keep outside the snickers subproject, for breaking the snickers -> 
>> snacc dependency. I've not found a definitive home for it, but I was 
>> thinking of putting it within the test folder of the snacc component. 
>> WDYT?
>> You can use this helper class in one of the following ways:
>> 1. Serialize a message content to XML using XStream and feed it to 
>> the PDUGenerator (not sure this is any useful after all)
>> 2. Copy and paste your message building code in the PDUGenerator class
>> (KISS)
>> In both cases the end result is the PDU string that you can just 
>> paste to your snickers test case:
>> byte[] req = new byte[] <paste here>
>> If we're ok with this, I'll proceed and update all the test cases.
>> - Vincent

View raw message