Commit ddfb08d
authored
feat(gcs): enumerate objects (#137)
With the ability to enumerate objects, it becomes possible to delete
non-empty buckets (by enumerating the objects in the buckets, deleting
them individually, and then deleting the buckets).
So this PR introduces a new test function `createBucketWithTearDown`
that creates a bucket and deletes it when the test completes.
Most of this PR is modifying the tests to use this method, which means
that all tests now completely clean up the resources that they create.1 parent 14ee6f3 commit ddfb08d
File tree
77 files changed
+6508
-791
lines changed- packages/google_cloud_storage
- lib/src
- test
- http_recordings
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
77 files changed
+6508
-791
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| 122 | + | |
| 123 | + | |
120 | 124 | | |
121 | 125 | | |
122 | 126 | | |
| |||
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
146 | 204 | | |
147 | 205 | | |
148 | 206 | | |
| |||
Lines changed: 8 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
| |||
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
85 | | - | |
| 83 | + | |
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
89 | 87 | | |
90 | | - | |
91 | | - | |
92 | 88 | | |
93 | 89 | | |
94 | 90 | | |
| |||
101 | 97 | | |
102 | 98 | | |
103 | 99 | | |
104 | | - | |
| 100 | + | |
105 | 101 | | |
106 | 102 | | |
| 103 | + | |
107 | 104 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 105 | | |
117 | 106 | | |
118 | 107 | | |
119 | | - | |
| 108 | + | |
120 | 109 | | |
121 | 110 | | |
122 | 111 | | |
123 | 112 | | |
124 | | - | |
| 113 | + | |
125 | 114 | | |
126 | 115 | | |
127 | 116 | | |
| |||
159 | 148 | | |
160 | 149 | | |
161 | 150 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 151 | | |
170 | 152 | | |
171 | 153 | | |
| |||
174 | 156 | | |
175 | 157 | | |
176 | 158 | | |
177 | | - | |
| 159 | + | |
178 | 160 | | |
179 | 161 | | |
180 | 162 | | |
181 | | - | |
182 | | - | |
183 | 163 | | |
184 | 164 | | |
185 | 165 | | |
| |||
205 | 185 | | |
206 | 186 | | |
207 | 187 | | |
208 | | - | |
| 188 | + | |
209 | 189 | | |
210 | 190 | | |
211 | 191 | | |
212 | | - | |
213 | | - | |
214 | 192 | | |
215 | 193 | | |
216 | 194 | | |
| |||
Lines changed: 60 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments