From 765ceca3bf63c1ea99c4060e793d96953582e19a Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 11 May 2025 18:47:19 +0200 Subject: add tests derived from draft protocol documentation --- test/todo/block-cluster_scope.md | 21 +++++++++++++++++++++ test/todo/block-cluster_scope.plain.html | 12 ++++++++++++ test/todo/block-cluster_scope.rdfa.html | 13 +++++++++++++ test/todo/block-siblings_scope.md | 13 +++++++++++++ test/todo/block-siblings_scope.plain.html | 6 ++++++ test/todo/block-siblings_scope.rdfa.html | 10 ++++++++++ test/todo/block-siblings_scope_list.md | 4 ++++ test/todo/block-tree_scope.md | 10 ++++++++++ test/todo/block-tree_scope.plain.html | 6 ++++++ test/todo/block-tree_scope.rdfa.html | 8 ++++++++ test/todo/link_definition_scope.md | 10 ++++++++++ test/todo/link_definition_scope.plain.html | 4 ++++ test/todo/link_definition_scope.rdfa.html | 4 ++++ 13 files changed, 121 insertions(+) create mode 100644 test/todo/block-cluster_scope.md create mode 100644 test/todo/block-cluster_scope.plain.html create mode 100644 test/todo/block-cluster_scope.rdfa.html create mode 100644 test/todo/block-siblings_scope.md create mode 100644 test/todo/block-siblings_scope.plain.html create mode 100644 test/todo/block-siblings_scope.rdfa.html create mode 100644 test/todo/block-siblings_scope_list.md create mode 100644 test/todo/block-tree_scope.md create mode 100644 test/todo/block-tree_scope.plain.html create mode 100644 test/todo/block-tree_scope.rdfa.html create mode 100644 test/todo/link_definition_scope.md create mode 100644 test/todo/link_definition_scope.plain.html create mode 100644 test/todo/link_definition_scope.rdfa.html (limited to 'test/todo') diff --git a/test/todo/block-cluster_scope.md b/test/todo/block-cluster_scope.md new file mode 100644 index 0000000..342632f --- /dev/null +++ b/test/todo/block-cluster_scope.md @@ -0,0 +1,21 @@ +{.schema:Group} + +# People + +## Manu Sporny + +My name is Manu Sporny. + +## Thomas Francart + +My name is Thomas Francart. + +I once read this: + +> {=<#manu>} +> +> My name is Manu Sporny. +> +> You can give me a ring. + +Should I call him? diff --git a/test/todo/block-cluster_scope.plain.html b/test/todo/block-cluster_scope.plain.html new file mode 100644 index 0000000..c121d82 --- /dev/null +++ b/test/todo/block-cluster_scope.plain.html @@ -0,0 +1,12 @@ +

{.schema:Group}

+

People

+

Manu Sporny

+

My name is Manu Sporny.

+

Thomas Francart

+

My name is Thomas Francart.

+

I once read this:

+
+

My name is Manu Sporny.

+

You can give me a ring.

+
+

Should I call him?

diff --git a/test/todo/block-cluster_scope.rdfa.html b/test/todo/block-cluster_scope.rdfa.html new file mode 100644 index 0000000..7aa3ef0 --- /dev/null +++ b/test/todo/block-cluster_scope.rdfa.html @@ -0,0 +1,13 @@ +
+

People

+

Manu Sporny

+

My name is Manu Sporny.

+

Thomas Francart

+

My name is Thomas Francart.

+

I once read this:

+
+

My name is Manu Sporny.

+

You can give me a ring.

+
+

Should I call him?

+
diff --git a/test/todo/block-siblings_scope.md b/test/todo/block-siblings_scope.md new file mode 100644 index 0000000..3a3bec3 --- /dev/null +++ b/test/todo/block-siblings_scope.md @@ -0,0 +1,13 @@ +# People + +## {.schema:Person} + +## Manu Sporny + +My name is Manu Sporny. + +## Thomas Francart + +My name is Thomas Francart. + +# Animals diff --git a/test/todo/block-siblings_scope.plain.html b/test/todo/block-siblings_scope.plain.html new file mode 100644 index 0000000..8190063 --- /dev/null +++ b/test/todo/block-siblings_scope.plain.html @@ -0,0 +1,6 @@ +

People

+

Manu Sporny

+

My name is Manu Sporny.

+

Thomas Francart

+

My name is Thomas Francart.

+

Animals

diff --git a/test/todo/block-siblings_scope.rdfa.html b/test/todo/block-siblings_scope.rdfa.html new file mode 100644 index 0000000..4002b2d --- /dev/null +++ b/test/todo/block-siblings_scope.rdfa.html @@ -0,0 +1,10 @@ +

People

+
+

Manu Sporny

+

My name is Manu Sporny.

+

+
+

Thomas Francart

+

My name is Thomas Francart.

+
+

Animals

diff --git a/test/todo/block-siblings_scope_list.md b/test/todo/block-siblings_scope_list.md new file mode 100644 index 0000000..90dcbb7 --- /dev/null +++ b/test/todo/block-siblings_scope_list.md @@ -0,0 +1,4 @@ +- {foaf:member} +- Thomas +- Vincent +- Nicolas diff --git a/test/todo/block-tree_scope.md b/test/todo/block-tree_scope.md new file mode 100644 index 0000000..44b1dc4 --- /dev/null +++ b/test/todo/block-tree_scope.md @@ -0,0 +1,10 @@ +# People + +## {=<#manu>} Manu Sporny + +My name is Manu Sporny, +and you can give me a ring. + +## Thomas Francart + +My name is Thomas Francart. diff --git a/test/todo/block-tree_scope.plain.html b/test/todo/block-tree_scope.plain.html new file mode 100644 index 0000000..ed32777 --- /dev/null +++ b/test/todo/block-tree_scope.plain.html @@ -0,0 +1,6 @@ +

People

+

Manu Sporny

+

My name is Manu Sporny, +and you can give me a ring.

+

Thomas Francart

+

My name is Thomas Francart.

diff --git a/test/todo/block-tree_scope.rdfa.html b/test/todo/block-tree_scope.rdfa.html new file mode 100644 index 0000000..a88eb72 --- /dev/null +++ b/test/todo/block-tree_scope.rdfa.html @@ -0,0 +1,8 @@ +

People

+
+

Manu Sporny

+

My name is Manu Sporny, +and you can give me a ring.

+

+

Thomas Francart

+

My name is Thomas Francart.

diff --git a/test/todo/link_definition_scope.md b/test/todo/link_definition_scope.md new file mode 100644 index 0000000..c0acb03 --- /dev/null +++ b/test/todo/link_definition_scope.md @@ -0,0 +1,10 @@ +My name is +[Manu Sporny] +and you can give me a ring via +[1-800-555-0199]. + +[Manu Sporny]: {schema:name} + +[1-800-555-0199]: tel:+1-800-555-0199 + "make a phone call to Manu Sporny" + {schema:telephone} diff --git a/test/todo/link_definition_scope.plain.html b/test/todo/link_definition_scope.plain.html new file mode 100644 index 0000000..ba92f3f --- /dev/null +++ b/test/todo/link_definition_scope.plain.html @@ -0,0 +1,4 @@ +

My name is +Manu Sporny +and you can give me a ring via +1-800-555-0199.

diff --git a/test/todo/link_definition_scope.rdfa.html b/test/todo/link_definition_scope.rdfa.html new file mode 100644 index 0000000..60e8f7a --- /dev/null +++ b/test/todo/link_definition_scope.rdfa.html @@ -0,0 +1,4 @@ +

My name is +Manu Sporny +and you can give me a ring via +1-800-555-0199.

-- cgit v1.2.3