File:  [parser3project] / parser3 / tests / 352.html
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Mon Sep 26 20:40:17 2016 UTC (9 years, 9 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, release_3_4_5, HEAD
test result updated as method name used

@main[]

$v[M]

$s[ ]
$o[^O::create[]]

1. ^try-catch{ ^reflection:method{code} }
2. ^try-catch{ ^reflection:method[$o] }

3. ^try-catch{ ^reflection:method[$test]{code} }
4. ^try-catch{ ^reflection:method[$test;$s] }
5. ^try-catch{ ^reflection:method[$string:length] }

6. $no[^reflection:method[$s;no-such-method]] $no.CLASS_NAME

7. ^try-catch{ ^reflection:method[$s;length]{code} }
8. ^try-catch{ ^reflection:method[$s;length;$self] }
9. ^try-catch{ ^reflection:method[$MAIN:CLASS;test;$s] }

10. ^try-catch{ $m[^reflection:method[$string:CLASS;length]] ^m[] }

11. $m[^reflection:method[$test;$o]]
^m[]
12. $m[^reflection:method[$o.test;$o]]
^m[]
13. $m[^reflection:method[$o.test]]
^m[]

14. $m[^reflection:method[$s;length]]
^m[]

@test[]
MAIN [$v] $self.CLASS_NAME ^if(^reflection:dynamical[]){dynamic}{static}


@CLASS
O

@create[]
$v[O]

@test[]
CLASS [$v] $self.CLASS_NAME ^if(^reflection:dynamical[]){dynamic}{static}


E-mail: