16 references to AssemblyMockCache
Microsoft.Build.Engine.UnitTests (16)
ProjectCache\ProjectCacheTests.cs (16)
48private const string AssemblyMockCache = nameof(AssemblyMockCache); 805mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: BeginBuildAsync"); 806Regex.Matches(mockLogger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for").Count.ShouldBe(graph.ProjectNodes.Count); 807mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: EndBuildAsync"); 843mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: GetCacheResultAsync for {node.ProjectInstance.FullPath}"); 950logger.FullLog.ShouldContain($"Loading the following project cache plugin: {AssemblyMockCache}"); 1222logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: GetCacheResultAsync for"); 1223logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: EndBuildAsync"); 1227StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", expectedOccurrences: 1); 1228StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: EndBuildAsync", expectedOccurrences: 1); 1326logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: GetCacheResultAsync for"); 1327logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: EndBuildAsync"); 1336StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", expectedQueryOccurrences); 1338StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: EndBuildAsync", expectedOccurrences: 1); 1369StringShouldContainSubstring(buildSession.Logger.FullLog, $"{nameof(AssemblyMockCache)}: EndBuildAsync", expectedOccurrences: 1); 1519StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", graph.ProjectNodes.Count);