diff options
author | Neil <nyamatongwe@gmail.com> | 2013-07-05 13:48:22 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-07-05 13:48:22 +1000 |
commit | cebba91edb8bc17ef5ab373e7c5dbaf1e3676b1e (patch) | |
tree | 5c597d2e75f1b883a2e5febd2cec5bb373614615 /test/performanceTests.py | |
parent | a4560bc171c052aa73ba537c720638def526e49b (diff) | |
download | scintilla-mirror-cebba91edb8bc17ef5ab373e7c5dbaf1e3676b1e.tar.gz |
Implemented tests for Qt on Linux.
Diffstat (limited to 'test/performanceTests.py')
-rw-r--r-- | test/performanceTests.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/performanceTests.py b/test/performanceTests.py index da9c87759..5cfd6e25c 100644 --- a/test/performanceTests.py +++ b/test/performanceTests.py @@ -3,14 +3,17 @@ from __future__ import with_statement from __future__ import unicode_literals -import os, string, time, unittest +import os, string, sys, time, unittest -import XiteWin +if sys.platform == "win32": + import XiteWin as Xite +else: + import XiteQt as Xite class TestPerformance(unittest.TestCase): def setUp(self): - self.xite = XiteWin.xiteFrame + self.xite = Xite.xiteFrame self.ed = self.xite.ed self.ed.ClearAll() self.ed.EmptyUndoBuffer() @@ -81,4 +84,4 @@ class TestPerformance(unittest.TestCase): self.assert_(self.ed.Length > 0) if __name__ == '__main__': - XiteWin.main("performanceTests") + Xite.main("performanceTests") |