Lines Matching refs:testZipEntry
29 type testZipEntry struct { struct
36 A = testZipEntry{"A", 0755, []byte("foo")}
37 a = testZipEntry{"a", 0755, []byte("foo")}
38 a2 = testZipEntry{"a", 0755, []byte("FOO2")}
39 a3 = testZipEntry{"a", 0755, []byte("Foo3")}
40 bDir = testZipEntry{"b/", os.ModeDir | 0755, nil}
41 bbDir = testZipEntry{"b/b/", os.ModeDir | 0755, nil}
42 bbb = testZipEntry{"b/b/b", 0755, nil}
43 ba = testZipEntry{"b/a", 0755, []byte("foob")}
44 bc = testZipEntry{"b/c", 0755, []byte("bar")}
45 bd = testZipEntry{"b/d", 0700, []byte("baz")}
46 be = testZipEntry{"b/e", 0700, []byte("")}
48 metainfDir = testZipEntry{jar.MetaDir, os.ModeDir | 0755, nil}
49 manifestFile = testZipEntry{jar.ManifestFile, 0755, []byte("manifest")}
50 manifestFile2 = testZipEntry{jar.ManifestFile, 0755, []byte("manifest2")}
51 moduleInfoFile = testZipEntry{jar.ModuleInfoClass, 0755, []byte("module-info")}
56 entries []testZipEntry
90 in [][]testZipEntry
99 out []testZipEntry
104 in: [][]testZipEntry{
109 out: []testZipEntry{a},
114 in: [][]testZipEntry{
119 out: []testZipEntry{a},
125 in: [][]testZipEntry{
129 out: []testZipEntry{a},
133 in: [][]testZipEntry{
136 out: []testZipEntry{A, metainfDir, manifestFile, bDir, bbDir, bbb, bc, be},
142 in: [][]testZipEntry{
145 out: []testZipEntry{metainfDir, manifestFile, A, bDir, bc, be},
151 in: [][]testZipEntry{
156 out: []testZipEntry{metainfDir, manifestFile, A, bDir, bc, be},
162 in: [][]testZipEntry{
167 out: []testZipEntry{bDir, be, bc, A},
171 in: [][]testZipEntry{
174 out: []testZipEntry{a, bbb, bc, bd, be},
180 in: [][]testZipEntry{
183 out: []testZipEntry{a, bDir, bbDir, bbb, bc},
191 in: [][]testZipEntry{
194 out: []testZipEntry{bDir, ba},
200 in: [][]testZipEntry{
203 out: []testZipEntry{bDir},
209 in: [][]testZipEntry{
212 out: []testZipEntry{a},
218 in: [][]testZipEntry{
221 out: []testZipEntry{a, bDir, bc, bd, be},
227 in: [][]testZipEntry{
232 out: []testZipEntry{a, bDir, bd},
280 func testZipEntriesToBuf(entries []testZipEntry) []byte { argument
309 func testZipEntriesToZipReader(entries []testZipEntry) *zip.Reader { argument