16 references to AssemblyMockCache
Microsoft.Build.Engine.UnitTests (16)
ProjectCache\ProjectCacheTests.cs (16)
46private const string AssemblyMockCache = nameof(AssemblyMockCache); 788mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: BeginBuildAsync"); 789Regex.Matches(mockLogger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for").Count.ShouldBe(graph.ProjectNodes.Count); 790mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: EndBuildAsync"); 826mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: GetCacheResultAsync for {node.ProjectInstance.FullPath}"); 933logger.FullLog.ShouldContain($"Loading the following project cache plugin: {AssemblyMockCache}"); 1205logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: GetCacheResultAsync for"); 1206logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: EndBuildAsync"); 1210StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", expectedOccurrences: 1); 1211StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: EndBuildAsync", expectedOccurrences: 1); 1309logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: GetCacheResultAsync for"); 1310logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: EndBuildAsync"); 1319StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", expectedQueryOccurrences); 1321StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: EndBuildAsync", expectedOccurrences: 1); 1352StringShouldContainSubstring(buildSession.Logger.FullLog, $"{nameof(AssemblyMockCache)}: EndBuildAsync", expectedOccurrences: 1); 1502StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", graph.ProjectNodes.Count);