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
Greg Beaver
595b433b25
start on a new unit test
2003-11-29 19:39:51 +00:00
Greg Beaver
1e2a437c0c
new unit test
2003-11-01 05:05:34 +00:00
Greg Beaver
43d1ad8372
new unit test
2003-11-01 03:32:15 +00:00
Greg Beaver
014d039459
add optional dependencies to test
2003-10-31 22:53:31 +00:00
Greg Beaver
70a852ebdc
fix test
2003-10-31 22:51:43 +00:00
Greg Beaver
d4150d6095
add fancy SKIPIF code, fix test
2003-10-31 22:46:57 +00:00
Greg Beaver
6c403c7794
add fancy SKIPIF code
2003-10-31 22:39:43 +00:00
Greg Beaver
f51b3c0cb1
fix test 1, add in nifty SKIPIF code
2003-10-31 22:30:37 +00:00
Greg Beaver
3caf118763
add in skip to match other tests
2003-10-31 17:41:57 +00:00
Greg Beaver
4da5da699e
new test case
2003-10-31 17:39:59 +00:00
Greg Beaver
899432fac8
finished unit test
2003-10-31 05:14:32 +00:00
Greg Beaver
f244e77f6b
start on unit test for PEAR_Common
2003-10-31 01:17:04 +00:00
Greg Beaver
d560e49713
add rollback test for installed_as
2003-09-18 04:32:46 +00:00
Greg Beaver
c6d102bfe4
finished transaction tests
2003-09-18 04:24:25 +00:00
Greg Beaver
0e957bedc8
add rmdir test, add comment to remind me to finish installed_as test before moving on to next one
2003-09-17 03:44:25 +00:00
Greg Beaver
9a4453ee62
modify chmod test to be truly permissions-filesystem-based-specific
2003-09-17 03:31:59 +00:00
Greg Beaver
5e63a153c8
more file transaction tests
2003-09-17 03:29:55 +00:00
Greg Beaver
e91c4067e4
cut-and-paste error
2003-09-17 00:02:45 +00:00
Greg Beaver
7a0fcc45a8
some beginning tests for commitFileTransaction()
2003-09-17 00:00:21 +00:00
Greg Beaver
1b76db05e7
adding transaction test file (unfinished)
2003-09-16 23:43:47 +00:00
Greg Beaver
896254c71e
add tests for invalid replacements
2003-09-16 03:16:46 +00:00
Greg Beaver
8014d0dfac
add testing for baseinstalldir attribute
2003-09-15 03:14:12 +00:00
Greg Beaver
88fc290887
add testing for install-as attribute
2003-09-15 03:07:53 +00:00
Greg Beaver
8254b8f49e
add testing for md5sum
2003-09-14 20:19:59 +00:00
Greg Beaver
c4e5fed89f
adding test for non-existing file
2003-09-14 20:02:07 +00:00
Greg Beaver
3901da3a1d
adding test for invalid role
2003-09-14 19:59:06 +00:00
Greg Beaver
0225844ac1
adding replacements section for _installFile()
2003-09-14 19:53:37 +00:00
Greg Beaver
cb5b1690ac
new test for _installFile() - not yet complete, but what's there works
2003-09-14 04:24:21 +00:00
Greg Beaver
272c0aaec8
simplify test, split into two
2003-09-14 04:24:05 +00:00
Greg Beaver
1465e10781
test for checkDeps
2003-09-10 00:03:12 +00:00
Greg Beaver
79852dfa55
first step in unit testing the installer - tests the download PREG function
2003-09-09 23:40:39 +00:00
Greg Beaver
f126c0df6a
fixed include, verified that it indeed works, and PEAR.php passes the test :)
2003-08-13 22:05:23 +00:00
Greg Beaver
6366483f1b
tests for pear error handling
2003-08-13 20:34:48 +00:00
foobar
dbe01aca1f
not a real test
2003-04-25 10:53:10 +00:00
Stig Bakken
dd22d65e2f
* not a real test, just a script for displaying OS_Guess output
2003-01-25 00:45:13 +00:00
Ilia Alshanetsky
2e25c236d4
One more PEAR test to be skipped.
2002-10-22 17:26:39 +00:00
Ilia Alshanetsky
dd56de8d1e
Disable PEAR tests. These tests have too many dependcies such as
...
pre-installed PEAR, needing to run as root user, most tests
will fail if PEAR install directory is not inside include_path and so on.
2002-10-22 14:19:02 +00:00
Stig Bakken
2809b32e63
* update test
2002-10-12 18:27:05 +00:00
Pierre Joye
09b9d5d956
Add test for single directory creation
...
this test actually fails
2002-10-12 15:18:31 +00:00
Stig Bakken
846ad56a13
* rename System::type to System::which
2002-10-12 14:17:44 +00:00
Pierre Joye
a15877930c
Add cache_ttl, cache_dir to expect output
...
Update text for username, password
Tests pass now
2002-10-09 11:50:12 +00:00
Stig Bakken
81e5b17f91
* made rebuildFileMap method public, added caching and checkFileMap method
2002-07-07 20:48:54 +00:00
Stig Bakken
f111dff665
* merge NEW_UI_API branch
2002-06-02 13:07:19 +00:00
Jan Lehnardt
57adfb0dec
- add testcase for PEAR::delExpect()
2002-05-30 09:39:52 +00:00
Stig Bakken
1ed83e4970
* update test
2002-05-28 01:21:26 +00:00
Stig Bakken
f0a3e7262e
* updated config key names
2002-05-12 07:09:25 +00:00
Stig Bakken
201ec25f42
* exclude _lastmodified registry attrib from tests
2002-05-12 07:08:25 +00:00
Stig Bakken
96213680ca
* add preferred_state
2002-04-09 18:51:31 +00:00
Stig Bakken
a036fe5b72
* Refactoring of "pear" command internals. Highlights:
...
- user interface abstraction, making a Gtk installer should only be
a matter of implementing PEAR_CommandUI_Gtk plus a "pear-gtk" executable
- separated code into command classes, able to specify one or more
commands
- no more "pear-get" :-)
* fixed use of PEAR_Config::singleton to avoid object copying
2002-03-18 17:39:52 +00:00
Tomas V.V.Cox
7c77b1a71e
No more lines on this test
2002-03-13 01:46:10 +00:00
Tomas V.V.Cox
409a631bed
Fix error handling selection when both class and global are set
2002-03-13 01:17:47 +00:00
Sander Roobol
58a52f93bc
Fixed many tests, mostly incorrect paths.
2002-03-08 19:16:19 +00:00
Stig Bakken
fda570aadc
* PEAR_Config test complete
2002-03-05 20:39:38 +00:00
Stig Bakken
80f1212660
* update PEAR_Config test
2002-03-05 17:39:53 +00:00
Stig Bakken
2b9f535589
* fixed a couple of bugs in PEAR_Config revealed by test
2002-03-05 00:41:36 +00:00
Stig Bakken
8d7d6ce2c3
* more cli test fixes
2002-03-02 03:11:02 +00:00
Stig Bakken
4c73289238
* updated tests to work with cli
2002-03-02 03:07:48 +00:00
Stig Bakken
b8aa2339d3
fix test
2002-03-02 02:47:48 +00:00
Tomas V.V.Cox
0dd3010501
test suite for the System class
2002-02-10 17:12:43 +00:00
Tomas V.V.Cox
3a878be7a1
submit a test that will fail due to php bug #14744
2002-01-11 00:04:55 +00:00
Stig Bakken
54ad4c578c
* PEAR.php line number changes again
2002-01-02 17:19:25 +00:00
Stig Bakken
6ca17a6e35
* registry files renamed from .inf to .reg, update test
2002-01-02 17:18:52 +00:00
Stig Bakken
b11d1eb440
* initial commit of PEAR method autoloader
2001-12-10 01:50:11 +00:00
Stig Bakken
db44b1086c
* expectError() now accepts "*" as a catch-all
...
* updated tests
2001-11-04 09:07:17 +00:00
Stig Bakken
b0a803d127
* update tests
2001-10-31 05:52:41 +00:00
Stig Bakken
b60aedc275
* PEAR_Registry: renamed "upgradePackage" to "updatePackage"
...
* added tests for PEAR_Config and PEAR_Registry
2001-10-29 12:17:37 +00:00
Stig Bakken
475796a0d7
removed
2001-10-26 20:05:34 +00:00
Stig Bakken
405142087c
* replaced PEAR::phpVersionIs with version_compare
2001-10-11 22:11:34 +00:00
Stig Bakken
1f40bd4cd9
* updated line numbers
2001-10-11 01:23:53 +00:00
Tomas V.V.Cox
20505d8483
added tests for PHP version comparing functions
2001-10-05 13:02:08 +00:00
Tomas V.V.Cox
a95fb10461
renumber error lines
2001-08-31 19:21:02 +00:00
Tomas V.V.Cox
409b87d41e
make some tests to work. Still left the Notice of the deprecated use of
...
call_user_method, no way to shut it down.
2001-08-31 16:43:08 +00:00
Stig Bakken
d400f78079
* expected error codes are stored on a stack now, PEAR::expectError()
...
pushes into it, PEAR::popExpect() pops off it
* made pear_error test work on other boxes than my own :-)
2001-08-14 21:11:33 +00:00
Stig Bakken
3c801213c6
* updated test (currently passes only on my laptop, sorry...)
2001-08-14 12:49:51 +00:00
Stig Bakken
2cf1b8d345
* expanded the following constants and made them available in PHP:
...
DEFAULT_INCLUDE_PATH
PEAR_INSTALL_DIR
PHP_EXTENSION_DIR
PHP_BINDIR
PHP_LIBDIR
PHP_DATADIR
PHP_SYSCONFDIR
PHP_LOCALSTATEDIR
PHP_CONFIG_FILE_PATH
* no longer generating pear/PEAR.php
* fixed some tests
* some more installer work
2001-04-22 01:09:14 +00:00
Stig Bakken
43bba67988
* forgot to update this test too
2001-04-19 02:40:35 +00:00
Stig Bakken
2e4ecd5cab
* DB_common now inherits PEAR and its error handling stuff
...
* DB_common::raiseError is now just a wrapper for PEAR::raiseError
* fixed some cast warnings in prepare/execute
* updated tests
2001-04-19 02:37:47 +00:00
Stig Bakken
2723ad2e63
* have DB.php use PEAR::raiseError in factory methods
2001-04-17 01:51:27 +00:00
Stig Bakken
ee17aae3ac
* make the error class used by raiseError configurable (_error_class property,
...
overridden by first parameter to constructor)
2001-04-16 21:45:21 +00:00