16 references to AssemblyMockCache
Microsoft.Build.Engine.UnitTests (16)
ProjectCache\ProjectCacheTests.cs (16)
45private const string AssemblyMockCache = nameof(AssemblyMockCache); 787mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: BeginBuildAsync"); 788Regex.Matches(mockLogger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for").Count.ShouldBe(graph.ProjectNodes.Count); 789mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: EndBuildAsync"); 825mockLogger.FullLog.ShouldContain($"{AssemblyMockCache}: GetCacheResultAsync for {node.ProjectInstance.FullPath}"); 932logger.FullLog.ShouldContain($"Loading the following project cache plugin: {AssemblyMockCache}"); 1204logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: GetCacheResultAsync for"); 1205logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: EndBuildAsync"); 1209StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", expectedOccurrences: 1); 1210StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: EndBuildAsync", expectedOccurrences: 1); 1308logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: GetCacheResultAsync for"); 1309logger.FullLog.ShouldNotContain($"{AssemblyMockCache}: EndBuildAsync"); 1318StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", expectedQueryOccurrences); 1320StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: EndBuildAsync", expectedOccurrences: 1); 1351StringShouldContainSubstring(buildSession.Logger.FullLog, $"{nameof(AssemblyMockCache)}: EndBuildAsync", expectedOccurrences: 1); 1501StringShouldContainSubstring(logger.FullLog, $"{AssemblyMockCache}: GetCacheResultAsync for", graph.ProjectNodes.Count);