From 42543b07806ca9b9bec73eda91afa657f57c64bc Mon Sep 17 00:00:00 2001 From: Rupinder Singh Khokhar Date: Wed, 11 Jun 2014 09:13:22 +0530 Subject: Adding the latest test files without fixing the INDEXes or the test interfaces --- test/data/validator/base-target-attribute.test | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 test/data/validator/base-target-attribute.test (limited to 'test/data/validator/base-target-attribute.test') diff --git a/test/data/validator/base-target-attribute.test b/test/data/validator/base-target-attribute.test new file mode 100755 index 0000000..6d4db20 --- /dev/null +++ b/test/data/validator/base-target-attribute.test @@ -0,0 +1,35 @@ +{"tests": [ + +{"description": "valid base target attribute '_self'", +"input": "", +"fail-if": "invalid-browsing-context"}, + +{"description": "valid base target attribute '_parent'", +"input": "", +"fail-if": "invalid-browsing-context"}, + +{"description": "valid base target attribute '_top'", +"input": "", +"fail-if": "invalid-browsing-context"}, + +{"description": "valid base target attribute '_blank'", +"input": "", +"fail-if": "invalid-browsing-context"}, + +{"description": "valid base target attribute 'foo'", +"input": "", +"fail-if": "invalid-browsing-context"}, + +{"description": "base target attribute may be blank", +"input": "", +"fail-if": "invalid-browsing-context"}, + +{"description": "invalid base target attribute '_'", +"input": "", +"fail-unless": "invalid-browsing-context"}, + +{"description": "invalid base target attribute '_foo'", +"input": "", +"fail-unless": "invalid-browsing-context"} + +]} \ No newline at end of file -- cgit v1.2.3