Skip to content

Commit

Permalink
Tagging VB/C# Ioperation tests (#21310)
Browse files Browse the repository at this point in the history
* Tagging VB/C# Ioperation tests

* Fix the Wrong Tagging
  • Loading branch information
jinujoseph authored Aug 8, 2017
1 parent 422dfb4 commit f7b0555
Show file tree
Hide file tree
Showing 48 changed files with 2,092 additions and 955 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ namespace Microsoft.CodeAnalysis.CSharp.UnitTests
{
public partial class IOperationTests : SemanticModelTestBase
{
[CompilerTrait(CompilerFeature.IOperation)]
[Fact]
[WorkItem(382240, "https://devdiv.visualstudio.com/DevDiv/_workitems?id=382240")]
public void NullInPlaceOfParamArray()
Expand Down Expand Up @@ -69,6 +70,7 @@ static void Test2(int y, params int[] x)
OutConversion: null");
}

[CompilerTrait(CompilerFeature.IOperation)]
[Fact]
public void DeconstructionAssignmentFromTuple()
{
Expand Down Expand Up @@ -112,6 +114,7 @@ public void Deconstruct(out int a, out int b, out int c)
Assert.False(operation3 is ISimpleAssignmentExpression);
}

[CompilerTrait(CompilerFeature.IOperation)]
[Fact]
public void TestClone()
{
Expand All @@ -124,6 +127,7 @@ public void TestClone()
VerifyClone(model);
}

[CompilerTrait(CompilerFeature.IOperation)]
[Fact]
public void TestParentOperations()
{
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;

namespace Microsoft.CodeAnalysis.CSharp.UnitTests
{
public partial class IOperationTests : SemanticModelTestBase
{
[CompilerTrait(CompilerFeature.IOperation)]
[Fact]
public void VerifyLiftedBinaryOperators1()
{
Expand All @@ -28,6 +30,7 @@ void F(int? x, int? y)
VerifyOperationTreeForTest<BinaryExpressionSyntax>(source, expectedOperationTree);
}

[CompilerTrait(CompilerFeature.IOperation)]
[Fact]
public void VerifyNonLiftedBinaryOperators1()
{
Expand All @@ -48,6 +51,7 @@ void F(int x, int y)
VerifyOperationTreeForTest<BinaryExpressionSyntax>(source, expectedOperationTree);
}

[CompilerTrait(CompilerFeature.IOperation)]
[Fact]
public void VerifyLiftedUserDefinedBinaryOperators1()
{
Expand All @@ -69,6 +73,7 @@ void F(C? x, C? y)
VerifyOperationTreeForTest<BinaryExpressionSyntax>(source, expectedOperationTree);
}

[CompilerTrait(CompilerFeature.IOperation)]
[Fact]
public void VerifyNonLiftedUserDefinedBinaryOperators1()
{
Expand Down
Loading

0 comments on commit f7b0555

Please sign in to comment.