Adding stubs for common server tests

This commit is contained in:
Marius Orcsik 2018-04-10 21:33:47 +02:00
parent 4b40a20e0d
commit 26b14c3d0c
No known key found for this signature in database
GPG key ID: 889CE8E4FB2D877A

View file

@ -0,0 +1,55 @@
package tests
// Common server tests...
import (
// "activitypub"
// "fmt"
"testing"
)
//Server: Fetching the inbox
// Try retrieving the actor's inbox of an actor.
// Server responds to GET request at inbox URL
func TestInboxGETRequest(t *testing.T) {
desc := `
Server: Fetching the inbox
Try retrieving the actor's inbox of an actor.
Server responds to GET request at inbox URL
`
t.Skip(desc)
}
//Server: Fetching the inbox
// Try retrieving the actor's inbox of an actor.
// inbox is an OrderedCollection
func TestInboxIsOrderedCollection(t *testing.T) {
desc := `
Server: Fetching the inbox
Try retrieving the actor's inbox of an actor.
inbox is an OrderedCollection
`
t.Skip(desc)
}
//Server: Fetching the inbox
// Try retrieving the actor's inbox of an actor.
// Server filters inbox content according to the requester's permission
func TestInboxFilteringBasedOnPermissions(t *testing.T) {
desc := `
Server: Fetching the inbox
Try retrieving the actor's inbox of an actor.
Server filters inbox content according to the requester's permission
`
t.Skip(desc)
}
//
func Test_(t *testing.T) {
desc := `
`
t.Skip(desc)
}