[pLog-svn] r5758 - plog/branches/lifetype-1.2/class/test/tests/misc
reto at devel.lifetype.net
reto at devel.lifetype.net
Mon Jul 30 12:39:39 EDT 2007
Author: reto
Date: 2007-07-30 12:39:39 -0400 (Mon, 30 Jul 2007)
New Revision: 5758
Modified:
plog/branches/lifetype-1.2/class/test/tests/misc/version_test.class.php
Log:
added some more test-cases for the version check. some of the new added ones fail and show the limitation of the version compare function. we either need to cut the svn revision off bevore the test or provide the svn revision in our feed.
Modified: plog/branches/lifetype-1.2/class/test/tests/misc/version_test.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/test/tests/misc/version_test.class.php 2007-07-30 13:35:52 UTC (rev 5757)
+++ plog/branches/lifetype-1.2/class/test/tests/misc/version_test.class.php 2007-07-30 16:39:39 UTC (rev 5758)
@@ -29,7 +29,13 @@
Array( "lifetype-1.2.3-r5443", "lifetype-1.2.3-r5444", -1 ),
Array( "lifetype-1.2.3-r5444", "lifetype-1.2.3-r5443", 1 ),
Array( "1.2.4-dev", "lifetype-1.2.3-r5444", 1 ),
- Array( "1.2.3-dev", "lifetype-1.2.4-r6665", -1 )
+ Array( "1.2.3-dev", "lifetype-1.2.4-r6665", -1 ),
+ Array( "lifetype-1.2.4", "lifetype-1.2.4_r5443", -1 ), // with svn revision is not older, maybe equal
+ Array( "lifetype-1.2.4_r5444", "lifetype-1.2.4", 1 ),
+ Array( "lifetype-1.2.4_r5444", "lifetype-1.2.4_r5443", 1 ),
+ Array( "lifetype-1.2.4", "lifetype-1.2.4-r5443", -1 ), // same 3 tests as above but with dash (-)
+ Array( "lifetype-1.2.4-r5444", "lifetype-1.2.4", 1 ),
+ Array( "lifetype-1.2.4-r5444", "lifetype-1.2.4-r5443", 1 )
);
}
@@ -51,4 +57,4 @@
}
}
}
-?>
\ No newline at end of file
+?>
More information about the pLog-svn
mailing list