| 1205 | } |
| 1206 | |
| 1207 | void TestCodeCompletion::testIncludePathCompletionLocal() |
| 1208 | { |
| 1209 | TestFile header(QStringLiteral("int foo() { return 42; }\n"), QStringLiteral("h")); |
| 1210 | TestFile impl(QStringLiteral("#include \""), QStringLiteral("cpp"), &header); |
| 1211 | |
| 1212 | IncludeTester tester(executeIncludePathCompletion(&impl, {0, 10})); |
| 1213 | QVERIFY(tester.names.contains(header.url().toUrl().fileName())); |
| 1214 | QVERIFY(tester.names.contains("iostream")); |
| 1215 | } |
| 1216 | |
| 1217 | void TestCodeCompletion::testOverloadedFunctions() |
| 1218 | { |
nothing calls this directly
no test coverage detected