On Fri, Jun 17, 2011 at 03:28:05PM -0000, [email protected] wrote: > Author: lslezak > Date: Fri Jun 17 17:28:04 2011 > New Revision: 64465 > > URL: http://svn.opensuse.org/viewcvs/yast?rev=64465&view=rev > Log: > move Wagon::FindMountPoint() function to separate include file > > so it can be tested, added a testsuite for it
TESTS, WOW! BTW it is a secret little feature of yast2-core that defining the environment variable Y2ALLGLOBAL makes all functions in a module global. It is enabled during the tests, so wagon_helpers.ycp just because of the tests is unnecessary. > > Added: > trunk/wagon/src/include/wagon_helpers.ycp > trunk/wagon/testsuite/tests/FindMountPoint.err > trunk/wagon/testsuite/tests/FindMountPoint.out > trunk/wagon/testsuite/tests/FindMountPoint.ycp > Modified: > trunk/wagon/src/modules/Makefile.am > trunk/wagon/src/modules/Wagon.ycp -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
pgp0CePYrKYA7.pgp
Description: PGP signature
