diff --git a/test/testtokenize.cpp b/test/testtokenize.cpp index 5970c54e3..70613862e 100644 --- a/test/testtokenize.cpp +++ b/test/testtokenize.cpp @@ -185,9 +185,6 @@ private: TEST_CASE(varid18); TEST_CASE(varid19); TEST_CASE(varid20); - TEST_CASE(varid21); - TEST_CASE(varid22); - TEST_CASE(varid23); TEST_CASE(varid24); TEST_CASE(varid25); TEST_CASE(varid26); // ticket #1967 (list of function pointers) @@ -2906,55 +2903,6 @@ private: ASSERT_EQUALS(expected, tokenizeDebugListing(code)); } - void varid21() { - const std::string code("void foo()\n" - "{\n" - " vector x;\n" - "}\n"); - - const std::string expected("\n\n##file 0\n" - "1: void foo ( )\n" - "2: {\n" - "3: vector < const std :: string & > x@1 ;\n" - "4: }\n"); - - ASSERT_EQUALS(expected, tokenizeDebugListing(code)); - } - - void varid22() { - const std::string code("class foo()\n" - "{\n" - "public:\n" - " vector x;\n" - "};\n"); - - const std::string expected("\n\n##file 0\n" - "1: class foo ( )\n" - "2: {\n" - "3: public:\n" - "4: vector < const std :: string & > x@1 ;\n" - "5: } ;\n"); - - ASSERT_EQUALS(expected, tokenizeDebugListing(code)); - } - - void varid23() { - const std::string code("class foo()\n" - "{\n" - "public:\n" - " static vector x;\n" - "};\n"); - - const std::string expected("\n\n##file 0\n" - "1: class foo ( )\n" - "2: {\n" - "3: public:\n" - "4: static vector < const std :: string & > x@1 ;\n" - "5: } ;\n"); - - ASSERT_EQUALS(expected, tokenizeDebugListing(code)); - } - void varid24() { const std::string code("class foo()\n" "{\n"