Details
Details
- Reviewers
staniek - Maniphest Tasks
- T6284: Add recordCount and fieldCount TestCases
Diff Detail
Diff Detail
- Repository
- R15 KDb
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage
autotests/KDbTest.cpp | ||
---|---|---|
1208 | Idea, test more cases:
| |
1211 | Let's use QCOMPARE() for any comparisons of values other than bool. Then "Number of records in default persons table is 4." is implied. | |
1225 | Please create on stack, memory leak otherwise. So: KDbTableOrQuerySchema tableOrQuery(utils.connection.data(), "persons"); | |
1227 | not needed, always present | |
1231 | Not needed |
autotests/KDbTest.cpp | ||
---|---|---|
1208 | By the way, it's not a problem to implement the above TODO in separate commit. Feel free to just perform the other improvements I requested below. |