Marcus Huewe
19c63111b6
- added testcases for the new "get_diff" method
2010-08-31 13:30:36 +02:00
Marcus Huewe
d90228a7e3
- support a revert of a missing file which was added to the wc
2010-08-31 13:30:36 +02:00
Marcus Huewe
1d7c674d80
- adjusted testcase for the init_basicauth change in master
2010-08-31 13:30:36 +02:00
Marcus Huewe
9c0076d726
- added testcases for "def revert"
2010-08-31 13:30:36 +02:00
Marcus Huewe
e21e61f20e
- minor fixes
2010-08-31 13:30:36 +02:00
Marcus Huewe
62dc807378
- moved common methods into the OscTestCase class
2010-08-31 13:30:36 +02:00
Marcus Huewe
71e0b3ee34
- GET decorator: use name of the original method for the wrapper method
2010-08-31 13:30:36 +02:00
Marcus Huewe
5b6aa0a4fc
- added testsuite module which aggregates all testcases
2010-08-31 13:30:36 +02:00
Marcus Huewe
88a961cae4
- rewrote addfile() and delete_file() methods from the Package class (for the details see below)
...
- addfile():
* contains the complete logic for adding a file (=> simplified addFiles(...))
* semantic fixes
- delete_file():
* semantic fixes
- different handling of newly added/replaced files:
* added/replaced files are tracked in the .osc/_to_be_added file
- introduced new file state 'R': 'R' == "replaced"
* usecase: osc rm <file>; osc add <file> => new state is 'R'
* conceptually 'R' is equal to 'A'
- adapted revert() to support the new state (+ some other minor fixes)
- added testcases for addfile() and delete_file()
2010-08-31 13:30:36 +02:00
Marcus Huewe
e6b451596c
- moved __change_to_pkg into common module (new name _change_to_pkg)
...
removed unused method "__expected_requests" from TestUpdate class
2010-08-31 13:30:36 +02:00
Marcus Huewe
f4adf69ef9
- refactored testcase code: moved common stuff into a common module
2010-08-31 13:30:36 +02:00
Marcus Huewe
a6efd9e970
- adjust testcase for commit 9205d4d902cd3d45747c30405acd92bd5f98d210
2010-08-31 13:30:36 +02:00
Marcus Huewe
d8c59c8438
- update: support special handling for _service: files
2010-08-31 13:30:35 +02:00
Marcus Huewe
63df61e452
- simplify
2010-08-31 13:30:35 +02:00
Marcus Huewe
58ca66a417
- update: always use 'rev' query parameter when fetching files
2010-08-31 13:30:35 +02:00
Marcus Huewe
e91475508e
- support limit_size parameter during update
...
also added testcases
2010-08-31 13:30:35 +02:00
Marcus Huewe
b6a2266a5e
- initial testcases for the new update mechanism
...
some generic stuff from test_update.py will be moved into a new
module later
2010-08-31 13:30:35 +02:00