PEAR2_Pyrus_Developer-0.3.1 › PEAR2_Pyrus_Developer-0.3.1/data/PEAR2_Pyrus_Developer/pear2.php.net/skeleton/tests/001.phpt
- PEAR2_Pyrus_Developer-0.3.1/
- customcommand/
- PEAR2_Pyrus_Developer/
- pear2.php.net/
- PEAR2_Pyrus_Developer/
- data/
- PEAR2_Pyrus_Developer/
- php/
- PEAR2/
- Autoload.php
- Exception.php
- MultiErrors/
- MultiErrors.php
- Pyrus/
- Developer/
- CoverageAnalyzer/
- Creator/
- PackageFile/
- Runphpt/
- Developer/
- PEAR2/
- www/
- customcommand/
- package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--TEST--
Check for extname presence
--SKIPIF--
<?php if (!extension_loaded("extname")) print "skip"; ?>
--FILE--
<?php
echo "extname extension is available";
/*
you can add regression tests for your extension here
the output of your test code has to be equal to the
text in the --EXPECT-- section below for the tests
to pass, differences between the output and the
expected text are interpreted as failure
see php5/README.TESTING for further information on
writing regression tests
*/
?>
--EXPECT--
extname extension is available
EOF
