1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00
github.com_openSUSE_osc/tests
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
..
addfile_fixtures - rewrote addfile() and delete_file() methods from the Package class (for the details see below) 2010-08-31 13:30:36 +02:00
deletefile_fixtures - rewrote addfile() and delete_file() methods from the Package class (for the details see below) 2010-08-31 13:30:36 +02:00
update_fixtures - adjust testcase for commit 9205d4d902cd3d45747c30405acd92bd5f98d210 2010-08-31 13:30:36 +02:00
common.py - rewrote addfile() and delete_file() methods from the Package class (for the details see below) 2010-08-31 13:30:36 +02:00
osc - initial testcases for the new update mechanism 2010-08-31 13:30:35 +02:00
test_addfiles.py - rewrote addfile() and delete_file() methods from the Package class (for the details see below) 2010-08-31 13:30:36 +02:00
test_deletefiles.py - rewrote addfile() and delete_file() methods from the Package class (for the details see below) 2010-08-31 13:30:36 +02:00
test_update.py - moved __change_to_pkg into common module (new name _change_to_pkg) 2010-08-31 13:30:36 +02:00