diff options
Diffstat (limited to 'tests/content')
-rw-r--r-- | tests/content/bhello/index.json | 9 | ||||
-rw-r--r-- | tests/content/pmyfsfhello/index.json | 5 | ||||
-rw-r--r-- | tests/content/sbad/index.json | 1 | ||||
-rw-r--r-- | tests/content/sgood/good.js | 1 | ||||
-rw-r--r-- | tests/content/sgood/index.json | 6 |
5 files changed, 22 insertions, 0 deletions
diff --git a/tests/content/bhello/index.json b/tests/content/bhello/index.json new file mode 100644 index 0000000..510499c --- /dev/null +++ b/tests/content/bhello/index.json @@ -0,0 +1,9 @@ +{ +"type" : "bag", +"name" : "hello", +"components" : [ +["script", "good"], +["script", "absent"], +["bag", "absent"] +] +} diff --git a/tests/content/pmyfsfhello/index.json b/tests/content/pmyfsfhello/index.json new file mode 100644 index 0000000..c1685f5 --- /dev/null +++ b/tests/content/pmyfsfhello/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://my.fsf.org", +"payload" : ["bag", "hello"] +} diff --git a/tests/content/sbad/index.json b/tests/content/sbad/index.json new file mode 100644 index 0000000..3495c02 --- /dev/null +++ b/tests/content/sbad/index.json @@ -0,0 +1 @@ +{)'fwe;32{]} diff --git a/tests/content/sgood/good.js b/tests/content/sgood/good.js new file mode 100644 index 0000000..def45e3 --- /dev/null +++ b/tests/content/sgood/good.js @@ -0,0 +1 @@ +console.log("good hello!"); diff --git a/tests/content/sgood/index.json b/tests/content/sgood/index.json new file mode 100644 index 0000000..cd44109 --- /dev/null +++ b/tests/content/sgood/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "good", +"sha256" : "e4dbe4dba40e8bd159fb987b0f0cf2c243d7e6b9b9dc792e58dedf1fae38b0a1", +"location" : "good.js" +} |