-
Notifications
You must be signed in to change notification settings - Fork 15
/
account_test.go
66 lines (60 loc) · 1.48 KB
/
account_test.go
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
55
56
57
58
59
60
61
62
63
64
65
66
package weigo
import (
"testing"
)
func Test_GET_account_privacy(t *testing.T) {
t.SkipNow()
kws := map[string]interface{}{
"access_token": api.access_token,
"source": api.app_key,
}
result := new(Config)
err := api.GET_account_privacy(kws, result)
debugCheckError(err)
debugPrintln((*result))
}
func Test_GET_account_rate_limit_status(t *testing.T) {
t.SkipNow()
kws := map[string]interface{}{
"access_token": api.access_token,
"source": api.app_key,
}
result := new(LimitStatus)
err := api.GET_account_rate_limit_status(kws, result)
debugCheckError(err)
debugPrintln((*result))
}
func Test_GET_account_get_uid(t *testing.T) {
t.SkipNow()
kws := map[string]interface{}{
"access_token": api.access_token,
"source": api.app_key,
}
result := new(UserID)
err := api.GET_account_get_uid(kws, result)
debugCheckError(err)
debugPrintln((*result))
}
func Test_GET_account_profile_school_list(t *testing.T) {
t.SkipNow()
kws := map[string]interface{}{
"access_token": api.access_token,
"source": api.app_key,
"keyword": "科大",
}
result := new([]School)
err := api.GET_account_profile_school_list(kws, result)
debugCheckError(err)
debugPrintln((*result))
}
func Test_GET_account_get_email(t *testing.T) {
t.SkipNow()
kws := map[string]interface{}{
"access_token": api.access_token,
"source": api.app_key,
}
result := new(Email)
err := api.GET_account_get_email(kws, result)
debugCheckError(err)
debugPrintln((*result))
}