Translations:KDevelop5/Manual/Code generation with templates/76/da
Appearance
- testNameOfDriver
void TestBus::testNameOfDriver() { m_bus.setNameOfDriver(QString("Billy")); QVERIFY(m_bus.nameOfDriver() == QString("Billy")); }
void TestBus::testNameOfDriver()
{
m_bus.setNameOfDriver(QString("Billy"));
QVERIFY(m_bus.nameOfDriver() == QString("Billy"));
}