1 write to Outputs
Microsoft.CodeAnalysis (1)
SourceGeneration\IncrementalGeneratorRunStep.cs (1)
22Outputs = outputs;
496 references to Outputs
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\CompileTimeIncrementalityTests.cs (1)
88.SelectMany(value => value.Outputs);
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
90.SelectMany(step => step.Outputs)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
90.SelectMany(step => step.Outputs)
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
834step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C1" }));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (492)
SourceGeneration\GeneratorDriverTests.cs (110)
1699source => Assert.Equal(IncrementalStepRunReason.New, source.Source.Outputs[source.OutputIndex].Reason)); 1700Assert.Collection(step.Outputs, 1711source => Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason)); 1712Assert.Collection(step.Outputs, 1750Assert.Equal(compilation, source.Source.Outputs[source.OutputIndex].Value); 1751Assert.Equal(IncrementalStepRunReason.New, source.Source.Outputs[source.OutputIndex].Reason); 1753Assert.Collection(step.Outputs, 1766Assert.Equal(text1, source.Source.Outputs[source.OutputIndex].Value); 1767Assert.Equal(IncrementalStepRunReason.New, source.Source.Outputs[source.OutputIndex].Reason); 1769Assert.Collection(step.Outputs, 1788Assert.Equal(compilation, source.Source.Outputs[source.OutputIndex].Value); 1789Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 1791Assert.Collection(step.Outputs, 1804Assert.Equal(text1, source.Source.Outputs[source.OutputIndex].Value); 1805Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 1807Assert.Collection(step.Outputs, 1819Assert.Equal(text2, source.Source.Outputs[source.OutputIndex].Value); 1820Assert.Equal(IncrementalStepRunReason.New, source.Source.Outputs[source.OutputIndex].Reason); 1822Assert.Collection(step.Outputs, 1841Assert.Equal(newCompilation, source.Source.Outputs[source.OutputIndex].Value); 1842Assert.Equal(IncrementalStepRunReason.Modified, source.Source.Outputs[source.OutputIndex].Reason); 1844Assert.Collection(step.Outputs, 1857Assert.Equal(text1, source.Source.Outputs[source.OutputIndex].Value); 1858Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 1860Assert.Collection(step.Outputs, 1872Assert.Equal(text2, source.Source.Outputs[source.OutputIndex].Value); 1873Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 1875Assert.Collection(step.Outputs, 1893Assert.Equal(newCompilation, source.Source.Outputs[source.OutputIndex].Value); 1894Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 1896Assert.Collection(step.Outputs, 1909Assert.Equal(text1, source.Source.Outputs[source.OutputIndex].Value); 1910Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 1912Assert.Collection(step.Outputs, 1924Assert.Equal(text2, source.Source.Outputs[source.OutputIndex].Value); 1925Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 1927Assert.Collection(step.Outputs, 2010Assert.Equal(compilation, source.Source.Outputs[source.OutputIndex].Value); 2011Assert.Equal(IncrementalStepRunReason.New, source.Source.Outputs[source.OutputIndex].Reason); 2015Assert.Equal(texts[0], ((ImmutableArray<AdditionalText>)source.Source.Outputs[source.OutputIndex].Value)[0]); 2016Assert.Equal(IncrementalStepRunReason.New, source.Source.Outputs[source.OutputIndex].Reason); 2018Assert.Collection(step.Outputs, 2039Assert.Equal(compilation, source.Source.Outputs[source.OutputIndex].Value); 2040Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 2044Assert.Empty((ImmutableArray<AdditionalText>)source.Source.Outputs[source.OutputIndex].Value); 2045Assert.Equal(IncrementalStepRunReason.Modified, source.Source.Outputs[source.OutputIndex].Reason); 2047Assert.Collection(step.Outputs, 2065var value = ((Compilation, ImmutableArray<AdditionalText>))source.Source.Outputs[source.OutputIndex].Value; 2068Assert.Equal(IncrementalStepRunReason.Unchanged, source.Source.Outputs[source.OutputIndex].Reason); 2070Assert.Collection(step.Outputs, 2091Assert.Equal(newCompilation, source.Source.Outputs[source.OutputIndex].Value); 2092Assert.Equal(IncrementalStepRunReason.Modified, source.Source.Outputs[source.OutputIndex].Reason); 2096Assert.Empty((ImmutableArray<AdditionalText>)source.Source.Outputs[source.OutputIndex].Value); 2097Assert.Equal(IncrementalStepRunReason.Unchanged, source.Source.Outputs[source.OutputIndex].Reason); 2099Assert.Collection(step.Outputs, 2335driver.GetRunResult().Results.Single().TrackedSteps["Select"].Select(r => r.Outputs.Single())); 2356driver.GetRunResult().Results.Single().TrackedSteps["Select"].Select(r => r.Outputs.Single())); 2406Assert.Equal("C", ((ClassDeclarationSyntax)step.Outputs[0].Value).Identifier.ValueText); 2407Assert.Equal(IncrementalStepRunReason.New, step.Outputs[0].Reason); 2411Assert.Equal("D", ((ClassDeclarationSyntax)step.Outputs[0].Value).Identifier.ValueText); 2412Assert.Equal(IncrementalStepRunReason.New, step.Outputs[0].Reason); 2422Assert.Equal("C", ((ClassDeclarationSyntax)step.Outputs[0].Value).Identifier.ValueText); 2423Assert.Equal(IncrementalStepRunReason.Cached, step.Outputs[0].Reason); 2427Assert.Equal("D", ((ClassDeclarationSyntax)step.Outputs[0].Value).Identifier.ValueText); 2428Assert.Equal(IncrementalStepRunReason.Cached, step.Outputs[0].Reason); 2439Assert.Equal("E", ((ClassDeclarationSyntax)step.Outputs[0].Value).Identifier.ValueText); 2440Assert.Equal(IncrementalStepRunReason.Modified, step.Outputs[0].Reason); 2444Assert.Equal("D", ((ClassDeclarationSyntax)step.Outputs[0].Value).Identifier.ValueText); 2445Assert.Equal(IncrementalStepRunReason.Cached, step.Outputs[0].Reason); 2503var output = runResult.TrackedSteps["ParseOptions"][0].Outputs[0].Value; 2512Assert.Equal(IncrementalStepRunReason.Cached, step.Outputs[0].Reason); 2523output = runResult.TrackedSteps["ParseOptions"][0].Outputs[0].Value; 2532Assert.Equal(IncrementalStepRunReason.Cached, step.Outputs[0].Reason); 2640Assert.Collection(step.Outputs, 2656Assert.Collection(step.Outputs, 2678Assert.Collection(step.Outputs, 2720var consumedInput = input.Source.Outputs[input.OutputIndex]; 2724Assert.Collection(step.Outputs, 2736var consumedInput = input.Source.Outputs[input.OutputIndex]; 2740Assert.Collection(step.Outputs, 2752var consumedInput = input.Source.Outputs[input.OutputIndex]; 2756Assert.Collection(step.Outputs, 2773var consumedInput = input.Source.Outputs[input.OutputIndex]; 2777Assert.Collection(step.Outputs, 2789var consumedInput = input.Source.Outputs[input.OutputIndex]; 2793Assert.Collection(step.Outputs, 2805var consumedInput = input.Source.Outputs[input.OutputIndex]; 2809Assert.Collection(step.Outputs, 2829var consumedInput = input.Source.Outputs[input.OutputIndex]; 2833Assert.Collection(step.Outputs, 2845var consumedInput = input.Source.Outputs[input.OutputIndex]; 2849Assert.Collection(step.Outputs, 2861var consumedInput = input.Source.Outputs[input.OutputIndex]; 2865Assert.Collection(step.Outputs, 2910var consumedInput = input.Source.Outputs[input.OutputIndex]; 2914Assert.Collection(step.Outputs, 2927var consumedInput = input.Source.Outputs[input.OutputIndex]; 2931Assert.Collection(step.Outputs, 2948var consumedInput = input.Source.Outputs[input.OutputIndex]; 2952Assert.Collection(step.Outputs, 2965var consumedInput = input.Source.Outputs[input.OutputIndex]; 2969Assert.Collection(step.Outputs, 2990var consumedInput = input.Source.Outputs[input.OutputIndex]; 2994Assert.Collection(step.Outputs, 3007var consumedInput = input.Source.Outputs[input.OutputIndex]; 3011Assert.Collection(step.Outputs, 3032var consumedInput = input.Source.Outputs[input.OutputIndex]; 3036Assert.Collection(step.Outputs, 3049var consumedInput = input.Source.Outputs[input.OutputIndex]; 3053Assert.Collection(step.Outputs,
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (113)
83step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C1" })); 162step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C2" })); 192step => Assert.True(step.Outputs.Single().Value is CompilationUnitSyntax c && c.SyntaxTree == compilation.SyntaxTrees.Single())); 222step => Assert.True(step.Outputs.Single().Value is CompilationUnitSyntax c && c.SyntaxTree == compilation.SyntaxTrees.Single())); 249step => Assert.True(step.Outputs.Single().Value is CompilationUnitSyntax c && c.SyntaxTree == compilation.SyntaxTrees.First())); 276step => Assert.True(step.Outputs.Single().Value is CompilationUnitSyntax c && c.SyntaxTree == compilation.SyntaxTrees.Last())); 304step => Assert.True(step.Outputs.Single().Value is CompilationUnitSyntax c && c.SyntaxTree == compilation.SyntaxTrees.First()), 305step => Assert.True(step.Outputs.Single().Value is CompilationUnitSyntax c && c.SyntaxTree == compilation.SyntaxTrees.Last())); 335step => Assert.True(step.Outputs.Single().Value is LocalFunctionStatementSyntax { Identifier.ValueText: "LocalFunc" })); 371step => Assert.True(step.Outputs.Single().Value is LocalFunctionStatementSyntax { Identifier.ValueText: "LocalFunc" })); 410step => Assert.True(step.Outputs.Single().Value is LocalFunctionStatementSyntax { Identifier.ValueText: "LocalFunc" })); 439step => Assert.True(step.Outputs.Single().Value is TypeParameterSyntax { Identifier.ValueText: "T" })); 472step => Assert.True(step.Outputs.Single().Value is MethodDeclarationSyntax { Identifier.ValueText: "M" })); 505step => Assert.True(step.Outputs.Single().Value is MethodDeclarationSyntax { Identifier.ValueText: "M" })); 537step => Assert.True(step.Outputs.Single().Value is MethodDeclarationSyntax { Identifier.ValueText: "M", Body: null, ExpressionBody: null })); 569step => Assert.True(step.Outputs.Single().Value is MethodDeclarationSyntax { Identifier.ValueText: "M", Body: not null })); 600step => Assert.True(step.Outputs.Single().Value is VariableDeclaratorSyntax { Identifier.ValueText: "m" })); 631step => Assert.Collection(step.Outputs, 664step => Assert.True(step.Outputs.Single().Value is VariableDeclaratorSyntax { Identifier.ValueText: "m" })); 695step => Assert.Collection(step.Outputs, 724step => Assert.True(step.Outputs.Single().Value is LambdaExpressionSyntax)); 758step => Assert.True(step.Outputs.Single().Value is AccessorDeclarationSyntax { RawKind: (int)SyntaxKind.GetAccessorDeclaration })); 787step => Assert.True(step.Outputs.Single().Value is TypeParameterSyntax { Identifier.ValueText: "T" })); 824step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C1" })); 861step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C2" })); 898step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C1" })); 935step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C2" })); 1043step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1080step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1118step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1156step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1194step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1232step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1429step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1436step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1439Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1440Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1441Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1442Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason); 1443Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1444Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1445Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1446Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1476step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1483step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1486Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1487Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1488Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1489Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason); 1490Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1491Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1492Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1493Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1523step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1529step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1532Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1533Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1534Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1535Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1537Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1538Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1539Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1540Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1575step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1578Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1579Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1580Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1581Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1583Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1584Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1585Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1586Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1623step => Assert.Collection(step.Outputs, 1628Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1629Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1630Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1631Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1633Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1634Assert.Collection(runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs, 1636Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1637Assert.Collection(runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs, 1676step => Assert.Collection(step.Outputs, t => Assert.True(t.Value is ClassDeclarationSyntax { Identifier.ValueText: "C1" })), 1677step => Assert.Collection(step.Outputs, t => Assert.True(t.Value is ClassDeclarationSyntax { Identifier.ValueText: "C2" }))); 1680Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1681Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1682Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1683Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1687s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1688s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason)); 1690s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1691s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason)); 1693s => Assert.Equal(IncrementalStepRunReason.Modified, s.Outputs.Single().Reason), 1694s => Assert.Equal(IncrementalStepRunReason.Modified, s.Outputs.Single().Reason)); 1696s => Assert.Equal(IncrementalStepRunReason.New, s.Outputs.Single().Reason), 1697s => Assert.Equal(IncrementalStepRunReason.New, s.Outputs.Single().Reason)); 1740step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1743Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1744Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1745Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1746Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason); 1747Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1748Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1749Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1750Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1788step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1791Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1792Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1793Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1794Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1796Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1797Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttributeInternal"].Single().Outputs.Single().Reason); 1798Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationAndGroupedNodes_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason); 1799Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttributeWithMetadataName"].Single().Outputs.Single().Reason);
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (134)
54step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 86step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 162step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 192Assert.True(step.Outputs.First().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" }); 193Assert.True(step.Outputs.Last().Value is ClassDeclarationSyntax { Identifier.ValueText: "D" }); 224Assert.True(step.Outputs.First().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" }); 225Assert.False(step.Outputs.Any(o => o.Value is ClassDeclarationSyntax { Identifier.ValueText: "D" })); 256Assert.False(step.Outputs.Any(o => o.Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 257Assert.True(step.Outputs.Last().Value is ClassDeclarationSyntax { Identifier.ValueText: "D" }); 290Assert.True(step.Outputs.First().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" }); 291Assert.True(step.Outputs.Last().Value is ClassDeclarationSyntax { Identifier.ValueText: "D" }); 321step => Assert.True(step.Outputs.First().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 347step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 373step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 399step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 432step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 460step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 546step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 579step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 611step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 810step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 841step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 871step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 956step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 985step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1017step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1024step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1027Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1028Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1029Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason); 1030Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1031Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1057step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1064step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1067Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1068Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1069Assert.Equal(IncrementalStepRunReason.Unchanged, runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs.Single().Reason); 1070Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1071Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1103step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1110s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1111s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason)); 1114Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1117Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1119Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1123Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1124Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1156step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1166s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1167s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason)); 1168Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1169Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1171Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1175Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1176Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1217s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1218s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason)); 1219Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1220Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1222Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1226Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1227Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1230step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1262step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1273s => Assert.Equal(IncrementalStepRunReason.Unchanged, s.Outputs.Single().Reason), 1274s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason)); 1275Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1276Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1278Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1282Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1283Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1315step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1324Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" }); 1325Assert.Equal(IncrementalStepRunReason.Removed, step.Outputs.Single().Reason); 1329s => Assert.Equal(IncrementalStepRunReason.Modified, s.Outputs.Single().Reason), 1330s => Assert.Equal(IncrementalStepRunReason.Removed, s.Outputs.Single().Reason)); 1331Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1332Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1334Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1338Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1339Assert.Equal(IncrementalStepRunReason.Removed, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1373step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1380step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1383s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1384s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason)); 1385Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1386Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1388Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1392Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1393Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1429s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1430s => Assert.Equal(IncrementalStepRunReason.New, s.Outputs.Single().Reason)); 1431Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1432Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1434Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1438Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1439Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1442step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1474s => Assert.Equal(IncrementalStepRunReason.New, s.Outputs.Single().Reason)); 1475Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1476Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1478Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1481Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1482Assert.Equal(IncrementalStepRunReason.New, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1485step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1517step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1526s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1527s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason)); 1528Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1529Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1531Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1535Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1536Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1568step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1578s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1579s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason)); 1580Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1581Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1583Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1589s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1590s => Assert.Equal(IncrementalStepRunReason.New, s.Outputs.Single().Reason)); 1592s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1593s => Assert.Equal(IncrementalStepRunReason.New, s.Outputs.Single().Reason)); 1596step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" }), 1597step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "D" })); 1629step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "C" })); 1640s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason), 1641s => Assert.Equal(IncrementalStepRunReason.Cached, s.Outputs.Single().Reason)); 1642Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["collectedGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1643Assert.Equal(IncrementalStepRunReason.Cached, runResult.TrackedSteps["allUpGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1645Assert.Collection(runResult.TrackedSteps["compilationUnit_ForAttribute"].Single().Outputs, 1649Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["compilationUnitAndGlobalAliases_ForAttribute"].Single().Outputs.Single().Reason); 1650Assert.Equal(IncrementalStepRunReason.Modified, runResult.TrackedSteps["result_ForAttribute"].Single().Outputs.Single().Reason); 1653step => Assert.True(step.Outputs.Single().Value is ClassDeclarationSyntax { Identifier.ValueText: "D" }));
SourceGeneration\StateTableTests.cs (69)
387Assert.Equal(1, source.Source.Outputs[source.OutputIndex].Value); 388Assert.Equal(IncrementalStepRunReason.New, source.Source.Outputs[source.OutputIndex].Reason); 393Assert.Equal(2, source.Source.Outputs[source.OutputIndex].Value); 394Assert.Equal(IncrementalStepRunReason.New, source.Source.Outputs[source.OutputIndex].Reason); 399Assert.Equal(3, source.Source.Outputs[source.OutputIndex].Value); 400Assert.Equal(IncrementalStepRunReason.New, source.Source.Outputs[source.OutputIndex].Reason); 402Assert.Collection(step.Outputs, 450Assert.Equal(1, source.Source.Outputs[source.OutputIndex].Value); 451Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 456Assert.Equal(2, source.Source.Outputs[source.OutputIndex].Value); 457Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 462Assert.Equal(3, source.Source.Outputs[source.OutputIndex].Value); 463Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 465Assert.Collection(step.Outputs, 497Assert.Equal(1, source.Source.Outputs[source.OutputIndex].Value); 498Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 503Assert.Equal(2, source.Source.Outputs[source.OutputIndex].Value); 504Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 509Assert.Equal(3, source.Source.Outputs[source.OutputIndex].Value); 510Assert.Equal(IncrementalStepRunReason.Removed, source.Source.Outputs[source.OutputIndex].Reason); 512Assert.Collection(step.Outputs, 564Assert.Equal(1, source.Source.Outputs[source.OutputIndex].Value); 565Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 570Assert.Equal(2, source.Source.Outputs[source.OutputIndex].Value); 571Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 576Assert.Equal(4, source.Source.Outputs[source.OutputIndex].Value); 577Assert.Equal(IncrementalStepRunReason.Modified, source.Source.Outputs[source.OutputIndex].Reason); 579Assert.Collection(step.Outputs, 646Assert.Equal(1, source.Source.Outputs[source.OutputIndex].Value); 647Assert.Equal(IncrementalStepRunReason.New, source.Source.Outputs[source.OutputIndex].Reason); 649Assert.Collection(step.Outputs, 681Assert.Equal(1, source.Source.Outputs[source.OutputIndex].Value); 682Assert.Equal(IncrementalStepRunReason.Cached, source.Source.Outputs[source.OutputIndex].Reason); 684Assert.Collection(step.Outputs, 719Assert.Equal(value, source.Source.Outputs[source.OutputIndex].Value); 720Assert.Equal(IncrementalStepRunReason.Modified, source.Source.Outputs[source.OutputIndex].Reason); 722Assert.Collection(step.Outputs, 758Assert.Equal(value, source.Source.Outputs[source.OutputIndex].Value); 759Assert.Equal(IncrementalStepRunReason.Modified, source.Source.Outputs[source.OutputIndex].Reason); 761Assert.Collection(step.Outputs, 794Assert.Equal((1, IncrementalStepRunReason.Cached), Assert.Single(step.Outputs)); 799Assert.Equal((2, IncrementalStepRunReason.Removed), Assert.Single(step.Outputs)); 804Assert.Equal((3, IncrementalStepRunReason.Removed), Assert.Single(step.Outputs)); 809Assert.Equal((4, IncrementalStepRunReason.New), Assert.Single(step.Outputs)); 814Assert.Equal((5, IncrementalStepRunReason.New), Assert.Single(step.Outputs)); 819Assert.Equal((6, IncrementalStepRunReason.New), Assert.Single(step.Outputs)); 844Assert.Collection(step.Outputs, output => Assert.Equal((1, IncrementalStepRunReason.Cached), output)), 846Assert.Collection(step.Outputs, output => Assert.Equal((2, IncrementalStepRunReason.Removed), output)), 848Assert.Collection(step.Outputs, output => Assert.Equal((3, IncrementalStepRunReason.Removed), output)), 850Assert.Collection(step.Outputs, output => Assert.Equal((4, IncrementalStepRunReason.New), output)), 852Assert.Collection(step.Outputs, output => Assert.Equal((5, IncrementalStepRunReason.New), output)), 854Assert.Collection(step.Outputs, output => Assert.Equal((6, IncrementalStepRunReason.New), output))); 881Assert.Equal(IncrementalStepRunReason.Cached, step.Inputs[0].Source.Outputs[step.Inputs[0].OutputIndex].Reason); 882Assert.Collection(step.Outputs, output => Assert.Equal(((1, 0), IncrementalStepRunReason.Cached), output)); 887Assert.Equal(IncrementalStepRunReason.Removed, step.Inputs[0].Source.Outputs[step.Inputs[0].OutputIndex].Reason); 888Assert.Collection(step.Outputs, output => Assert.Equal(((2, 0), IncrementalStepRunReason.Removed), output)); 893Assert.Equal(IncrementalStepRunReason.Removed, step.Inputs[0].Source.Outputs[step.Inputs[0].OutputIndex].Reason); 894Assert.Collection(step.Outputs, output => Assert.Equal(((3, 0), IncrementalStepRunReason.Removed), output)); 899Assert.Equal(IncrementalStepRunReason.New, step.Inputs[0].Source.Outputs[step.Inputs[0].OutputIndex].Reason); 900Assert.Collection(step.Outputs, output => Assert.Equal(((4, 0), IncrementalStepRunReason.New), output)); 905Assert.Equal(IncrementalStepRunReason.New, step.Inputs[0].Source.Outputs[step.Inputs[0].OutputIndex].Reason); 906Assert.Collection(step.Outputs, output => Assert.Equal(((5, 0), IncrementalStepRunReason.New), output)); 911Assert.Equal(IncrementalStepRunReason.New, step.Inputs[0].Source.Outputs[step.Inputs[0].OutputIndex].Reason); 912Assert.Collection(step.Outputs, output => Assert.Equal(((6, 0), IncrementalStepRunReason.New), output)); 964Assert.Equal(thirdValue, (int)transformNodeStep.Outputs[2].Value); 988Assert.Equal(IncrementalStepRunReason.Modified, input.Source.Outputs[input.OutputIndex].Reason); 990Assert.All(step.Outputs, output => 1017Assert.Equal(IncrementalStepRunReason.Modified, input.Source.Outputs[input.OutputIndex].Reason); 1019Assert.All(step.Outputs, output =>
SourceGeneration\SyntaxAwareGeneratorTests.cs (66)
1033step => Assert.Collection(step.Outputs, 1035step => Assert.Collection(step.Outputs, 1037step => Assert.Collection(step.Outputs, 1053step => Assert.Collection(step.Outputs, 1055step => Assert.Collection(step.Outputs, 1057step => Assert.Collection(step.Outputs, 1059step => Assert.Collection(step.Outputs, 1061step => Assert.Collection(step.Outputs, 1110step => Assert.Collection(step.Outputs, 1112step => Assert.Collection(step.Outputs, 1114step => Assert.Collection(step.Outputs, 1116step => Assert.Collection(step.Outputs, 1118step => Assert.Collection(step.Outputs, 1132step => Assert.Collection(step.Outputs, 1134step => Assert.Collection(step.Outputs, 1136step => Assert.Collection(step.Outputs, 1138step => Assert.Collection(step.Outputs, 1140step => Assert.Collection(step.Outputs, 1240step => Assert.Collection(step.Outputs, 1242step => Assert.Collection(step.Outputs, 1244step => Assert.Collection(step.Outputs, 1269step => Assert.Collection(step.Outputs, 1271step => Assert.Collection(step.Outputs, 1273step => Assert.Collection(step.Outputs, 1415step => Assert.Collection(step.Outputs, 1417step => Assert.Collection(step.Outputs, 1419step => Assert.Collection(step.Outputs, 1445step => Assert.Collection(step.Outputs, 1447step => Assert.Collection(step.Outputs, 1449step => Assert.Collection(step.Outputs, 1452step => Assert.Collection(step.Outputs, 1454step => Assert.Collection(step.Outputs, 1456step => Assert.Collection(step.Outputs, 1478step => Assert.Collection(step.Outputs, 1480step => Assert.Collection(step.Outputs, 1482step => Assert.Collection(step.Outputs, 1529step => Assert.Collection(step.Outputs, 1531step => Assert.Collection(step.Outputs, 1533step => Assert.Collection(step.Outputs, 1544step => Assert.Collection(step.Outputs, 1546step => Assert.Collection(step.Outputs, 1548step => Assert.Collection(step.Outputs, 1700step => Assert.Collection(step.Outputs, 1702step => Assert.Collection(step.Outputs, 1704step => Assert.Collection(step.Outputs, 1707step => Assert.Collection(step.Outputs, 1709step => Assert.Collection(step.Outputs, 1711step => Assert.Collection(step.Outputs, 1713step => Assert.Collection(step.Outputs, 1715step => Assert.Collection(step.Outputs, 1717step => Assert.Collection(step.Outputs, 1759step => Assert.Collection(step.Outputs, 1761step => Assert.Collection(step.Outputs, 1763step => Assert.Collection(step.Outputs, 1766step => Assert.Collection(step.Outputs, 1768step => Assert.Collection(step.Outputs, 1770step => Assert.Collection(step.Outputs, 1813step => Assert.Collection(step.Outputs, 1815step => Assert.Collection(step.Outputs, 1817step => Assert.Collection(step.Outputs, 1819step => Assert.Collection(step.Outputs, 1821step => Assert.Collection(step.Outputs, 1823step => Assert.Collection(step.Outputs, 1826step => Assert.Collection(step.Outputs, 1828step => Assert.Collection(step.Outputs, 1830step => Assert.Collection(step.Outputs,