17 instantiations of GraphCacheResponse
Microsoft.Build.Engine.UnitTests (17)
31 references to GraphCacheResponse
Microsoft.Build.Engine.UnitTests (31)
ProjectCache\ProjectCacheTests.cs (31)
263private readonly GraphCacheResponse? _testData;
273public InstanceMockCache(GraphCacheResponse? testData = null, TimeSpan? projectQuerySleepTime = null)
332public static IEnumerable<GraphCacheResponse> SuccessfulGraphs
349{1, GraphCacheResponse.SuccessfulProxyTargetResult() }
359{1, GraphCacheResponse.SuccessfulTargetResult(1, "1.proj") }
375{2, GraphCacheResponse.SuccessfulProxyTargetResult() }
385{2, GraphCacheResponse.SuccessfulTargetResult(2, "2.proj") }
395{1, GraphCacheResponse.SuccessfulProxyTargetResult() },
396{2, GraphCacheResponse.SuccessfulTargetResult(2, "2.proj") }
438foreach (var graph in SuccessfulGraphs)
454public void ProjectCacheByBuildParametersAndGraphBuildWorks(GraphCacheResponse testData, BuildParameters buildParameters)
481public void ProjectCacheByBuildParametersAndBottomUpBuildWorks(GraphCacheResponse testData, BuildParameters buildParameters)
516public void ProjectCacheByVsScenarioWorks(GraphCacheResponse testData, BuildParameters buildParameters)
526var testData = new GraphCacheResponse(
543GraphCacheResponse testData,
665var testData = new GraphCacheResponse(
729var testData = new GraphCacheResponse(
736{1, GraphCacheResponse.SuccessfulProxyTargetResult() },
737{2, GraphCacheResponse.SuccessfulProxyTargetResult() }
773GraphCacheResponse testData,
857expectedMetadata = GraphCacheResponse.CacheHitByProxy;
861expectedMetadata = GraphCacheResponse.CacheHitByTargetResult;
909var testData = new GraphCacheResponse(
940var testData = new GraphCacheResponse(
964var testData = new GraphCacheResponse(
1361var testData = new GraphCacheResponse(
1366referenceNumbers.ToDictionary(k => k, k => GraphCacheResponse.SuccessfulProxyTargetResult()));
1454var testData = new GraphCacheResponse(
1459referenceNumbers.ToDictionary(k => k, k => GraphCacheResponse.SuccessfulProxyTargetResult()));
1517var testData = new GraphCacheResponse(
1522referenceNumbers.ToDictionary(k => k, k => GraphCacheResponse.SuccessfulProxyTargetResult()));