Added remaining tests placeholders

This commit is contained in:
Marius Orcsik 2019-08-21 22:33:18 +02:00
parent 1c9ce8dc10
commit 1b91418e7a
No known key found for this signature in database
GPG key ID: 77618B618F79EB72
8 changed files with 283 additions and 0 deletions

39
followers_test.go Normal file
View file

@ -0,0 +1,39 @@
package activitypub
import "testing"
func TestFollowers_Append(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowers_Collection(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowers_GetID(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowers_GetLink(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowers_GetType(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowers_IsLink(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowers_IsObject(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowers_UnmarshalJSON(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowersNew(t *testing.T) {
t.Skipf("TODO")
}

39
following_test.go Normal file
View file

@ -0,0 +1,39 @@
package activitypub
import "testing"
func TestFollowing_Append(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowing_Collection(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowing_GetID(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowing_GetLink(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowing_GetType(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowing_IsLink(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowing_IsObject(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowing_UnmarshalJSON(t *testing.T) {
t.Skipf("TODO")
}
func TestFollowingNew(t *testing.T) {
t.Skipf("TODO")
}

View file

@ -78,3 +78,31 @@ func TestInbox_Append(t *testing.T) {
t.Errorf("First item in %T.%T does not match %q", i, i.OrderedItems, val.ID)
}
}
func TestInbox_Collection(t *testing.T) {
t.Skipf("TODO")
}
func TestInbox_GetID(t *testing.T) {
t.Skipf("TODO")
}
func TestInbox_GetLink(t *testing.T) {
t.Skipf("TODO")
}
func TestInbox_GetType(t *testing.T) {
t.Skipf("TODO")
}
func TestInbox_IsLink(t *testing.T) {
t.Skipf("TODO")
}
func TestInbox_IsObject(t *testing.T) {
t.Skipf("TODO")
}
func TestInbox_UnmarshalJSON(t *testing.T) {
t.Skipf("TODO")
}

View file

@ -79,3 +79,43 @@ func TestLiked_Append(t *testing.T) {
t.Errorf("First item in %T.%T does not match %q", l, l.OrderedItems, val.ID)
}
}
func TestLiked_Collection(t *testing.T) {
t.Skipf("TODO")
}
func TestLiked_GetID(t *testing.T) {
t.Skipf("TODO")
}
func TestLiked_GetLink(t *testing.T) {
t.Skipf("TODO")
}
func TestLiked_GetType(t *testing.T) {
t.Skipf("TODO")
}
func TestLiked_IsLink(t *testing.T) {
t.Skipf("TODO")
}
func TestLiked_IsObject(t *testing.T) {
t.Skipf("TODO")
}
func TestLikedCollection_Collection(t *testing.T) {
t.Skipf("TODO")
}
func TestLikedCollection_GetLink(t *testing.T) {
t.Skipf("TODO")
}
func TestLikedCollection_IsLink(t *testing.T) {
t.Skipf("TODO")
}
func TestLikedCollection_IsObject(t *testing.T) {
t.Skipf("TODO")
}

63
likes_test.go Normal file
View file

@ -0,0 +1,63 @@
package activitypub
import "testing"
func TestLikes_Append(t *testing.T) {
t.Skipf("TODO")
}
func TestLikes_Collection(t *testing.T) {
t.Skipf("TODO")
}
func TestLikes_GetID(t *testing.T) {
t.Skipf("TODO")
}
func TestLikes_GetLink(t *testing.T) {
t.Skipf("TODO")
}
func TestLikes_GetType(t *testing.T) {
t.Skipf("TODO")
}
func TestLikes_IsLink(t *testing.T) {
t.Skipf("TODO")
}
func TestLikes_IsObject(t *testing.T) {
t.Skipf("TODO")
}
func TestLikesCollection_Append(t *testing.T) {
t.Skipf("TODO")
}
func TestLikesCollection_Collection(t *testing.T) {
t.Skipf("TODO")
}
func TestLikesCollection_GetID(t *testing.T) {
t.Skipf("TODO")
}
func TestLikesCollection_GetLink(t *testing.T) {
t.Skipf("TODO")
}
func TestLikesCollection_GetType(t *testing.T) {
t.Skipf("TODO")
}
func TestLikesCollection_IsLink(t *testing.T) {
t.Skipf("TODO")
}
func TestLikesCollection_IsObject(t *testing.T) {
t.Skipf("TODO")
}
func TestLikesNew(t *testing.T) {
t.Skipf("TODO")
}

View file

@ -80,3 +80,31 @@ func TestOutbox_Append(t *testing.T) {
t.Errorf("First item in %T.%T does not match %q", o, o.OrderedItems, val.ID)
}
}
func TestOutbox_Collection(t *testing.T) {
t.Skipf("TODO")
}
func TestOutbox_GetID(t *testing.T) {
t.Skipf("TODO")
}
func TestOutbox_GetLink(t *testing.T) {
t.Skipf("TODO")
}
func TestOutbox_GetType(t *testing.T) {
t.Skipf("TODO")
}
func TestOutbox_IsLink(t *testing.T) {
t.Skipf("TODO")
}
func TestOutbox_IsObject(t *testing.T) {
t.Skipf("TODO")
}
func TestOutbox_UnmarshalJSON(t *testing.T) {
t.Skipf("TODO")
}

39
shares_test.go Normal file
View file

@ -0,0 +1,39 @@
package activitypub
import "testing"
func TestShares_Append(t *testing.T) {
t.Skipf("TODO")
}
func TestShares_Collection(t *testing.T) {
t.Skipf("TODO")
}
func TestShares_GetID(t *testing.T) {
t.Skipf("TODO")
}
func TestShares_GetLink(t *testing.T) {
t.Skipf("TODO")
}
func TestShares_GetType(t *testing.T) {
t.Skipf("TODO")
}
func TestShares_IsLink(t *testing.T) {
t.Skipf("TODO")
}
func TestShares_IsObject(t *testing.T) {
t.Skipf("TODO")
}
func TestShares_UnmarshalJSON(t *testing.T) {
t.Skipf("TODO")
}
func TestSharesNew(t *testing.T) {
t.Skipf("TODO")
}

7
validation_test.go Normal file
View file

@ -0,0 +1,7 @@
package activitypub
import "testing"
func TestDefaultValidator_Validate(t *testing.T) {
t.Skipf("TODO")
}