I need to write a test where the binary output would need to be
checked against an older version of a class.
The test would be something like:
{
MessageImpl currentMessage = new MessageImpl();
setProperties(currentMessages); // some method that will generate
data on message
// something that will encode the message
currentMessage.encode(someBuffer);
osgiMagic(someBuffer);
}
I'm looking for some OSGI Magic where I can then make comparissons
with MessageImpl from 1.5.0.
Is there any manageable way of doing this? Manageable = not so bad
that only me would understand the code.
I don't even know what to look for on google, hence the question here.
thanks for any help is appreciated!
Clebert