MCPcopy Create free account
hub / github.com/golang/mobile / testClsMap

Function testClsMap

internal/importers/java/java_test.go:93–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93func testClsMap() map[string]*Class {
94 //
95 // A--
96 // / \ \
97 // B C \
98 // \ / \ \
99 // D E F
100 //
101 return map[string]*Class{
102 "A": &Class{},
103 "B": &Class{
104 Supers: []string{"A"},
105 },
106 "C": &Class{
107 Supers: []string{"A"},
108 },
109 "D": &Class{
110 Supers: []string{"B", "C"},
111 },
112 "E": &Class{
113 Supers: []string{"C"},
114 },
115 "F": &Class{
116 Supers: []string{"A"},
117 },
118 }
119}
120
121func TestCommonTypes(t *testing.T) {
122 clsMap := testClsMap()

Callers 2

TestCommonTypesFunction · 0.85
TestCommonSigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected