994768806c
Parametrize extract and create methods for Archive base class
2017-01-02 20:17:13 +01:00
19acb789b6
Added wrapper_archiver option
...
To give user a possibility to choose what archiver he can use another
options was introduced for cd32 and archive wrapper modules. This option
will indicate what archiver should be used for compressing the save
state directories.
2017-01-02 20:08:50 +01:00
5f98e9b794
Moved save state out of _make_archive method
...
Now _save_save method will be called from run() method.
2017-01-02 19:30:09 +01:00
3906e4c80b
Moved which function to another module
2017-01-02 19:27:49 +01:00
38a2322e98
Fix for file_archive tests
2017-01-02 16:05:18 +01:00
ee65e7ed7f
Added support for zip archiver
...
Also fixed issue with extension get from regexp
2017-01-02 15:39:28 +01:00
230ec154b6
Fix for archives like .tar.bz2
2017-01-02 14:06:34 +01:00
77dd4dfaf4
Added new function for creating archives
2017-01-02 13:50:39 +01:00
38a9604916
Implementation for saving changes in archive wrapper module
2017-01-02 13:47:07 +01:00
251fab377b
Non existed archive will not be fatal
...
Moved logic which check for archive file explicitly to extract method.
That way get_archiver will return archiver for not (yet) existed
archives.
2017-01-02 13:13:55 +01:00
dcf2ab0634
Cleaned up tests
2017-01-02 11:02:49 +01:00
026dbf6abd
Added tests for file_archive module
2017-01-02 10:53:16 +01:00
c8fa2d7ad4
Added archive file handler
2017-01-02 10:01:10 +01:00
ab71e270d8
Removed archive from utils
2017-01-02 10:00:35 +01:00
989c268b56
Added test for base wrapper class
...
Moved most tests from cd32 module to base one. Added missing tests for
cd32 module.
2017-01-01 18:33:31 +01:00
fa7afcb73b
Adjust existing cd32 module for base class
...
Fix failing tests for small changes in utils and cd32/base modules
2017-01-01 17:31:40 +01:00
4c39e572a6
Removed six as a dependency
...
Changed logic for checking if run_command argument is a list. Fixed
tests and refactoring save_save() method in cd32 module.
2017-01-01 14:13:48 +01:00
ef5631de3c
Added additional tests for cd32 module
...
Also, new command was added to utils - run_command which is an
generalized subprocess.call function.
Requirements is now added with module six, which was needed to detect
string-like objects in sane way.
2016-12-31 20:20:07 +01:00
364bb9ae59
Added test for run emulator for cd32 module
2016-12-31 19:25:41 +01:00
d4844bb0fb
Added test for extract for cd32 module
2016-12-31 19:02:10 +01:00
fe83ae1813
Added copy_conf method test
2016-12-31 18:47:55 +01:00
c6522061c8
Added cd32 wrapper module
2016-12-27 21:44:44 +01:00
71e0319e1f
Added tests for utils module
2016-12-27 21:22:12 +01:00
988784dbf3
Fixed occasionally failing tests caused by the wrong list order
2016-12-27 20:24:18 +01:00
11202903d5
Added simple test for plain module
2016-12-27 20:10:39 +01:00
36fe31c99e
Refactoring wrapper
2016-12-27 20:02:12 +01:00
c8b4207040
Utils refactoring.
...
Added safe guards for get_config function, introduced CmdOption class
for convenient accessing options as a dict keys with option to make them
as a list of commandline options suitable for passing to fs-uae.
2016-12-27 19:58:30 +01:00
cadcc30734
Added utility module with common functions
2016-12-25 19:03:30 +01:00
4da34da59e
Moved constant to the module init
2016-12-25 19:02:41 +01:00
8b51979dc5
Using configparser for getting options from config file
2016-12-25 11:21:53 +01:00
517831796e
Changed behavior of parse args
2016-12-25 10:57:14 +01:00
8999c361a2
Added conditional for gui tests, which depends on graphical environment
2016-12-24 10:28:13 +01:00
0c1bfa3620
Added ability to show and destroy message windows
2016-12-23 19:22:37 +01:00
abff0fb62b
Added tests for wrapper module finctions
2016-12-20 20:05:20 +01:00
38d6bde19c
Added tests for the wrapper
2016-12-19 20:22:41 +01:00