Translations:KDevelop5/Manual/Code generation with templates/76/en: Difference between revisions
Appearance
Importing a new version from external source |
Importing a new version from external source |
||
Line 1: | Line 1: | ||
* testNameOfDriver | * testNameOfDriver<syntaxhighlight lang="cpp" line>void TestBus::testNameOfDriver() | ||
{ | { | ||
m_bus.setNameOfDriver(QString("Billy")); | m_bus.setNameOfDriver(QString("Billy")); | ||
QVERIFY(m_bus.nameOfDriver() == QString("Billy")); | QVERIFY(m_bus.nameOfDriver() == QString("Billy")); | ||
}</ | }</syntaxhighlight> |
Latest revision as of 08:38, 2 April 2020
- testNameOfDriver
void TestBus::testNameOfDriver() { m_bus.setNameOfDriver(QString("Billy")); QVERIFY(m_bus.nameOfDriver() == QString("Billy")); }