Skip to content

Commit 4697a86

Browse files
committed
Save work on new content validation support (Issue #22)
1 parent 4149f88 commit 4697a86

2 files changed

Lines changed: 439 additions & 11 deletions

File tree

examples/test-resources.test

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
NAME "Test Resources"
3+
OPERATION Get-Printer-Attributes
4+
GROUP operation-attributes-tag
5+
ATTR charset attributes-charset utf-8
6+
ATTR naturalLanguage attributes-natural-language en
7+
ATTR uri printer-uri $uri
8+
9+
STATUS successful-ok
10+
EXPECT printer-icons OF-TYPE uri IN-GROUP printer-attributes-tag WITH-CONTENT valid-icon SAVE-CONTENT "icon-%index%.png"
11+
EXPECT printer-more-info OF-TYPE uri IN-GROUP printer-attributes-tag COUNT 1 WITH-CONTENT available WITH-MIME-TYPES "text/html"
12+
EXPECT ?printer-strings-uri OF-TYPE uri IN-GROUP printer-attributes-tag COUNT 1 WITH-CONTENT valid WITH-MIME-TYPES "text/strings"
13+
EXPECT ?printer-supply-info-uri OF-TYPE uri IN-GROUP printer-attributes-tag COUNT 1 WITH-CONTENT valid WITH-MIME-TYPES "text/html" SAVE-CONTENT "%basename%.html"
14+
}

0 commit comments

Comments
 (0)