Add test case for hitting breakpoint of the form DerivedClass::inheritedMethod

It turns out that this feature already works. Adding a test case to make sure it stays that way.
Esse commit está contido em:
Herman Venter
2013-06-20 18:53:31 -07:00
commit de Sara Golemon
commit 026be6adbd
3 arquivos alterados com 23 adições e 0 exclusões
+3
Ver Arquivo
@@ -21,4 +21,7 @@ class cls {
}
}
class derived extends cls {
}
error_log('break1.php loaded');
+15
Ver Arquivo
@@ -95,4 +95,19 @@ Breakpoint 1 set upon entering noSuchFunction()
But wont break until function noSuchFunction has been loaded.
break list
1 ALWAYS upon entering noSuchFunction() (unbound)
break clear all
All breakpoints are cleared.
break derived::pubObj()
Breakpoint 1 set upon entering derived::pubObj()
@ $break6 = new derived()
@ $break6->pubObj('test_break6')
Breakpoint 1 reached at cls::pubObj() on line 12 of %s/break1.php
11 public function pubObj($x) {
12 error_log("pubObj:".$x);
13 }
continue
pubObj:test_break6
quit
+5
Ver Arquivo
@@ -31,4 +31,9 @@ break cls::nosuchMethod()
break list
break noSuchFunction()
break list
break clear all
break derived::pubObj()
@ $break6 = new derived()
@ $break6->pubObj('test_break6')
continue
quit