blob: 2c1847f5e1d86f58dfe880ee29d882bad85d5821 [file] [log] [blame]
Robert Phillipsae7d3f32017-09-21 08:26:08 -04001/*
2 * Copyright 2017 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8// This is a GPU-backend specific test.
9
10#include "Test.h"
11
Robert Phillipsae7d3f32017-09-21 08:26:08 -040012#include "GrBackendSurface.h"
13#include "GrContextPriv.h"
14#include "GrResourceCache.h"
Robert Phillips1afd4cd2018-01-08 13:40:32 -050015#include "GrProxyProvider.h"
Robert Phillipsae7d3f32017-09-21 08:26:08 -040016#include "GrResourceProvider.h"
Robert Phillipsae7d3f32017-09-21 08:26:08 -040017#include "GrTexture.h"
18#include "GrTextureProxy.h"
19
20#include "SkGr.h"
21#include "SkImage.h"
22
Robert Phillips1afd4cd2018-01-08 13:40:32 -050023int GrProxyProvider::numUniqueKeyProxies_TestOnly() const {
Robert Phillipsae7d3f32017-09-21 08:26:08 -040024 return fUniquelyKeyedProxies.count();
25}
26
Robert Phillipsfe0253f2018-03-16 16:47:25 -040027static GrSurfaceDesc make_desc(GrSurfaceDescFlags descFlags) {
Robert Phillipsae7d3f32017-09-21 08:26:08 -040028 GrSurfaceDesc desc;
Robert Phillipsfe0253f2018-03-16 16:47:25 -040029 desc.fFlags = descFlags;
Robert Phillipsae7d3f32017-09-21 08:26:08 -040030 desc.fWidth = 64;
31 desc.fHeight = 64;
32 desc.fConfig = kRGBA_8888_GrPixelConfig;
Brian Salomonbdecacf2018-02-02 20:32:49 -050033 desc.fSampleCnt = 1;
Robert Phillipsae7d3f32017-09-21 08:26:08 -040034
35 return desc;
36}
37
38///////////////////////////////////////////////////////////////////////////////////////////////////
39// Basic test
40
Greg Daniel4065d452018-11-16 15:43:41 -050041static sk_sp<GrTextureProxy> deferred_tex(skiatest::Reporter* reporter, GrContext* ctx,
Robert Phillipsadbe1322018-01-17 13:35:46 -050042 GrProxyProvider* proxyProvider, SkBackingFit fit) {
Robert Phillips0bd24dc2018-01-16 08:06:32 -050043 const GrSurfaceDesc desc = make_desc(kNone_GrSurfaceFlags);
Greg Daniel4065d452018-11-16 15:43:41 -050044 GrBackendFormat format =
45 ctx->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType);
Robert Phillipsae7d3f32017-09-21 08:26:08 -040046
Brian Salomon2a4f9832018-03-03 22:43:43 -050047 sk_sp<GrTextureProxy> proxy =
Greg Daniel4065d452018-11-16 15:43:41 -050048 proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit,
49 SkBudgeted::kYes);
Robert Phillipsae7d3f32017-09-21 08:26:08 -040050 // Only budgeted & wrapped external proxies get to carry uniqueKeys
Greg Danielcd871402017-09-26 12:49:26 -040051 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid());
52 return proxy;
Robert Phillipsae7d3f32017-09-21 08:26:08 -040053}
54
Greg Daniel4065d452018-11-16 15:43:41 -050055static sk_sp<GrTextureProxy> deferred_texRT(skiatest::Reporter* reporter, GrContext* ctx,
Robert Phillipsadbe1322018-01-17 13:35:46 -050056 GrProxyProvider* proxyProvider, SkBackingFit fit) {
Robert Phillips0bd24dc2018-01-16 08:06:32 -050057 const GrSurfaceDesc desc = make_desc(kRenderTarget_GrSurfaceFlag);
Greg Daniel4065d452018-11-16 15:43:41 -050058 GrBackendFormat format =
59 ctx->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType);
Robert Phillipsae7d3f32017-09-21 08:26:08 -040060
Brian Salomon2a4f9832018-03-03 22:43:43 -050061 sk_sp<GrTextureProxy> proxy =
Greg Daniel4065d452018-11-16 15:43:41 -050062 proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit, SkBudgeted::kYes);
Robert Phillipsae7d3f32017-09-21 08:26:08 -040063 // Only budgeted & wrapped external proxies get to carry uniqueKeys
Greg Danielcd871402017-09-26 12:49:26 -040064 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid());
65 return proxy;
Robert Phillipsae7d3f32017-09-21 08:26:08 -040066}
67
Greg Daniel4065d452018-11-16 15:43:41 -050068static sk_sp<GrTextureProxy> wrapped(skiatest::Reporter* reporter, GrContext* ctx,
Robert Phillipsadbe1322018-01-17 13:35:46 -050069 GrProxyProvider* proxyProvider, SkBackingFit fit) {
Robert Phillips0bd24dc2018-01-16 08:06:32 -050070 const GrSurfaceDesc desc = make_desc(kNone_GrSurfaceFlags);
Robert Phillips1afd4cd2018-01-08 13:40:32 -050071
Chris Daltond004e0b2018-09-27 09:28:03 -060072 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy(
Brian Salomon2a4f9832018-03-03 22:43:43 -050073 desc, kBottomLeft_GrSurfaceOrigin, fit, SkBudgeted::kYes);
Robert Phillips0bd24dc2018-01-16 08:06:32 -050074 // Only budgeted & wrapped external proxies get to carry uniqueKeys
Greg Danielcd871402017-09-26 12:49:26 -040075 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid());
76 return proxy;
77}
78
Greg Daniel4065d452018-11-16 15:43:41 -050079static sk_sp<GrTextureProxy> wrapped_with_key(skiatest::Reporter* reporter, GrContext* ctx,
Robert Phillipsadbe1322018-01-17 13:35:46 -050080 GrProxyProvider* proxyProvider, SkBackingFit fit) {
Greg Danielcd871402017-09-26 12:49:26 -040081 static GrUniqueKey::Domain d = GrUniqueKey::GenerateDomain();
82 static int kUniqueKeyData = 0;
83
84 GrUniqueKey key;
85
86 GrUniqueKey::Builder builder(&key, d, 1, nullptr);
87 builder[0] = kUniqueKeyData++;
88 builder.finish();
89
Robert Phillips0bd24dc2018-01-16 08:06:32 -050090 const GrSurfaceDesc desc = make_desc(kNone_GrSurfaceFlags);
Greg Danielcd871402017-09-26 12:49:26 -040091
Robert Phillipsadbe1322018-01-17 13:35:46 -050092 // Only budgeted & wrapped external proxies get to carry uniqueKeys
Chris Daltond004e0b2018-09-27 09:28:03 -060093 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy(
Robert Phillipsfe0253f2018-03-16 16:47:25 -040094 desc, kBottomLeft_GrSurfaceOrigin, fit, SkBudgeted::kYes);
Robert Phillipsadbe1322018-01-17 13:35:46 -050095 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get()));
Greg Danielcd871402017-09-26 12:49:26 -040096 REPORTER_ASSERT(reporter, proxy->getUniqueKey().isValid());
97 return proxy;
Robert Phillipsae7d3f32017-09-21 08:26:08 -040098}
99
100static sk_sp<GrTextureProxy> create_wrapped_backend(GrContext* context, SkBackingFit fit,
101 sk_sp<GrTexture>* backingSurface) {
Robert Phillips0bd24dc2018-01-16 08:06:32 -0500102 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider();
Robert Phillips6be756b2018-01-16 15:07:54 -0500103 GrResourceProvider* resourceProvider = context->contextPriv().resourceProvider();
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400104
Robert Phillipsb67821d2017-12-13 15:00:45 -0500105 const GrSurfaceDesc desc = make_desc(kNone_GrSurfaceFlags);
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400106
Robert Phillips0bd24dc2018-01-16 08:06:32 -0500107 *backingSurface = resourceProvider->createTexture(desc, SkBudgeted::kNo);
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400108 if (!(*backingSurface)) {
109 return nullptr;
110 }
111
Robert Phillipsb67821d2017-12-13 15:00:45 -0500112 GrBackendTexture backendTex = (*backingSurface)->getBackendTexture();
Greg Daniel108bb232018-07-03 16:18:29 -0400113 backendTex.setPixelConfig(desc.fConfig);
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400114
Brian Salomonc67c31c2018-12-06 10:00:03 -0500115 return proxyProvider->wrapBackendTexture(backendTex, kBottomLeft_GrSurfaceOrigin,
Brian Salomonaa6ca0a2019-01-24 16:03:07 -0500116 kBorrow_GrWrapOwnership, GrWrapCacheable::kYes,
117 kRead_GrIOType);
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400118}
119
120
121// This tests the basic capabilities of the uniquely keyed texture proxies. Does assigning
122// and looking them up work, etc.
123static void basic_test(GrContext* context,
124 skiatest::Reporter* reporter,
Greg Daniel303e83e2018-09-10 14:10:19 -0400125 sk_sp<GrTextureProxy> proxy) {
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400126 static int id = 1;
127
Robert Phillips6be756b2018-01-16 15:07:54 -0500128 GrResourceProvider* resourceProvider = context->contextPriv().resourceProvider();
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500129 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider();
Robert Phillips6be756b2018-01-16 15:07:54 -0500130 GrResourceCache* cache = context->contextPriv().getResourceCache();
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400131
132 int startCacheCount = cache->getResourceCount();
133
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400134 GrUniqueKey key;
Greg Danielcd871402017-09-26 12:49:26 -0400135 if (proxy->getUniqueKey().isValid()) {
136 key = proxy->getUniqueKey();
137 } else {
138 GrMakeKeyFromImageID(&key, id, SkIRect::MakeWH(64, 64));
139 ++id;
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400140
Greg Danielcd871402017-09-26 12:49:26 -0400141 // Assigning the uniqueKey adds the proxy to the hash but doesn't force instantiation
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500142 REPORTER_ASSERT(reporter, !proxyProvider->numUniqueKeyProxies_TestOnly());
Robert Phillipsadbe1322018-01-17 13:35:46 -0500143 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get()));
Greg Danielcd871402017-09-26 12:49:26 -0400144 }
145
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500146 REPORTER_ASSERT(reporter, 1 == proxyProvider->numUniqueKeyProxies_TestOnly());
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400147 REPORTER_ASSERT(reporter, startCacheCount == cache->getResourceCount());
148
149 // setUniqueKey had better stick
150 REPORTER_ASSERT(reporter, key == proxy->getUniqueKey());
151
152 // We just added it, surely we can find it
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500153 REPORTER_ASSERT(reporter, proxyProvider->findOrCreateProxyByUniqueKey(
154 key, kBottomLeft_GrSurfaceOrigin));
155 REPORTER_ASSERT(reporter, 1 == proxyProvider->numUniqueKeyProxies_TestOnly());
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400156
Greg Daniel303e83e2018-09-10 14:10:19 -0400157 int expectedCacheCount = startCacheCount + (proxy->isInstantiated() ? 0 : 1);
158
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400159 // Once instantiated, the backing resource should have the same key
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500160 SkAssertResult(proxy->instantiate(resourceProvider));
Brian Salomonfd98c2c2018-07-31 17:25:29 -0400161 const GrUniqueKey& texKey = proxy->peekSurface()->getUniqueKey();
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400162 REPORTER_ASSERT(reporter, texKey.isValid());
163 REPORTER_ASSERT(reporter, key == texKey);
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400164
165 // deleting the proxy should delete it from the hash but not the cache
166 proxy = nullptr;
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500167 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly());
Greg Daniel303e83e2018-09-10 14:10:19 -0400168 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount());
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400169
170 // If the proxy was cached refinding it should bring it back to life
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500171 proxy = proxyProvider->findOrCreateProxyByUniqueKey(key, kBottomLeft_GrSurfaceOrigin);
Greg Daniel303e83e2018-09-10 14:10:19 -0400172 REPORTER_ASSERT(reporter, proxy);
173 REPORTER_ASSERT(reporter, 1 == proxyProvider->numUniqueKeyProxies_TestOnly());
174 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount());
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400175
176 // Mega-purging it should remove it from both the hash and the cache
177 proxy = nullptr;
178 cache->purgeAllUnlocked();
Greg Daniel303e83e2018-09-10 14:10:19 -0400179 expectedCacheCount--;
180 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount());
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400181
182 // We can bring neither the texture nor proxy back from perma-death
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500183 proxy = proxyProvider->findOrCreateProxyByUniqueKey(key, kBottomLeft_GrSurfaceOrigin);
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400184 REPORTER_ASSERT(reporter, !proxy);
Greg Daniel303e83e2018-09-10 14:10:19 -0400185 REPORTER_ASSERT(reporter, expectedCacheCount == cache->getResourceCount());
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400186}
187
188///////////////////////////////////////////////////////////////////////////////////////////////////
189// Invalidation test
190
191// Test if invalidating unique ids operates as expected for texture proxies.
192static void invalidation_test(GrContext* context, skiatest::Reporter* reporter) {
193
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500194 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider();
Robert Phillips6be756b2018-01-16 15:07:54 -0500195 GrResourceCache* cache = context->contextPriv().getResourceCache();
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400196 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount());
197
198 sk_sp<SkImage> rasterImg;
199
200 {
201 SkImageInfo ii = SkImageInfo::Make(64, 64, kRGBA_8888_SkColorType, kOpaque_SkAlphaType);
202
203 SkBitmap bm;
204 bm.allocPixels(ii);
205
206 rasterImg = SkImage::MakeFromBitmap(bm);
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500207 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly());
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400208 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount());
209 }
210
211 sk_sp<SkImage> textureImg = rasterImg->makeTextureImage(context, nullptr);
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500212 REPORTER_ASSERT(reporter, 1 == proxyProvider->numUniqueKeyProxies_TestOnly());
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400213 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount());
214
215 rasterImg = nullptr; // this invalidates the uniqueKey
216
217 // this forces the cache to respond to the inval msg
218 int maxNum;
219 size_t maxBytes;
220 context->getResourceCacheLimits(&maxNum, &maxBytes);
221 context->setResourceCacheLimits(maxNum-1, maxBytes);
222
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500223 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly());
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400224 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount());
225
226 textureImg = nullptr;
Robert Phillips0c4b7b12018-03-06 08:20:37 -0500227 context->contextPriv().purgeAllUnlockedResources_ForTesting();
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400228
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500229 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly());
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400230 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount());
231}
232
Brian Osman28c434b2017-09-27 13:11:16 -0400233// Test if invalidating unique ids prior to instantiating operates as expected
234static void invalidation_and_instantiation_test(GrContext* context, skiatest::Reporter* reporter) {
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500235 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider();
Robert Phillips6be756b2018-01-16 15:07:54 -0500236 GrResourceProvider* resourceProvider = context->contextPriv().resourceProvider();
237 GrResourceCache* cache = context->contextPriv().getResourceCache();
Brian Osman28c434b2017-09-27 13:11:16 -0400238 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount());
239
240 static GrUniqueKey::Domain d = GrUniqueKey::GenerateDomain();
241 GrUniqueKey key;
242 GrUniqueKey::Builder builder(&key, d, 1, nullptr);
243 builder[0] = 0;
244 builder.finish();
245
246 // Create proxy, assign unique key
Greg Daniel4065d452018-11-16 15:43:41 -0500247 sk_sp<GrTextureProxy> proxy = deferred_tex(reporter, context, proxyProvider,
248 SkBackingFit::kExact);
Robert Phillipsadbe1322018-01-17 13:35:46 -0500249 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get()));
Brian Osman28c434b2017-09-27 13:11:16 -0400250
251 // Send an invalidation message, which will be sitting in the cache's inbox
Brian Salomon238069b2018-07-11 15:58:57 -0400252 SkMessageBus<GrUniqueKeyInvalidatedMessage>::Post(
253 GrUniqueKeyInvalidatedMessage(key, context->uniqueID()));
Brian Osman28c434b2017-09-27 13:11:16 -0400254
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500255 REPORTER_ASSERT(reporter, 1 == proxyProvider->numUniqueKeyProxies_TestOnly());
Brian Osman28c434b2017-09-27 13:11:16 -0400256 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount());
257
258 // Instantiate the proxy. This will trigger the message to be processed, so the resulting
259 // texture should *not* have the unique key on it!
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500260 SkAssertResult(proxy->instantiate(resourceProvider));
Brian Osman28c434b2017-09-27 13:11:16 -0400261
262 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid());
Brian Salomonfd98c2c2018-07-31 17:25:29 -0400263 REPORTER_ASSERT(reporter, !proxy->peekTexture()->getUniqueKey().isValid());
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500264 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly());
Brian Osman28c434b2017-09-27 13:11:16 -0400265 REPORTER_ASSERT(reporter, 1 == cache->getResourceCount());
266
267 proxy = nullptr;
Robert Phillips0c4b7b12018-03-06 08:20:37 -0500268 context->contextPriv().purgeAllUnlockedResources_ForTesting();
Brian Osman28c434b2017-09-27 13:11:16 -0400269
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500270 REPORTER_ASSERT(reporter, 0 == proxyProvider->numUniqueKeyProxies_TestOnly());
Brian Osman28c434b2017-09-27 13:11:16 -0400271 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount());
272}
273
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400274DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TextureProxyTest, reporter, ctxInfo) {
275 GrContext* context = ctxInfo.grContext();
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500276 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider();
Robert Phillips6be756b2018-01-16 15:07:54 -0500277 GrResourceCache* cache = context->contextPriv().getResourceCache();
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400278
Robert Phillips1afd4cd2018-01-08 13:40:32 -0500279 REPORTER_ASSERT(reporter, !proxyProvider->numUniqueKeyProxies_TestOnly());
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400280 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount());
281
282 for (auto fit : { SkBackingFit::kExact, SkBackingFit::kApprox }) {
Greg Danielcd871402017-09-26 12:49:26 -0400283 for (auto create : { deferred_tex, deferred_texRT, wrapped, wrapped_with_key }) {
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400284 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount());
Greg Daniel4065d452018-11-16 15:43:41 -0500285 basic_test(context, reporter, create(reporter, context, proxyProvider, fit));
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400286 }
287
288 REPORTER_ASSERT(reporter, 0 == cache->getResourceCount());
289 sk_sp<GrTexture> backingTex;
290 sk_sp<GrTextureProxy> proxy = create_wrapped_backend(context, fit, &backingTex);
Greg Daniel303e83e2018-09-10 14:10:19 -0400291 basic_test(context, reporter, std::move(proxy));
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400292
293 backingTex = nullptr;
294 cache->purgeAllUnlocked();
295 }
296
297 invalidation_test(context, reporter);
Robert Phillipsfa8c0802017-10-04 08:42:28 -0400298 invalidation_and_instantiation_test(context, reporter);
Robert Phillipsae7d3f32017-09-21 08:26:08 -0400299}