Sha256: 648749491cbf764adf8b9a0a1a0efae8dbe57046f1ff7583ed55ef306f5fd986
Contents?: true
Size: 551 Bytes
Versions: 20
Compression:
Stored size: 551 Bytes
Contents
#!/usr/bin/ruby require 'Qt4' require 'qttest' class MyFirstTest < Qt::Object private_slots :initTestCase, :myFirstTest, :mySecondTest, :cleanupTestCase def initTestCase() qDebug("called before everything else") end def myFirstTest() QVERIFY('1 == 1') qDebug("myFirstTest()") end def mySecondTest() QVERIFY('1 != 2') qDebug("mySecondTest()") end def cleanupTestCase() qDebug("called after myFirstTest and mySecondTest") end end Qt::Test.qExec(MyFirstTest.new, ARGV)
Version data entries
20 entries across 20 versions & 2 rubygems