File:  [parser3project] / parser3 / tests / httpd / code-cache / site / tests.p
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Oct 5 23:31:56 2026 UTC (2 weeks, 5 days ago) by moko
Branches: MAIN
CVS tags: HEAD
tests for code caching in httpd mode (related to feature #1302)

# the tests of run_tests.sh: GET /?name calls @name

@main[]
^self.[$request:query][]

@fresh[]
^Counter:inc[] ^Counter:inc[]

@failed[]
^Cached:fail[]

@use_cached[]
^use[cached.p] ^Cached:hello[]

@extended[]
^use[extend.p] ^Cached:extra[]

@options[]
# a file compiled into a cached class takes the options of the class
^use[extend.p] ^Options:later[]locals ^Options:check[]

@defined[]
^reflection:class_alias[Counter;Late_defined] ^use[late.p]

@not_partial[]
^reflection:class_alias[Counter;Late_partial] ^use[late.p]

@no_base[]
^use[late.p] ^Late_derived:bye[]

@changing[]
^Changing:version[]

E-mail: