File: server_common_test.go

package info (click to toggle)
golang-github-go-ap-activitypub 0.0~git20250501.71edba4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 920 kB
  • sloc: makefile: 26
file content (54 lines) | stat: -rw-r--r-- 1,129 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package tests

// Common server tests...

import (
	"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)
}
*/