Browse Source

...

pull/550/head
krakjoe 13 years ago
parent
commit
ee5393ebf9
  1. 13
      tests/commands/0100_compile.test
  2. 20
      tests/commands/0101_info.test

13
tests/commands/0100_compile.test

@ -1,13 +0,0 @@
#################################################
# name: compile
# purpose: test pre-compilation
# expect: TEST::CISTRING
# options: -rr
#################################################
# set execution context
# attempting compilation
# success
#################################################
exec sapi/phpdbg/tests/code/class.php
compile
q

20
tests/commands/0101_info.test

@ -1,17 +1,19 @@
#################################################
# name: info
# purpose: test info commands
# expect: TEST::CISTRING
# expect: TEST::FORMAT
# options: -rr
#################################################
# set execution context
# attempting compilation
# success
# user classes
# user class test
# |---- in
#[User Classes (%d)]
#User Class test (3)
#|---- in phpdbginit code on line %d
#################################################
exec sapi/phpdbg/tests/code/class.php
compile
<:
class test {
public function testMethod(){}
private function testPrivateMethod(){}
protected function testProtectedMethod(){}
}
:>
info classes
q
Loading…
Cancel
Save