--- parser3/tests/results/auto.p 2012/03/03 05:24:44 1.6 +++ parser3/tests/results/auto.p 2024/05/20 22:46:47 1.18 @@ -8,10 +8,50 @@ $CLASS_PATH[^table::create{path /tests }] +$NO_PROTOTYPE[ + $.[336.html][yes] + $.[225.html][yes] + $.[051.html][yes] +] +^if(def $NO_PROTOTYPE.[$env:PATH_TRANSLATED]){ + $OBJECT-PROTOTYPE(false) +} -@auto[] +^if($env:PATH_TRANSLATED eq '357.html'){ + $LIMITS[ + $.max_loop(50) + $.max_recoursion(50) + ] +} +^if($env:PATH_TRANSLATED eq '358.html'){ + $LIMITS[ + $.max_loop(0) + $.max_recoursion(0) + ] +} +^if($env:PATH_TRANSLATED eq '380.html' || $env:PATH_TRANSLATED eq '394-curl.html' ){ + $LIMITS[ + $.max_file_size(10000) + ] +} + +^if($env:PATH_TRANSLATED eq '403.html'){ + $MIME-TYPES[^table::create{ext mime-type +txt text/plain +html text/html +}] +} + +^if($env:PATH_TRANSLATED eq '409.html'){ + $LOCALS(true) +} +^if($env:PATH_TRANSLATED eq '410.html'){ + $CLASS-GETTER-PROTECTED(false) +} + +@auto[] @try-catch[jCode] @@ -19,27 +59,27 @@ $CLASS_PATH[^table::create{path $exception.handled(true) Type: $exception.type, Source: $exception.source, - Comment: $exception.comment + Comment: ^if($env:PATH_TRANSLATED eq '269.html'){$exception.comment}{^taint[as-is;$exception.comment]} } - @1251[] ^from-1251[] ^to-1251[] - @from-1251[] $request:charset[windows-1251] - @to-1251[] $response:charset[windows-1251] - # backward @windows-1251[] ^1251[] + +@os[win;unix][name] +$name[^env:OS.left(7)] +$result[^if(^name.lower[] eq 'windows'){$win}{$unix}]