From f4f70974d32b9340fbf99f36c1c292c21b384982 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 21 Jun 2023 17:07:56 +0200 Subject: [PATCH] Add ToDos --- .../domaindrivenarchitecture/activity_pub_poc/parser.clj | 5 ++--- .../activity_pub_poc/parser_test.clj | 8 +++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/parser.clj b/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/parser.clj index 91a6b84..cb260b1 100644 --- a/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/parser.clj +++ b/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/parser.clj @@ -14,7 +14,7 @@ ; find definitions (defn find-definitions [string-input] - (str/split string-input #" \.")) + (str/split string-input #" \.")) ;ToDo this is crap, splits need tbd differently ; make list of vectors/map from well known input-string @@ -28,8 +28,7 @@ ; {prefix:range ; range muss sich liebevoll angeschaut werden ; [ ; prefix:Type -; prefix:Type -; +; prefix:Type ; ]}]} (defn to-map-from-def [string-input]) diff --git a/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj b/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj index 26f0025..a2a6b60 100644 --- a/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj +++ b/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj @@ -24,4 +24,10 @@ ((deftest find-definitions-test (testing "Finding definitons" (is (= expected-definitions - (sut/find-definitions processed)))))) \ No newline at end of file + (sut/find-definitions processed)))))) + +;ToDo +; spec für eine property: as:name +; test für (defn ttl-file element-name [spezified predicates]) -> (str spec) + +; das gleiche für as:actor \ No newline at end of file