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