Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
53
venv/Lib/site-packages/qtpy/tests/test_qtquick.py
Normal file
53
venv/Lib/site-packages/qtpy/tests/test_qtquick.py
Normal file
|
@ -0,0 +1,53 @@
|
|||
from __future__ import absolute_import
|
||||
|
||||
import pytest
|
||||
from qtpy import PYQT5, PYSIDE2
|
||||
|
||||
@pytest.mark.skipif(not (PYQT5 or PYSIDE2), reason="Only available in Qt5 bindings")
|
||||
def test_qtquick():
|
||||
"""Test the qtpy.QtQuick namespace"""
|
||||
from qtpy import QtQuick
|
||||
assert QtQuick.QQuickAsyncImageProvider is not None
|
||||
if not PYSIDE2:
|
||||
assert QtQuick.QQuickCloseEvent is not None
|
||||
assert QtQuick.QQuickFramebufferObject is not None
|
||||
assert QtQuick.QQuickImageProvider is not None
|
||||
assert QtQuick.QQuickImageResponse is not None
|
||||
assert QtQuick.QQuickItem is not None
|
||||
assert QtQuick.QQuickItemGrabResult is not None
|
||||
assert QtQuick.QQuickPaintedItem is not None
|
||||
assert QtQuick.QQuickRenderControl is not None
|
||||
assert QtQuick.QQuickTextDocument is not None
|
||||
assert QtQuick.QQuickTextureFactory is not None
|
||||
assert QtQuick.QQuickView is not None
|
||||
assert QtQuick.QQuickWindow is not None
|
||||
assert QtQuick.QSGAbstractRenderer is not None
|
||||
assert QtQuick.QSGBasicGeometryNode is not None
|
||||
assert QtQuick.QSGClipNode is not None
|
||||
assert QtQuick.QSGDynamicTexture is not None
|
||||
assert QtQuick.QSGEngine is not None
|
||||
if not PYSIDE2:
|
||||
assert QtQuick.QSGFlatColorMaterial is not None
|
||||
assert QtQuick.QSGGeometry is not None
|
||||
assert QtQuick.QSGGeometryNode is not None
|
||||
#assert QtQuick.QSGImageNode is not None
|
||||
if not PYSIDE2:
|
||||
assert QtQuick.QSGMaterial is not None
|
||||
assert QtQuick.QSGMaterialShader is not None
|
||||
assert QtQuick.QSGMaterialType is not None
|
||||
assert QtQuick.QSGNode is not None
|
||||
assert QtQuick.QSGOpacityNode is not None
|
||||
if not PYSIDE2:
|
||||
assert QtQuick.QSGOpaqueTextureMaterial is not None
|
||||
#assert QtQuick.QSGRectangleNode is not None
|
||||
#assert QtQuick.QSGRenderNode is not None
|
||||
#assert QtQuick.QSGRendererInterface is not None
|
||||
assert QtQuick.QSGSimpleRectNode is not None
|
||||
assert QtQuick.QSGSimpleTextureNode is not None
|
||||
assert QtQuick.QSGTexture is not None
|
||||
if not PYSIDE2:
|
||||
assert QtQuick.QSGTextureMaterial is not None
|
||||
assert QtQuick.QSGTextureProvider is not None
|
||||
assert QtQuick.QSGTransformNode is not None
|
||||
if not PYSIDE2:
|
||||
assert QtQuick.QSGVertexColorMaterial is not None
|
Loading…
Add table
Add a link
Reference in a new issue