--- parser3/www/htdocs/Attic/index.html 2002/08/20 09:37:31 1.118 +++ parser3/www/htdocs/Attic/index.html 2002/09/10 10:22:13 1.132 @@ -5,9 +5,10 @@ $selffilespec[$filespec] #$form:here #$request:charset[UTF-8] -#$response:charset[windows-1251] -#$request:charset[windows-1251] +$request:charset[windows-1251] +$response:charset[windows-1251] #$response:charset[UTF-8] +#$response:charset[empty] #$response:content-type[$.value[text/html]$.charset[$response:charset]] #@postprocess[body] @@ -19,7 +20,7 @@ $selffilespec[$filespec] #^a.format[%.10u] #$result[111] #^f[a] -#^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ +^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ # ^int:sql{select news_id from news where news_id=-1}[ ## $.default{2} # ]
@@ -30,7 +31,11 @@ $selffilespec[$filespec] # ^process{ ^^h[]} # ^process{^string:sql{select '1 # ^^hello[]' }] } -#} +# ^double:sql{select '2*' ^; } +$card_sequence_expect_no(^double:sql{select 20020909131047 #card_sequence_expect_no from card_sequence}) +^card_sequence_expect_no.format[%15.f] + +} #^eval(2) #^tcrashlocaljunctionsv2[] #^tcrashlocaljunctions[] @@ -195,7 +200,6 @@ $selffilespec[$filespec] #^tstdin[] #^tfind[] #^mimet[] -#^cgit[] #^joinlimit[] #^tableclonelimit[] #^transparams[] @@ -216,10 +220,89 @@ $selffilespec[$filespec] #^rbodytest[] #^cookie[] #^cookieexpirestest[] -^postest[] +#^postest[] +#^voidpostest[] +#^virtualtest[] +#^badcolumntest[] +#^delimiters[] +#^новый-split[] +#^грязные-cookie[] +#^html-почта[] +#^badswitchtest[] +#^okswitchtest[] +#^cgit[] +#^ttransformsep[]
OK +@ttransformsep[] +$input[^xdoc::load[20020909131046.xml]] +$output[^input.transform[generated.xsl]] +^output.string[] + +@okswitchtest[] +$local[local value] +^switch[1]{ + ^case[1]{1code $local} +} + +@badswitchtest[] +^switch[1]{ + ^badswitchtestcase[] +} +@badswitchtestcase[][local] +$local[local value] + ^case[1]{1code $local} + +@badjunction[] +^badj1[] +^badj2[] + +@html-почта[] +$переменная[значение] +^mail:send[ + $.from[paf@mail] + $.to[paf@mail] + $.subject[htmltest1] + $.html{тест$переменная= !} +] + + +@грязные-cookie[] +$cookie:a[&] +$cookie:a + +@новый-split[] +$abc[a.b.c] +#$table[^abc.split[.]] +#$table[^abc.split[.;l]] +#$table[^abc.split[.;v]] +$table[^abc.split[.;lv]] +^table.menu{$table.piece}[,] +
+#$table[^abc.split[.;h]] +$table[^abc.split[.;hr]] +$table.0,$table.1,$table.2
+ +@delimiters[] +$a#1[1]
+$a#1=
+ + +@badcolumntest[] +$table[^table::load[ext.cfg]] +$table.b + + +@virtualtest[] +$derived[^derived::create[derived create actual param]] +^derived.test[] + + +@voidpostest[] +$s[] +^s.pos[$nothing] + @postest[] $s[$nothing] ^s.pos[$nothing]