| 32 | class ErrorLogger; |
| 33 | |
| 34 | class TestSimplifyTypedef : public TestFixture { |
| 35 | public: |
| 36 | TestSimplifyTypedef() : TestFixture("TestSimplifyTypedef") {} |
| 37 | |
| 38 | |
| 39 | private: |
| 40 | const Settings settings0 = settingsBuilder().severity(Severity::style).build(); |
| 41 | const Settings settings1 = settingsBuilder().severity(Severity::portability).build(); |
| 42 | |
| 43 | void run() override { |
| 44 | mNewTemplate = true; |
| 45 | TEST_CASE(c1); |
| 46 | TEST_CASE(c2); |
| 47 | TEST_CASE(canreplace1); |
| 48 | TEST_CASE(canreplace2); |
| 49 | TEST_CASE(canreplace3); |
| 50 | TEST_CASE(canreplace4); |
| 51 | TEST_CASE(cconst); |
| 52 | TEST_CASE(cstruct1); |
| 53 | TEST_CASE(cstruct2); |
| 54 | TEST_CASE(cstruct3); |
| 55 | TEST_CASE(cstruct3); |
| 56 | TEST_CASE(cstruct4); |
| 57 | TEST_CASE(cenum1); |
| 58 | TEST_CASE(cfunction1); |
| 59 | TEST_CASE(cfunction2); |
| 60 | TEST_CASE(cfunction3); |
| 61 | TEST_CASE(cfunction4); |
| 62 | TEST_CASE(cfp1); |
| 63 | TEST_CASE(cfp2); |
| 64 | TEST_CASE(cfp4); |
| 65 | TEST_CASE(cfp5); |
| 66 | TEST_CASE(cfp6); |
| 67 | TEST_CASE(cfp7); |
| 68 | TEST_CASE(carray1); |
| 69 | TEST_CASE(carray2); |
| 70 | TEST_CASE(carray3); |
| 71 | TEST_CASE(carray4); |
| 72 | TEST_CASE(cdonotreplace1); |
| 73 | TEST_CASE(cppfp1); |
| 74 | TEST_CASE(Generic1); |
| 75 | |
| 76 | TEST_CASE(simplifyTypedef1); |
| 77 | TEST_CASE(simplifyTypedef2); |
| 78 | TEST_CASE(simplifyTypedef3); |
| 79 | TEST_CASE(simplifyTypedef4); |
| 80 | TEST_CASE(simplifyTypedef5); |
| 81 | TEST_CASE(simplifyTypedef6); |
| 82 | TEST_CASE(simplifyTypedef7); |
| 83 | TEST_CASE(simplifyTypedef8); |
| 84 | TEST_CASE(simplifyTypedef9); |
| 85 | TEST_CASE(simplifyTypedef10); |
| 86 | TEST_CASE(simplifyTypedef11); |
| 87 | TEST_CASE(simplifyTypedef12); |
| 88 | TEST_CASE(simplifyTypedef13); |
| 89 | TEST_CASE(simplifyTypedef14); |
| 90 | TEST_CASE(simplifyTypedef15); |
| 91 | TEST_CASE(simplifyTypedef16); |