summaryrefslogtreecommitdiff
path: root/tests/filter
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-05-04 13:56:00 +0200
committerLeon Rische <leon.rische@me.com>2020-05-04 13:56:00 +0200
commitb2afbb0356880b37f0bb0c80351c6a7b91dd2248 (patch)
treecd6e2dba2e0f57dfc3311247b2b989415a9e2300 /tests/filter
parente8303241918970b680701bc645b9b37af3634249 (diff)
Add indexer & filter tests
Diffstat (limited to 'tests/filter')
-rw-r--r--tests/filter/a.org23
-rw-r--r--tests/filter/b.org25
-rw-r--r--tests/filter/c.org29
3 files changed, 77 insertions, 0 deletions
diff --git a/tests/filter/a.org b/tests/filter/a.org
new file mode 100644
index 0000000..5bf724d
--- /dev/null
+++ b/tests/filter/a.org
@@ -0,0 +1,23 @@
+* Normal :fc:tag1:
+:PROPERTIES:
+:FC_CREATED: 2020-05-03T15:56:55Z
+:FC_TYPE: normal
+:ID: 9c5e1c79-e0a0-4cf9-9ddd-a2556da0d755
+:END:
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| front | 2.5 | 0 | 0 | 2020-05-03T15:56:55Z |
+:END:
+* Double :fc:tag1:tag2:
+:PROPERTIES:
+:FC_CREATED: 2020-05-03T15:57:00Z
+:FC_TYPE: double
+:ID: dc8340e2-8725-40b7-8e88-4c7fec938fc0
+:END:
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| front | 2.5 | 0 | 0 | 2020-05-03T15:57:00Z |
+| back | 2.5 | 0 | 0 | 2020-05-03T15:57:00Z |
+:END:
diff --git a/tests/filter/b.org b/tests/filter/b.org
new file mode 100644
index 0000000..8103177
--- /dev/null
+++ b/tests/filter/b.org
@@ -0,0 +1,25 @@
+* Heading 1 :tag2:
+** Heading 2
+*** Normal1 :fc:
+:PROPERTIES:
+:FC_CREATED: 2020-05-03T16:07:38Z
+:FC_TYPE: normal
+:ID: b5686029-f41a-4ff8-a8ed-2629d2f47b81
+:END:
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| front | 2.5 | 0 | 0 | 2020-05-03T16:07:38Z |
+:END:
+* Heading 3
+** Normal2 :fc:
+:PROPERTIES:
+:FC_CREATED: 2020-05-03T16:08:00Z
+:FC_TYPE: normal
+:ID: 3abe7213-33fd-4b90-8a8b-e323682e19ee
+:END:
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| front | 2.5 | 0 | 0 | 2020-05-03T16:08:00Z |
+:END:
diff --git a/tests/filter/c.org b/tests/filter/c.org
new file mode 100644
index 0000000..472b52e
--- /dev/null
+++ b/tests/filter/c.org
@@ -0,0 +1,29 @@
+#+FILETAGS: :file1:file2:
+#+FILETAGS: :file3:
+
+* Double :fc:
+:PROPERTIES:
+:FC_CREATED: 2020-05-03T16:14:52Z
+:FC_TYPE: double
+:ID: d96b7d6a-c719-4696-aafc-da88b23e1dcb
+:END:
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| front | 2.5 | 0 | 0 | 2020-05-03T16:14:52Z |
+| back | 2.5 | 0 | 0 | 2020-05-03T16:14:52Z |
+:END:
+* Cloze :fc:
+:PROPERTIES:
+:FC_CREATED: 2020-05-03T16:15:05Z
+:FC_TYPE: cloze
+:ID: 54625832-2d72-46f6-8f26-862eba4e4651
+:FC_CLOZE_MAX: 0
+:FC_CLOZE_TYPE: deletion
+:END:
+:REVIEW_DATA:
+| position | ease | box | interval | due |
+|----------+------+-----+----------+----------------------|
+| 0 | 2.5 | 0 | 0 | 2020-05-03T16:15:05Z |
+:END:
+{{hole}@0}