Annotation of parser3/tests/390.html, revision 1.1

1.1     ! moko        1: @main[]
        !             2: 
        !             3: image code coverage tests:
        !             4: 
        !             5: $i[^image::create(100;100)]
        !             6: 
        !             7: 1. ^i.line(0;0;100;100;255)
        !             8: 2. ^i.bar(40;0;80;30;0xFF00)
        !             9: 3. ^i.replace(255;128)
        !            10: 4. ^i.fill(5;50;0xE0E0E0)
        !            11: 
        !            12: 5. ^i.replace(0xFF00;0xFF00FF)[^replace_region[]]
        !            13:     ^try-catch{ ^i.replace(0xFF00;0xFF00FF)[^table::create[nameless]{1 2       3}] }
        !            14: 
        !            15: 6. ^i.polybar(0xFFDDDD)[^paint_region[]]
        !            16: 7. ^i.polygon(0xFF0000)[^paint_region[]]
        !            17: 8. ^i.polyline(0xAAAAFF)[^line_region[]]
        !            18: 
        !            19: 9. ^i.sector(50;80;30;30;45;315;255*256*256)
        !            20: 
        !            21: 10. ^i.pixel(5;20;128) ^i.pixel(5;20)
        !            22: 
        !            23: 11. $f[^i.gif[name.gif]] ^json:string[$f; $.file[base64] ]
        !            24: 
        !            25: 12. $ii[^image::measure[$f]] ^ii.html[]
        !            26: 
        !            27: 13. $f[^file::create[content; $.name[unknown.format] ]]
        !            28:     ^try-catch{ ^image::measure[$f] }
        !            29:     $f[^file::create[content; $.name[no-format] ]]
        !            30:     ^try-catch{ ^image::measure[$f] }
        !            31: 
        !            32: 15. $f[^file::create[content; $.name[format.png] ]]
        !            33:     ^try-catch{ ^image::measure[$f] }
        !            34:     $f[^file::create[big enough content ****************************** ; $.name[format.png] ]]
        !            35:     ^try-catch{ ^image::measure[$f] }
        !            36: 
        !            37: 16. $f[^file::create[1; $.name[format.jpg] ]]
        !            38:     ^try-catch{ ^image::measure[$f] }
        !            39:     $f[^file::create[content; $.name[format.jpg] ]]
        !            40:     ^try-catch{ ^image::measure[$f] }
        !            41:     $f[^file::create[^#FF^#D8 JPEG content; $.name[format.jpg] ]]
        !            42:     ^try-catch{ ^image::measure[$f] }
        !            43: 
        !            44: 17. $f[^file::load[binary;096_dir/163.jpg]]
        !            45:     $ii[^image::measure[$f]] ^ii.html[]
        !            46: 
        !            47: 18. ^try-catch{ ^image::load[no-such-file.gif] }
        !            48: 19. ^try-catch{ ^image::load[390.html] }
        !            49: 
        !            50: @replace_region[]
        !            51: ^table::create{x       y
        !            52: 60     5
        !            53: 90     5
        !            54: 90     25
        !            55: 60     25
        !            56: }]
        !            57: 
        !            58: @paint_region[]
        !            59: ^table::create{x       y
        !            60: 80     50
        !            61: 85     55
        !            62: 85     65
        !            63: 75     65
        !            64: 75     55}]
        !            65: 
        !            66: @line_region[]
        !            67: ^table::create{x       y
        !            68: 10     40
        !            69: 5      50
        !            70: 10     60}]
        !            71: 

E-mail: