Class: MyFirstTest
Instance Method Summary
collapse
Methods inherited from Qt::Base
#%, #&, #*, #**, #+, #-, #-@, #/, #<, #<<, #<=, #==, #>, #>=, #>>, #QCOMPARE, #QEXPECT_FAIL, #QFAIL, #QSKIP, #QTEST, #QVERIFY, #QVERIFY2, #QWARN, #^, ancestors, #is_a?, #methods, private_slots, #protected_methods, #public_methods, q_classinfo, q_signal, q_slot, signals, #singleton_methods, slots, #|, #~
Instance Method Details
#cleanupTestCase ⇒ Object
25
26
27
|
# File 'ext/ruby/qttest/examples/myfirsttest.rb', line 25
def cleanupTestCase()
qDebug("called after myFirstTest and mySecondTest")
end
|
#initTestCase ⇒ Object
11
12
13
|
# File 'ext/ruby/qttest/examples/myfirsttest.rb', line 11
def initTestCase()
qDebug("called before everything else")
end
|
#myFirstTest ⇒ Object
15
16
17
18
|
# File 'ext/ruby/qttest/examples/myfirsttest.rb', line 15
def myFirstTest()
QVERIFY('1 == 1')
qDebug("myFirstTest()")
end
|
#mySecondTest ⇒ Object
20
21
22
23
|
# File 'ext/ruby/qttest/examples/myfirsttest.rb', line 20
def mySecondTest()
QVERIFY('1 != 2')
qDebug("mySecondTest()")
end
|