16 references to AssemblyMockCache
Microsoft.Build.Engine.UnitTests (16)
ProjectCache\ProjectCacheTests.cs (16)
48private const string AssemblyMockCache = nameof(AssemblyMockCache); 790mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: BeginBuildAsync"); 791Regex.Matches(mockLogger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for").Count.ShouldBe(graph.ProjectNodes.Count); 792mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: EndBuildAsync"); 828mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: GetCacheResultAsync for {node.ProjectInstance.FullPath}"); 935logger.FullLog.ShouldContain($"Loading the following project cache plugin: {AssemblyMockCache}"); 1207logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: GetCacheResultAsync for"); 1208logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: EndBuildAsync"); 1212StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", expectedOccurrences: 1); 1213StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: EndBuildAsync", expectedOccurrences: 1); 1311logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: GetCacheResultAsync for"); 1312logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: EndBuildAsync"); 1321StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", expectedQueryOccurrences); 1323StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: EndBuildAsync", expectedOccurrences: 1); 1354StringShouldContainSubstring(buildSession.Logger.FullLog, $"{nameof(AssemblyMockCache)}: EndBuildAsync", expectedOccurrences: 1); 1504StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", graph.ProjectNodes.Count);