Used test data:
+++++++++++++++
package agent in test_mode:

setEnvironment: is called with with package information in
.../y2m_inst/ycp/packages/testsuite/suse/setup/... (CVS data)
-> constant test data
Important files: common.pkd	(dependencies)
                 du.dir		(used disk space)

other calls of package agent are "real"
-> installed packages are checked on real system and dependencies
   depend on actual installation
-> TO DO: when package agent is ready use the dummy agent to get
   a constant eset of installed packages                               

Command line:
+++++++++++++
> su
> rpm -e 3d_chess tuxeyes xroach jpilot

> /sbin/yast2 sw_single '"./test_input1"'
-> xroach, tuxeyes werden installiert

> /sbin/yast2 sw_single '"./test_input2"'
-> 3d_chess wird installiert, xroach, tuxeyes werden gelscht
 
> /sbin/yast2 sw_single \(\"jpilot\"\)
-> jpilot + AND deps werden installiert

> /sbin/yast2 sw_single  \"/usr/local_src/yast2/modules/y2c_spkg/testsuite/gnuchess.rpm\"
-> gnuchess wird ohne dependency check installiert

> /usr/lib/YaST2/bin/y2bignfat sw_single qt \"beginner\"

make check test cases:
++++++++++++++++++++++
sw_popup:
---------
1. Test 
* shows inst_source (Source Selection)
- click "Install"
* popup: Versions do not match ...
- click "OK" and "Abort"

2. test
* popup Error reading configuration file

3. Test
* popup Package dummyfile.rpm not found

4. Test
* shows inst_source
- click "Install"
* popup: Currently CD 2 is inserted, Insert CD 1
- click "Skip" and "Abort"

5. Test
* popup: No access to source media used on previous ...
- click "Continue"
* dialog inst_source
- click "Abort"

sw_input:
---------
1. Test 
* shows inst_sw_single (if there are unresolved dependencies)
*  Required space: ! 0 KB

-  click "Continue" on popup
* inst_rpmcopy starts immediateley ( xroach and tuxeyes will be installed )
 
2. Test 	
* shows inst_sw_single
- click on "Continue" if Dependency warning popup is showed
- click in "OK" 
* inst_rpmcopy starts ( 3d_chess will be installed, tuxeyes, xroach removed)

3. Test
* shows inst_sw_single (if there are unresolved dependencies)
-  click "Continue" on popup
* inst_rpmcopy starts immediateley ( installing jpilot, pilot-link, perl.. )

4. Test
* gnuchess will be installed (inst_rpmcopy starts immediately)

5. Test
* inst_rpmcopy with popup "RPM returned error" (no testmode, no
  root permissions and therefore no access to rpm database)

 
sw_source:
----------
1. Test (beginner)
* inst_sw_single is first dialog
- click "Cancel"

2. Test (change source)
* inst_source is first dialog
- click "Install"
* inst_sw_single will be shown
- click "Cancel"
* back to inst_source
- click "Abort"

