> -Original Message-
> From: Stepan Mishura [mailto:[EMAIL PROTECTED]
>
> * When loading the resource, the name is assembled using
> File.separatorChar
> > as the separator, but you should just be using the character "/" since
> > that's the normative class path separator.
>
> I didn't
Anton,
You suggestion works only if a test extends SerializationTest but we agree
avoid this (i.e. a test should invoke only static utility methods of
SerializationTest)
Thanks,
Stepan.
On 7/7/06, Anton Luht wrote:
Stepan,
I think that there's no need in SerializableAssert interface - just
Stepan,
I think that there's no need in SerializableAssert interface - just
put assertDeserialized(Serializable, Serializable) method to
SerializationTest class with default implementation based on current
code from defineComparator (if there's equals(), use it, if it's
instance of Throwable, use
tends Assert to simplify the usage of the 'assertXXX'
methods for normal test classes.
Agree.
Thanks for you comments,
Stepan.
[1]
http://incubator.apache.org/harmony/subcomponents/classlibrary/ser_testing.html
-Nathan
> -Original Message-
> From: Stepan M
Assert.assertXXX", as this is the class that defines these methods.
TestCase just extends Assert to simplify the usage of the 'assertXXX'
methods for normal test classes.
-Nathan
> -Original Message-----
> From: Stepan Mishura [mailto:[EMAIL PROTECTED]
> Sent: Wednesday,
Hello Stepan,
Thanks for your explanation.
It seems I have to wait until NIO test package layout is complete.
The test package structure is not the same as SerializationTest framework
expects.
I'll use merged serialization test framework then. :)
btw: Paulex said he'd like to do it in the previ
Hi Andrew,
On 7/3/06, Andrew Zhang wrote:
Hi Stepan,
I tried serialization test framework, and found it's really easy to use.
:)
Here I have a small question: why TestCase is designed as first parameter?
Because it is required for all methods for testing compatibility so I made
it as first
Hi Stepan,
I tried serialization test framework, and found it's really easy to use. :)
Here I have a small question: why TestCase is designed as first parameter?
If I understand correctly, it's used to parse exception name. So is it the
same if we simply pass the String or Class of the object
On 6/30/06, Jimmy, Jing Lv wrote:
Stepan Mishura wrote:
> Hi Jimmy,
>
> 3. The test needs ser-files, so it may be necessary to add a method to
>> create this file easily just like the old framework. I find a protected
>> method produceGoldenFiles(), is that used for it (why protected?)? This
>>
Stepan Mishura wrote:
Hi Jimmy,
On 6/30/06, Jimmy, Jing Lv wrote:
Hi Stepan:
Seems the new framework for serialization has added to Harmony, I'm
trying it and find it interesting. However I have a few questions:
1. It is strange that SerializationTest is an abstract class extends
junit.fr
Hi Jimmy,
On 6/30/06, Jimmy, Jing Lv wrote:
Hi Stepan:
Seems the new framework for serialization has added to Harmony, I'm
trying it and find it interesting. However I have a few questions:
1. It is strange that SerializationTest is an abstract class extends
junit.framework.testcase, in t
Jimmy, Jing Lv wrote:
Hi Stepan:
Seems the new framework for serialization has added to Harmony, I'm
trying it and find it interesting. However I have a few questions:
1. It is strange that SerializationTest is an abstract class extends
junit.framework.testcase, in this case I can either
12 matches
Mail list logo