Merged revisions 3733-3755 via svnmerge from
svn+ssh://bugman@.../svn/relax/1.3
........
r3733 | bugman | 2007-11-20 23:26:38 +0100 (Tue, 20 Nov 2007) | 3 lines
Created by copying a base class for testing both the prompt.state and generic_fns.state modules.
........
r3734 | bugman | 2007-11-20 23:36:39 +0100 (Tue, 20 Nov 2007) | 3 lines
The generic_fns.state module unit test code is now using the base class.
........
r3735 | bugman | 2007-11-20 23:41:25 +0100 (Tue, 20 Nov 2007) | 6 lines
Renamed all the unit test directories to start with an underscore.
This is to fix issues with the importing of modules. These directories were clashing with the real
relax directories, making the relax modules in them inaccessible to certain unit tests.
........
r3736 | bugman | 2007-11-20 23:42:48 +0100 (Tue, 20 Nov 2007) | 3 lines
Removed some unused imports.
........
r3737 | bugman | 2007-11-20 23:43:19 +0100 (Tue, 20 Nov 2007) | 3 lines
Removed some more unused imports.
........
r3738 | bugman | 2007-11-20 23:49:43 +0100 (Tue, 20 Nov 2007) | 3 lines
A few more unused imported eliminated.
........
r3739 | bugman | 2007-11-20 23:58:12 +0100 (Tue, 20 Nov 2007) | 5 lines
Added the framework for the unit tests of the prompt.state module.
This inherits 2 unit tests already (which pass).
........
r3740 | bugman | 2007-11-21 00:05:14 +0100 (Wed, 21 Nov 2007) | 3 lines
Implemented the file arg unit test for the state.load() user function.
........
r3741 | bugman | 2007-11-21 00:08:36 +0100 (Wed, 21 Nov 2007) | 3 lines
Implemented the dir arg unit test for the state.load() user function.
........
r3742 | bugman | 2007-11-21 00:09:32 +0100 (Wed, 21 Nov 2007) | 3 lines
Fix for the previously committed unit test.
........
r3743 | bugman | 2007-11-21 00:11:15 +0100 (Wed, 21 Nov 2007) | 3 lines
Shifted the prompt.state.State class instance into the unit test class namespace.
........
r3744 | bugman | 2007-11-21 00:13:29 +0100 (Wed, 21 Nov 2007) | 3 lines
Placed the generic.state module into the unit test class namespace.
........
r3745 | bugman | 2007-11-21 00:14:05 +0100 (Wed, 21 Nov 2007) | 3 lines
Incorrect comment fix.
........
r3746 | bugman | 2007-11-21 00:22:26 +0100 (Wed, 21 Nov 2007) | 3 lines
Updated the prompt.state and generic_fns.state unit tests to test the correct functions.
........
r3747 | bugman | 2007-11-21 00:24:12 +0100 (Wed, 21 Nov 2007) | 3 lines
Fixed the argument unit tests for the state.load() user function.
........
r3748 | bugman | 2007-11-21 00:27:28 +0100 (Wed, 21 Nov 2007) | 3 lines
Fixed the state.load() and state.save() user functions to properly call the generic_fns functions.
........
r3749 | bugman | 2007-11-21 00:36:42 +0100 (Wed, 21 Nov 2007) | 3 lines
Converted the arguments into keyword arguments to try to fix these unit tests.
........
r3750 | bugman | 2007-11-21 00:49:24 +0100 (Wed, 21 Nov 2007) | 3 lines
Fix for the nasty function argument bug!
........
r3751 | bugman | 2007-11-21 00:51:39 +0100 (Wed, 21 Nov 2007) | 3 lines
Implemented the file arg unit test for the state.save() user function.
........
r3752 | bugman | 2007-11-21 00:52:40 +0100 (Wed, 21 Nov 2007) | 5 lines
Implemented the dir arg unit test for the state.save() user function.
And a fix for the file arg unit test of state.save().
........
r3753 | bugman | 2007-11-21 00:56:43 +0100 (Wed, 21 Nov 2007) | 3 lines
Implemented the force arg unit test for the state.save() user function.
........
r3754 | bugman | 2007-11-21 00:57:08 +0100 (Wed, 21 Nov 2007) | 3 lines
Changed the int data types so none would be 0 or 1 (the bin types).
........
r3755 | bugman | 2007-11-21 01:00:41 +0100 (Wed, 21 Nov 2007) | 3 lines
Implemented the compress_type arg unit test for the state.save() user function.
........