Skip to content

Commit 82b695c

Browse files
committed
TestValueFlow: added IDs and columns to expected output
1 parent f8ca23e commit 82b695c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/testvalueflow.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,14 @@ class TestValueFlow : public TestFixture {
7777
TEST_CASE(valueFlowBeforeConditionAssignIncDec);
7878
TEST_CASE(valueFlowBeforeConditionFunctionCall);
7979
TEST_CASE(valueFlowBeforeConditionGlobalVariables);
80+
mNewTemplate = false;
8081
TEST_CASE(valueFlowBeforeConditionGoto);
82+
mNewTemplate = true;
8183
TEST_CASE(valueFlowBeforeConditionIfElse);
8284
TEST_CASE(valueFlowBeforeConditionLoop);
85+
mNewTemplate = false;
8386
TEST_CASE(valueFlowBeforeConditionMacro);
87+
mNewTemplate = true;
8488
TEST_CASE(valueFlowBeforeConditionSizeof);
8589
TEST_CASE(valueFlowBeforeConditionSwitch);
8690
TEST_CASE(valueFlowBeforeConditionTernaryOp);
@@ -166,7 +170,9 @@ class TestValueFlow : public TestFixture {
166170
TEST_CASE(valueFlowImpossibleUnknownConstant);
167171
TEST_CASE(valueFlowContainerEqual);
168172

173+
mNewTemplate = false;
169174
TEST_CASE(valueFlowBailoutIncompleteVar);
175+
mNewTemplate = true;
170176

171177
TEST_CASE(performanceIfCount);
172178
}

0 commit comments

Comments
 (0)