Commit Graph

141 Commits

Author SHA1 Message Date
Greg Beaver
d4070174d8 fake pearweb package files, for unit testing downloads without an installed pearweb 2004-05-29 09:00:52 +00:00
Greg Beaver
d87e221f44 config unit tests, ready for channels 2004-05-29 08:59:26 +00:00
Greg Beaver
918d45198a new unit tests
pearweb mock object is complete
2004-05-29 08:51:59 +00:00
Greg Beaver
8c5c17c3a1 update for conflicting file test 2004-05-29 08:49:01 +00:00
Greg Beaver
1f31e7ddea new package.xml needed to test conflicting files error 2004-05-29 08:48:01 +00:00
Greg Beaver
6f7d0b2a6a in preparation for testing all remote functionality, use a mock object for a functioning pearweb server 2004-05-23 05:33:25 +00:00
Greg Beaver
981948641c fix for BC break
staticGetErrors adds the parameter $level between $purge and $merge, as it will be as common (or more common) as $purge.
2004-05-21 03:33:51 +00:00
Marcus Boerger
d94136fc30 - Remove unused blocks 2004-05-19 08:45:46 +00:00
Greg Beaver
d14b94b8df fix to work with only the installed version of PEAR 2004-04-30 16:45:46 +00:00
Greg Beaver
bf87bf816c remove notices in E_ALL for config test in PHP 4.3.6 2004-04-30 03:39:04 +00:00
Greg Beaver
56d7d95c67 hopefully fix this test for all cases 2004-04-30 03:35:43 +00:00
Greg Beaver
94ff299736 fix unit test to work with 1.3.2 (which will be needed) 2004-04-30 02:06:11 +00:00
Greg Beaver
65ecfc28cf fix unit test with PEAR 1.3.1 2004-04-30 01:57:35 +00:00
Greg Beaver
578c28fb0c update naming of tests - forgot to rename files before committing,
but this is not a big deal, as the name 'Error_Stack' still makes sense
2004-03-21 23:06:20 +00:00
Greg Beaver
9b530c04f1 added in wrong directory, move to tests/ 2004-03-21 23:02:29 +00:00
Greg Beaver
4180b972ae phpunit tests for PEAR_ErrorStack 2004-03-19 00:48:39 +00:00
Greg Beaver
117698b4c6 add failure test for non-existing file 2003-12-11 15:59:08 +00:00
Greg Beaver
541ebbeaeb new unit test for PEAR_Packager 2003-12-11 15:56:08 +00:00
Greg Beaver
3cd16913a8 update test cases for new error messages 2003-12-11 05:49:37 +00:00
Greg Beaver
fa07b7a09c new test case for directory tree deletion on uninstall 2003-12-11 05:30:57 +00:00
Greg Beaver
5e0b0b147b finished unit test for _processDependency failure test 2003-12-06 22:33:53 +00:00
Greg Beaver
bb861773a9 forgot to have it delete the directory it creates 2003-12-06 06:56:55 +00:00
Greg Beaver
c46abac9bd new test case - test invalid download conditions
TODO:
- tests for _processDependency
2003-12-06 06:05:04 +00:00
Greg Beaver
d2ad2841bd unit test for new code - proves it works 2003-12-04 02:01:46 +00:00
Greg Beaver
ad9629d2bf finished unit test 2003-12-04 01:35:27 +00:00
Greg Beaver
dba21314ce another segment working 2003-12-04 01:22:00 +00:00
Greg Beaver
172bf25830 another test case, small fix for XML_RPC caching borking working tests 2003-12-03 23:46:10 +00:00
Greg Beaver
ed3167eada another tgz for test case comparison 2003-12-03 23:36:00 +00:00
Greg Beaver
604dcdd256 add part of a test case 2003-12-03 23:24:47 +00:00
Greg Beaver
4e5e628637 new unit test for downloader - incomplete.
WARNING: this test requires a fully functional pearweb server at address pear.Chiara, with several packages available for download.  This one will fail until Martin has time to set up test.pear.php.net as the server.
2003-12-03 22:53:58 +00:00
Greg Beaver
036ac99eef new test case and supporting files - incomplete, but works as it is 2003-12-01 04:51:21 +00:00
Greg Beaver
cd4baaf654 potential major booboo in unit test, probably won't affect this one 2003-12-01 04:04:07 +00:00
Greg Beaver
b27f71ca58 fclose() might be needed 2003-12-01 00:43:34 +00:00
Greg Beaver
87365b0149 new unit test 2003-12-01 00:36:47 +00:00
Greg Beaver
21714261a6 fix unit test 2003-12-01 00:14:37 +00:00
Greg Beaver
3db2e9bdcc minor booboo 2003-12-01 00:14:16 +00:00
Greg Beaver
df5317e336 new unit test - test works, but there is a serious bug in sortPkgDeps to be fixed, as unearthed by this test 2003-11-30 23:43:19 +00:00
Greg Beaver
bfc02f7223 finish unit test with non-working download test with callback 2003-11-30 22:51:17 +00:00
Greg Beaver
398dec718a add in skip condition for internet offline, and callback test 2003-11-30 22:49:33 +00:00
Greg Beaver
685e7a365a first unsuccessful test works 2003-11-30 22:39:24 +00:00
Greg Beaver
2276704637 first successful download test works :) 2003-11-30 22:37:47 +00:00
Greg Beaver
a7d7f311f0 beginning framework for PEAR_Common::downloadHttp test - binary test file 2003-11-30 22:31:35 +00:00
Greg Beaver
5c60fe3a0e beginning framework for PEAR_Common::downloadHttp test 2003-11-30 22:31:00 +00:00
Greg Beaver
44e2b42692 tweak tests 2003-11-30 22:24:14 +00:00
Greg Beaver
cc27a3f03d got it - the pattern ONLY needs addslashes for windows paths 2003-11-30 00:14:22 +00:00
Greg Beaver
6f1625d29b fix one part - can't get the ereg() to match on windows, will fix when I figure out why 2003-11-29 23:37:56 +00:00
Greg Beaver
2c4e1f1d4a fix up unit tests - registry was ridiculously out of date. Guess nobody ever runs these... 2003-11-29 23:36:46 +00:00
Greg Beaver
e882ab4817 new test case 2003-11-29 20:45:09 +00:00
Greg Beaver
154db581ae finish unit test 2003-11-29 20:35:43 +00:00
Greg Beaver
e39e452e30 add in environment variable for easy non-skipping 2003-11-29 19:43:05 +00:00