コード例 #1
0
 private void AssertExpectedItemValuesExists(BuildResult result, string itemType, params string[] expectedValues)
 {
     this.DumpLists(result, itemType, expectedValues);
     foreach (string expectedValue in expectedValues)
     {
         BuildAssertions.AssertSingleItemExists(result, itemType, expectedValue);
     }
     BuildAssertions.AssertExpectedItemGroupCount(result, itemType, expectedValues.Length);
 }
コード例 #2
0
 private void AssertExpectedAnalyzersExists(BuildResult result, params string[] analyzerFilePaths)
 {
     this.DumpAnalyzerLists(result, analyzerFilePaths);
     foreach (string filePath in analyzerFilePaths)
     {
         BuildAssertions.AssertSingleItemExists(result, TargetProperties.AnalyzerItemType, filePath);
     }
     BuildAssertions.AssertExpectedItemGroupCount(result, TargetProperties.AnalyzerItemType, analyzerFilePaths.Length);
 }