From 17c1bc0e4f20d76267c4e31b55396e746166bf26 Mon Sep 17 00:00:00 2001 From: Moon Man Date: Wed, 4 Sep 2024 02:09:59 +0000 Subject: [PATCH] test stuff --- test/scratch/follower1.json | 17 +++++++++++++++++ test/scratch/follower1_followers.json | 8 ++++++++ test/scratch/follower1_following.json | 8 ++++++++ test/scratch/follower2.json | 17 +++++++++++++++++ test/scratch/follower2_followers.json | 8 ++++++++ test/scratch/follower2_following.json | 8 ++++++++ test/scratch/me.json | 17 +++++++++++++++++ test/scratch/me_followers.json | 9 +++++++++ test/scratch/me_following.json | 9 +++++++++ test/scratch/randomuser1.json | 17 +++++++++++++++++ test/scratch/randomuser1_followers.json | 9 +++++++++ test/scratch/randomuser1_following.json | 6 ++++++ 12 files changed, 133 insertions(+) create mode 100644 test/scratch/follower1.json create mode 100644 test/scratch/follower1_followers.json create mode 100644 test/scratch/follower1_following.json create mode 100644 test/scratch/follower2.json create mode 100644 test/scratch/follower2_followers.json create mode 100644 test/scratch/follower2_following.json create mode 100644 test/scratch/me.json create mode 100644 test/scratch/me_followers.json create mode 100644 test/scratch/me_following.json create mode 100644 test/scratch/randomuser1.json create mode 100644 test/scratch/randomuser1_followers.json create mode 100644 test/scratch/randomuser1_following.json diff --git a/test/scratch/follower1.json b/test/scratch/follower1.json new file mode 100644 index 0000000..04f7a47 --- /dev/null +++ b/test/scratch/follower1.json @@ -0,0 +1,17 @@ +{ + "@id": "https://banana.example.net/users/one", + "@context": [ + "https://www.w3.org/ns/activitystreams", + { + "vonbraun": "https://shit.nexus/ns/fedi/vonbraun/" + } + ], + "type": "Person", + "name": "Mr. One", + "preferredUsername": "one", + "summary": "Example one.", + "inbox": "https://banana.example.net/users/one/inbox", + "outbox": "https://banana.example.net/users/one/outbox", + "followers": "https://banana.example.net/users/one/followers", + "following": "https://banana.example.net/users/one/following" +} \ No newline at end of file diff --git a/test/scratch/follower1_followers.json b/test/scratch/follower1_followers.json new file mode 100644 index 0000000..7a17653 --- /dev/null +++ b/test/scratch/follower1_followers.json @@ -0,0 +1,8 @@ +{ + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://banana.example.net/users/one/followers", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/two" + ] +} \ No newline at end of file diff --git a/test/scratch/follower1_following.json b/test/scratch/follower1_following.json new file mode 100644 index 0000000..cd6db07 --- /dev/null +++ b/test/scratch/follower1_following.json @@ -0,0 +1,8 @@ +{ + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://banana.example.net/users/one/following", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/two" + ] +} \ No newline at end of file diff --git a/test/scratch/follower2.json b/test/scratch/follower2.json new file mode 100644 index 0000000..ad29ea1 --- /dev/null +++ b/test/scratch/follower2.json @@ -0,0 +1,17 @@ +{ + "@id": "https://banana.example.net/users/two", + "@context": [ + "https://www.w3.org/ns/activitystreams", + { + "vonbraun": "https://shit.nexus/ns/fedi/vonbraun/" + } + ], + "type": "Person", + "name": "Mrs. Two", + "preferredUsername": "two", + "summary": "Example two.", + "inbox": "https://banana.example.net/users/two/inbox", + "outbox": "https://banana.example.net/users/two/outbox", + "followers": "https://banana.example.net/users/two/followers", + "following": "https://banana.example.net/users/two/following" +} \ No newline at end of file diff --git a/test/scratch/follower2_followers.json b/test/scratch/follower2_followers.json new file mode 100644 index 0000000..c9caa31 --- /dev/null +++ b/test/scratch/follower2_followers.json @@ -0,0 +1,8 @@ +{ + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://banana.example.net/users/two/followers", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/one" + ] +} \ No newline at end of file diff --git a/test/scratch/follower2_following.json b/test/scratch/follower2_following.json new file mode 100644 index 0000000..b19c799 --- /dev/null +++ b/test/scratch/follower2_following.json @@ -0,0 +1,8 @@ +{ + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://banana.example.net/users/two/following", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/one" + ] +} \ No newline at end of file diff --git a/test/scratch/me.json b/test/scratch/me.json new file mode 100644 index 0000000..d9fd63c --- /dev/null +++ b/test/scratch/me.json @@ -0,0 +1,17 @@ +{ + "@id": "https://vonbraun.example.net/users/moonman", + "@context": [ + "https://www.w3.org/ns/activitystreams", + { + "vonbraun": "https://shit.nexus/ns/fedi/vonbraun/" + } + ], + "type": "Person", + "name": "Moon Man", + "preferredUsername": "moonman", + "summary": "I am the Moon.", + "inbox": "https://vonbraun.example.net/users/moonman/inbox", + "outbox": "https://vonbraun.example.net/users/moonman/outbox", + "followers": "https://vonbraun.example.net/users/moonman/followers", + "following": "https://vonbraun.example.net/users/moonman/following" +} \ No newline at end of file diff --git a/test/scratch/me_followers.json b/test/scratch/me_followers.json new file mode 100644 index 0000000..2da3fb8 --- /dev/null +++ b/test/scratch/me_followers.json @@ -0,0 +1,9 @@ +{ + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://vonbraun.example.net/users/moonman/followers", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/one", + "https://banana.example.net/users/two" + ] +} \ No newline at end of file diff --git a/test/scratch/me_following.json b/test/scratch/me_following.json new file mode 100644 index 0000000..5fb2bc5 --- /dev/null +++ b/test/scratch/me_following.json @@ -0,0 +1,9 @@ +{ + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://vonbraun.example.net/users/moonman/following", + "type": "OrderedCollection", + "orderedItems": [ + "https://orange.example.net/users/smith", + "https://banana.example.net/users/two" + ] +} \ No newline at end of file diff --git a/test/scratch/randomuser1.json b/test/scratch/randomuser1.json new file mode 100644 index 0000000..ab9d308 --- /dev/null +++ b/test/scratch/randomuser1.json @@ -0,0 +1,17 @@ +{ + "@id": "https://orange.example.net/users/smith", + "@context": [ + "https://www.w3.org/ns/activitystreams", + { + "vonbraun": "https://shit.nexus/ns/fedi/vonbraun/" + } + ], + "type": "Person", + "name": "Mr. Smith", + "preferredUsername": "smith", + "summary": "A guy named Smith", + "inbox": "https://orange.example.net/users/smith/inbox", + "outbox": "https://orange.example.net/users/smith/outbox", + "followers": "https://orange.example.net/users/smith/followers", + "following": "https://orange.example.net/users/smith/following" +} \ No newline at end of file diff --git a/test/scratch/randomuser1_followers.json b/test/scratch/randomuser1_followers.json new file mode 100644 index 0000000..8a99a30 --- /dev/null +++ b/test/scratch/randomuser1_followers.json @@ -0,0 +1,9 @@ +{ + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://orange.example.net/users/smith/followers", + "type": "OrderedCollection", + "orderedItems": [ + "https://banana.example.net/users/one", + "https://vonbraun.example.net/users/moonman" + ] +} \ No newline at end of file diff --git a/test/scratch/randomuser1_following.json b/test/scratch/randomuser1_following.json new file mode 100644 index 0000000..9894215 --- /dev/null +++ b/test/scratch/randomuser1_following.json @@ -0,0 +1,6 @@ +{ + "@context": "https://www.w3.org/ns/activitystreams", + "@id": "https://orange.example.net/users/smith/following", + "type": "OrderedCollection", + "orderedItems": [] +} \ No newline at end of file