diff options
Diffstat (limited to 'tests/QtOpenGL/qglwidget_test.py')
-rw-r--r-- | tests/QtOpenGL/qglwidget_test.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/QtOpenGL/qglwidget_test.py b/tests/QtOpenGL/qglwidget_test.py new file mode 100644 index 000000000..515b8f52b --- /dev/null +++ b/tests/QtOpenGL/qglwidget_test.py @@ -0,0 +1,18 @@ +import unittest +from PySide.QtGui import * +from PySide.QtOpenGL import * + +class TestQGLWidget (unittest.TestCase): + def testIt(self): + """Just test if the bindTexture(*, GLenum, GLint) methods overloads exists""" + app = QApplication([]) + img = QImage() + w = QGLWidget() + a = w.bindTexture(img, 0, 0) # ok if it throws nothing.. :-) + + + + + +if __name__ == "__main__": + unittest.main() |