summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2018-09-14 15:00:20 +0200
committerKarsten Heimrich <karsten.heimrich@qt.io>2018-09-17 06:49:15 +0000
commitef6af1acfdebec69ed7f221ba5734a3b1ba16aec (patch)
treea16d551f8c26af87094b473dd60736df60ad2d75 /tests
parent2182b5fea063b3b905c82a29b44f3b17b0078b4e (diff)
Change function names to be more verbose on their purpose
Discussed here locally after it got noticed in the API review. Change-Id: I68258c23ca4016e5c19ebc0a352682f119747da2 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qknxaddress/tst_qknxaddress.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qknxaddress/tst_qknxaddress.cpp b/tests/auto/qknxaddress/tst_qknxaddress.cpp
index 0bc023d..7556140 100644
--- a/tests/auto/qknxaddress/tst_qknxaddress.cpp
+++ b/tests/auto/qknxaddress/tst_qknxaddress.cpp
@@ -664,9 +664,9 @@ private slots:
QTEST(address.type(), "type");
QTEST(address.isValid(), "isValid");
- QTEST(address.main(), "main");
- QTEST(address.middle(), "middle");
- QTEST(address.sub(notation), "sub");
+ QTEST(address.mainOrAreaSection(), "main");
+ QTEST(address.middleOrLineSection(), "middle");
+ QTEST(address.subOrDeviceSection(notation), "sub");
}
};