Jump to content

Translations:KDevelop5/Manual/Code generation with templates/75/en: Difference between revisions

From KDE Wiki Sandbox
FuzzyBot (talk | contribs)
Importing a new version from external source
 
FuzzyBot (talk | contribs)
Importing a new version from external source
 
Line 1: Line 1:
* testNumberOfPassengers{{Input|1=<nowiki>void TestBus::testNumberOfPassengers()
* testNumberOfPassengers<syntaxhighlight lang="cpp" line>void TestBus::testNumberOfPassengers()
{
{
     m_bus.setNumberOfPassengers(1);
     m_bus.setNumberOfPassengers(1);
     QVERIFY(m_bus.numberOfPassengers() == 1);
     QVERIFY(m_bus.numberOfPassengers() == 1);
}</nowiki>}}
}</syntaxhighlight>

Latest revision as of 08:38, 2 April 2020

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (KDevelop5/Manual/Code generation with templates)
* testNumberOfPassengers<syntaxhighlight lang="cpp" line>void TestBus::testNumberOfPassengers()
{
   m_bus.setNumberOfPassengers(1);
   QVERIFY(m_bus.numberOfPassengers() == 1);
}</syntaxhighlight>
  • testNumberOfPassengers
    void TestBus::testNumberOfPassengers()
    {
        m_bus.setNumberOfPassengers(1);
        QVERIFY(m_bus.numberOfPassengers() == 1);
    }