gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Archiving tests...


From: Gregory Casamento
Subject: Re: Archiving tests...
Date: Fri, 22 Mar 2013 13:07:36 -0400

I'm thinking that some tests of GUI classes might be in order as well.   I've been thinking lately about how best to test GUI.


On Fri, Mar 22, 2013 at 12:49 PM, Richard Frith-Macdonald <address@hidden> wrote:

On 22 Mar 2013, at 16:32, Gregory Casamento wrote:

> I'm wondering if it might not be a good idea to have a test which looks at all classes which implement NSCoding and archives and unarchives them to check that the result is what is expected.

The test framework has test_NSCoding() which does this (and test_keyed_NSCoding() for classes which support keyed coding).

> Also, it might be a good idea to have a set of data which was archived on a 32 bit machine and on a 64 bit machine etc and check to see that machines of all architectures and word sizes can read archives by all other platforms.

The tests in the coding subdirectory do at least some of that.  IIRC they test 32bit archives ... adding 64bit archives would be nice.



--
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]