Adding placeholder test functions

This commit is contained in:
Marius Orcsik 2018-11-10 22:37:06 +01:00
parent e761de64be
commit 9860c7cec8
No known key found for this signature in database
GPG key ID: 8218F7122969D484
5 changed files with 225 additions and 0 deletions

View file

@ -141,3 +141,137 @@ func TestPerson_IsObject(t *testing.T) {
t.Errorf("%T should be a valid object", m)
}
}
func TestActor_UnmarshalJSON(t *testing.T) {
}
func TestActor_GetActor(t *testing.T) {
}
func TestActor_GetID(t *testing.T) {
}
func TestActor_GetLink(t *testing.T) {
}
func TestActor_GetType(t *testing.T) {
}
func TestApplication_GetActor(t *testing.T) {
}
func TestApplication_GetID(t *testing.T) {
}
func TestApplication_GetLink(t *testing.T) {
}
func TestApplication_GetType(t *testing.T) {
}
func TestApplication_IsLink(t *testing.T) {
}
func TestApplication_IsObject(t *testing.T) {
}
func TestGroup_GetActor(t *testing.T) {
}
func TestGroup_GetID(t *testing.T) {
}
func TestGroup_GetLink(t *testing.T) {
}
func TestGroup_GetType(t *testing.T) {
}
func TestGroup_IsLink(t *testing.T) {
}
func TestGroup_IsObject(t *testing.T) {
}
func TestOrganization_GetActor(t *testing.T) {
}
func TestOrganization_GetID(t *testing.T) {
}
func TestOrganization_GetLink(t *testing.T) {
}
func TestOrganization_GetType(t *testing.T) {
}
func TestOrganization_IsLink(t *testing.T) {
}
func TestOrganization_IsObject(t *testing.T) {
}
func TestPerson_GetActor(t *testing.T) {
}
func TestPerson_GetID(t *testing.T) {
}
func TestPerson_GetLink(t *testing.T) {
}
func TestPerson_GetType(t *testing.T) {
}
func TestPerson_UnmarshalJSON(t *testing.T) {
}
func TestService_GetActor(t *testing.T) {
}
func TestService_GetID(t *testing.T) {
}
func TestService_GetLink(t *testing.T) {
}
func TestService_GetType(t *testing.T) {
}
func TestService_IsLink(t *testing.T) {
}
func TestService_IsObject(t *testing.T) {
}

View file

@ -0,0 +1,35 @@
package activitystreams
import "testing"
func TestItemCollection_Append(t *testing.T) {
}
func TestItemCollection_Collection(t *testing.T) {
}
func TestItemCollection_GetID(t *testing.T) {
}
func TestItemCollection_GetLink(t *testing.T) {
}
func TestItemCollection_GetType(t *testing.T) {
}
func TestItemCollection_IsLink(t *testing.T) {
}
func TestItemCollection_IsObject(t *testing.T) {
}
func TestItemCollection_First(t *testing.T) {
}

View file

@ -77,3 +77,35 @@ func TestMention_Object(t *testing.T) {
t.Errorf("%#v should be an empty object", m.GetID())
}
}
func TestLink_GetID(t *testing.T) {
}
func TestLink_GetLink(t *testing.T) {
}
func TestLink_GetType(t *testing.T) {
}
func TestLink_UnmarshalJSON(t *testing.T) {
}
func TestMention_GetID(t *testing.T) {
}
func TestMention_GetLink(t *testing.T) {
}
func TestMention_GetType(t *testing.T) {
}
func TestMentionNew(t *testing.T) {
}

View file

@ -436,3 +436,7 @@ func TestNaturalLanguageValueNew(t *testing.T) {
t.Errorf("Initial %T should have length 0, received %d", n, len(n))
}
}
func TestNaturalLanguageValue_MarshalText(t *testing.T) {
}

View file

@ -17,3 +17,23 @@ func TestIRI_String(t *testing.T) {
t.Errorf("IRI %q should equal %q", u, val)
}
}
func TestIRI_GetID(t *testing.T) {
}
func TestIRI_GetType(t *testing.T) {
}
func TestIRI_IsLink(t *testing.T) {
}
func TestIRI_IsObject(t *testing.T) {
}
func TestIRI_UnmarshalJSON(t *testing.T) {
}