From ddeb1c9a7f91b2011add97684f36cee513cf7872 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Wed, 27 Jul 2022 19:02:59 +0200 Subject: Document shell-friendly data tags as best practice Also follow this best practice in testlib's own documentation and examples. Change-Id: I8b57dfa8f88835adae8fceeb122a16635708e338 Reviewed-by: Paul Wicking (cherry picked from commit f94f1653368bf8c499fa9a6eeba81736bb2a7710) Reviewed-by: Qt Cherry-pick Bot --- examples/qtestlib/tutorial2/testqstring.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/qtestlib/tutorial2') diff --git a/examples/qtestlib/tutorial2/testqstring.cpp b/examples/qtestlib/tutorial2/testqstring.cpp index 2e87292daa..fa6779a16f 100644 --- a/examples/qtestlib/tutorial2/testqstring.cpp +++ b/examples/qtestlib/tutorial2/testqstring.cpp @@ -20,9 +20,9 @@ void TestQString::toUpper_data() QTest::addColumn("string"); QTest::addColumn("result"); - QTest::newRow("all lower") << "hello" << "HELLO"; + QTest::newRow("all-lower") << "hello" << "HELLO"; QTest::newRow("mixed") << "Hello" << "HELLO"; - QTest::newRow("all upper") << "HELLO" << "HELLO"; + QTest::newRow("all-upper") << "HELLO" << "HELLO"; } //! [1] -- cgit v1.2.3