-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsmoke_test.go
More file actions
104 lines (90 loc) · 3.89 KB
/
smoke_test.go
File metadata and controls
104 lines (90 loc) · 3.89 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
package content
import (
"github.com/AndroidGoLab/binder/tools/pkg/testutil"
"testing"
)
// Code generated by aospgen. DO NOT EDIT.
func TestSmoke_ClipboardProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewClipboardProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("ClipboardProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}
func TestSmoke_ContentServiceProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewContentServiceProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("ContentServiceProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}
func TestSmoke_CrossUserContentServiceProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewCrossUserContentServiceProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("CrossUserContentServiceProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}
func TestSmoke_IntentReceiverProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewIntentReceiverProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("IntentReceiverProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}
func TestSmoke_IntentSenderProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewIntentSenderProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("IntentSenderProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}
func TestSmoke_OnPrimaryClipChangedListenerProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewOnPrimaryClipChangedListenerProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("OnPrimaryClipChangedListenerProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}
func TestSmoke_RestrictionsManagerProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewRestrictionsManagerProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("RestrictionsManagerProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}
func TestSmoke_SyncAdapterProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewSyncAdapterProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("SyncAdapterProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}
func TestSmoke_SyncAdapterUnsyncableAccountCallbackProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewSyncAdapterUnsyncableAccountCallbackProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("SyncAdapterUnsyncableAccountCallbackProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}
func TestSmoke_SyncContextProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewSyncContextProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("SyncContextProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}
func TestSmoke_SyncServiceAdapterProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewSyncServiceAdapterProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("SyncServiceAdapterProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}
func TestSmoke_SyncStatusObserverProxy(t *testing.T) {
mock := testutil.NewMockBinder()
proxy := NewSyncStatusObserverProxy(mock)
result := testutil.SmokeTestAllMethods(t, proxy)
t.Logf("SyncStatusObserverProxy: %d/%d passed, %d panicked, %d failed",
result.Passed, result.Total, result.Panicked, result.Failed)
}