diff --git a/scnserver/test/channel_test.go b/scnserver/test/channel_test.go index 9beb1f6..bfc8a9d 100644 --- a/scnserver/test/channel_test.go +++ b/scnserver/test/channel_test.go @@ -492,4 +492,10 @@ func TestChannelUpdate(t *testing.T) { } -//TODO test missing channel-xx methods +func TestListChannelMessages(t *testing.T) { + t.SkipNow() //TODO +} + +func TestListChannelSubscriptions(t *testing.T) { + t.SkipNow() //TODO +} diff --git a/scnserver/test/client_test.go b/scnserver/test/client_test.go index a3d20a4..97e1fb6 100644 --- a/scnserver/test/client_test.go +++ b/scnserver/test/client_test.go @@ -146,4 +146,6 @@ func TestReuseFCM(t *testing.T) { tt.AssertEqual(t, "clients->client_id", cid2, fmt.Sprintf("%v", r3.Clients[0]["client_id"])) } -//TODO test missing client-xx methods +func TestListClients(t *testing.T) { + t.SkipNow() //TODO +} diff --git a/scnserver/test/send_test.go b/scnserver/test/send_test.go index 861fbeb..e0f464c 100644 --- a/scnserver/test/send_test.go +++ b/scnserver/test/send_test.go @@ -1461,10 +1461,14 @@ func TestSendParallel(t *testing.T) { } } -//TODO post to foreign channel via send-key +func TestSendToForeignChannelWithSendKey(t *testing.T) { + t.SkipNow() //TODO +} + +func TestSendDeliveryRetry(t *testing.T) { + t.SkipNow() //TODO +} //TODO check message_counter + last_sent in channel //TODO check message_counter + last_sent in user - -//TODO test delivery-retry diff --git a/scnserver/test/subscription_test.go b/scnserver/test/subscription_test.go index b66c83b..d421074 100644 --- a/scnserver/test/subscription_test.go +++ b/scnserver/test/subscription_test.go @@ -1,3 +1,47 @@ package test -//TODO test missing subscription-xx methods +import "testing" + +func TestListSubscriptionsOfUser(t *testing.T) { + t.SkipNow() //TODO +} + +func TestListSubscriptionsOfChannel(t *testing.T) { + t.SkipNow() //TODO +} + +func TestCreateSubscriptionToOwnChannel(t *testing.T) { + t.SkipNow() //TODO +} + +func TestCreateSubscriptionToForeignChannel(t *testing.T) { + t.SkipNow() //TODO +} + +func TestGetSubscriptionToOwnChannel(t *testing.T) { + t.SkipNow() //TODO +} + +func TestGetSubscriptionToForeignChannel(t *testing.T) { + t.SkipNow() //TODO +} + +func TestCancelSubscriptionToForeignChannel(t *testing.T) { + t.SkipNow() //TODO +} + +func TestCancelSubscriptionToOwnChannel(t *testing.T) { + t.SkipNow() //TODO +} + +func TestDenySubscription(t *testing.T) { + t.SkipNow() //TODO +} + +func TestConfirmSubscription(t *testing.T) { + t.SkipNow() //TODO +} + +func TestUnconfirmSubscription(t *testing.T) { + t.SkipNow() //TODO +}