From 774cc4338dd077f3b07af1e9aff1b644864527df Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Wed, 2 Aug 2023 09:01:21 +0200 Subject: [PATCH] mv old code out of the way --- .../activitystreams2_legacy_test.clj | 28 ------------------- .../activitystreams2_test.cljc | 1 - .../activitystreams2_legacy.clj | 0 .../activity_pub_poc/common.clj | 0 .../activity_pub_poc/core.clj | 0 .../activity_pub_poc/core_test.clj | 0 .../activity_pub_poc/parser.clj | 0 .../activity_pub_poc/parser_test.clj | 0 8 files changed, 29 deletions(-) delete mode 100644 src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_legacy_test.clj rename {src/main/clj => tmp}/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_legacy.clj (100%) rename {src/main/clj => tmp}/org/domaindrivenarchitecture/activity_pub_poc/common.clj (100%) rename {src/main/clj => tmp}/org/domaindrivenarchitecture/activity_pub_poc/core.clj (100%) rename {src/test/clj => tmp}/org/domaindrivenarchitecture/activity_pub_poc/core_test.clj (100%) rename {src/main/clj => tmp}/org/domaindrivenarchitecture/activity_pub_poc/parser.clj (100%) rename {src/test/clj => tmp}/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj (100%) diff --git a/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_legacy_test.clj b/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_legacy_test.clj deleted file mode 100644 index f79b52e..0000000 --- a/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_legacy_test.clj +++ /dev/null @@ -1,28 +0,0 @@ -(ns org.domaindrivenarchitecture.activity-pub-poc.activitystreams2-legacy-test - (:require - [clojure.test :refer [deftest is are testing run-tests]] - [clojure.spec.test.alpha :as st] - [clojure.spec.alpha :as s] - [org.domaindrivenarchitecture.activity-pub-poc.activitystreams2-legacy :as sut])) - -;(deftest id-test -; (is (s/valid? ::sut/id "https://social.bla/alyssa/status/RANDOMHASH"))) - -;(deftest type-test -; (is (s/valid? ::sut/type "Note")) -; (is (s/valid? ::sut/type "Link")) -; (is (not(s/valid? ::sut/type "non existing")))) - -;(deftest object-test -; (is (s/valid? ::sut/Object "https://social.bla/alyssa/status/RANDOMHASH") -; (is (s/valid? ::sut/Object {:id "https://social.bla/alyssa/status/RANDOMHASH" :type "Page"})))) -; -;(deftest link-test -; (is (s/valid? ::sut/Link {:type "Link"}))) - -;(deftest Note-test -; (is (s/valid? -; ::sut/Note -; {:id "https://social.bla/alyssa/status/RANDOMHASH" -; :type "Note" -; :content "text"}))) diff --git a/src/test/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_test.cljc b/src/test/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_test.cljc index 8414306..e0b6745 100644 --- a/src/test/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_test.cljc +++ b/src/test/cljc/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_test.cljc @@ -1,7 +1,6 @@ (ns org.domaindrivenarchitecture.activity-pub-poc.activitystreams2-test (:require [clojure.test :refer [deftest is are testing run-tests]] - [clojure.spec.test.alpha :as st] [clojure.spec.alpha :as s] [org.domaindrivenarchitecture.activity-pub-poc.activitystreams2 :as sut])) diff --git a/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_legacy.clj b/tmp/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_legacy.clj similarity index 100% rename from src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_legacy.clj rename to tmp/org/domaindrivenarchitecture/activity_pub_poc/activitystreams2_legacy.clj diff --git a/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/common.clj b/tmp/org/domaindrivenarchitecture/activity_pub_poc/common.clj similarity index 100% rename from src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/common.clj rename to tmp/org/domaindrivenarchitecture/activity_pub_poc/common.clj diff --git a/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/core.clj b/tmp/org/domaindrivenarchitecture/activity_pub_poc/core.clj similarity index 100% rename from src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/core.clj rename to tmp/org/domaindrivenarchitecture/activity_pub_poc/core.clj diff --git a/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/core_test.clj b/tmp/org/domaindrivenarchitecture/activity_pub_poc/core_test.clj similarity index 100% rename from src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/core_test.clj rename to tmp/org/domaindrivenarchitecture/activity_pub_poc/core_test.clj diff --git a/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/parser.clj b/tmp/org/domaindrivenarchitecture/activity_pub_poc/parser.clj similarity index 100% rename from src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/parser.clj rename to tmp/org/domaindrivenarchitecture/activity_pub_poc/parser.clj diff --git a/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj b/tmp/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj similarity index 100% rename from src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj rename to tmp/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj