summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/malformed/no_cards.org4
-rw-r--r--tests/malformed/no_properties.org7
-rw-r--r--tests/malformed/no_review_data.org7
-rw-r--r--tests/malformed/normal.org12
-rw-r--r--tests/malformed/normal_additional_drawers.org18
-rw-r--r--tests/malformed/normal_swapped_drawers.org12
-rw-r--r--tests/malformed/unclosed_drawer1.org11
-rw-r--r--tests/malformed/unclosed_drawer2.org11
8 files changed, 82 insertions, 0 deletions
diff --git a/tests/malformed/no_cards.org b/tests/malformed/no_cards.org
new file mode 100644
index 0000000..0626f67
--- /dev/null
+++ b/tests/malformed/no_cards.org
@@ -0,0 +1,4 @@
+* Foo
+Bar
+* Baz
+Qux
diff --git a/tests/malformed/no_properties.org b/tests/malformed/no_properties.org
new file mode 100644
index 0000000..5b99c06
--- /dev/null
+++ b/tests/malformed/no_properties.org
@@ -0,0 +1,7 @@
+* Normal :fc:
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| front | 2.5 | 0 | 0 | 2020-05-02T12:05:43Z |
+:END:
+Body
diff --git a/tests/malformed/no_review_data.org b/tests/malformed/no_review_data.org
new file mode 100644
index 0000000..291e5bf
--- /dev/null
+++ b/tests/malformed/no_review_data.org
@@ -0,0 +1,7 @@
+* No Review Data :fc:
+:PROPERTIES:
+:FC_CREATED: 2020-05-02T11:29:39Z
+:FC_TYPE: normal
+:ID: 49e1ad20-c0ee-4f6f-b152-3f8826f6176b
+:END:
+Back
diff --git a/tests/malformed/normal.org b/tests/malformed/normal.org
new file mode 100644
index 0000000..7b5aa53
--- /dev/null
+++ b/tests/malformed/normal.org
@@ -0,0 +1,12 @@
+* Normal Card :fc:
+:PROPERTIES:
+:FC_CREATED: 2020-05-02T11:54:46Z
+:FC_TYPE: normal
+:ID: 7f52728a-2844-4e12-912b-a255b3a2cb01
+:END:
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| front | 2.5 | 0 | 0 | 2020-05-02T11:54:46Z |
+:END:
+Body
diff --git a/tests/malformed/normal_additional_drawers.org b/tests/malformed/normal_additional_drawers.org
new file mode 100644
index 0000000..078e9cf
--- /dev/null
+++ b/tests/malformed/normal_additional_drawers.org
@@ -0,0 +1,18 @@
+* Normal Card :fc:
+:BAR:
+:END:
+:PROPERTIES:
+:FC_CREATED: 2020-05-02T12:01:58Z
+:FC_TYPE: normal
+:ID: c614cee2-f2c6-484f-80b8-be64f54a1989
+:END:
+:BAZ:
+:END:
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| front | 2.5 | 0 | 0 | 2020-05-02T12:01:58Z |
+:END:
+:QUX:
+:END:
+Body
diff --git a/tests/malformed/normal_swapped_drawers.org b/tests/malformed/normal_swapped_drawers.org
new file mode 100644
index 0000000..fb5bcef
--- /dev/null
+++ b/tests/malformed/normal_swapped_drawers.org
@@ -0,0 +1,12 @@
+* Normal :fc:
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| front | 2.5 | 0 | 0 | 2020-05-02T12:04:21Z |
+:END:
+:PROPERTIES:
+:FC_CREATED: 2020-05-02T12:04:21Z
+:FC_TYPE: normal
+:ID: 61bf118c-a0e2-40b3-89fc-d2ac4d068b65
+:END:
+Body
diff --git a/tests/malformed/unclosed_drawer1.org b/tests/malformed/unclosed_drawer1.org
new file mode 100644
index 0000000..de56fcc
--- /dev/null
+++ b/tests/malformed/unclosed_drawer1.org
@@ -0,0 +1,11 @@
+* Normal :fc:
+:PROPERTIES:
+:FC_CREATED: 2020-05-02T12:07:26Z
+:FC_TYPE: normal
+:ID: 79d99ab4-6f7e-4926-a21e-7f51a5eb6b4b
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| front | 2.5 | 0 | 0 | 2020-05-02T12:07:26Z |
+:END:
+Body
diff --git a/tests/malformed/unclosed_drawer2.org b/tests/malformed/unclosed_drawer2.org
new file mode 100644
index 0000000..5aca3fd
--- /dev/null
+++ b/tests/malformed/unclosed_drawer2.org
@@ -0,0 +1,11 @@
+* Normal :fc:
+:PROPERTIES:
+:FC_CREATED: 2020-05-02T12:07:43Z
+:FC_TYPE: normal
+:ID: b3685392-07db-49a1-9a71-742f5459d6b9
+:END:
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| front | 2.5 | 0 | 0 | 2020-05-02T12:07:43Z |
+Body