From e3c86f7ff37de0af10b4165216da14bf0f91dc0b Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 22 Jul 2021 17:23:06 +0200 Subject: add sample site resources --- tests/content/bhello/index.json | 9 +++++++++ tests/content/pmyfsfhello/index.json | 5 +++++ tests/content/sbad/index.json | 1 + tests/content/sgood/good.js | 1 + tests/content/sgood/index.json | 6 ++++++ 5 files changed, 22 insertions(+) create mode 100644 tests/content/bhello/index.json create mode 100644 tests/content/pmyfsfhello/index.json create mode 100644 tests/content/sbad/index.json create mode 100644 tests/content/sgood/good.js create mode 100644 tests/content/sgood/index.json (limited to 'tests/content') 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" +} -- cgit v1.2.3