I’m getting the following error when running the unit tests on a local build:
1: QWARN : qml-api-test::UnknownTestFunc() file:///home/osomon/dev/phablet/oxide/trunk/qt/tests/qmltests/api/tst_WebView_basicAuthentication.qml:25:3: "TestWebView.onBasicAuthenticationRequested" is not available due to component versioning.
1: onBasicAuthenticationRequested: {
1: ^
1: QWARN : qml-api-test::tst_WebView_basicAuthentication::compile()
1: /home/osomon/dev/phablet/oxide/trunk/qt/tests/qmltests/api/tst_WebView_basicAuthentication.qml produced 1 error(s):
1: /home/osomon/dev/phablet/oxide/trunk/qt/tests/qmltests/api/tst_WebView_basicAuthentication.qml:25,3: "TestWebView.onBasicAuthenticationRequested" is not available due to component versioning.
1: Working directory: /home/osomon/dev/phablet/oxide/trunk/objdir-x64-release/qt/tests/qmltests
1: View: QQuickView, import paths:
1: '/home/osomon/dev/phablet/oxide/trunk/objdir-x64-release/out/bin'
1: '/home/osomon/dev/phablet/oxide/trunk/objdir-x64-release/out/imports'
1: '/usr/lib/x86_64-linux-gnu/qt5/qml'
1: Plugin paths:
1: '.'
1:
1: FAIL! : qml-api-test::tst_WebView_basicAuthentication::compile() "TestWebView.onBasicAuthenticationRequested" is not available due to component versioning.
1: Loc: [/home/osomon/dev/phablet/oxide/trunk/qt/tests/qmltests/api/tst_WebView_basicAuthentication.qml(25)]
You will need to import com.canonical.Oxide 1.9 in your tests.
I’m getting the following error when running the unit tests on a local build:
1: QWARN : qml-api- test::UnknownTe stFunc( ) file:// /home/osomon/ dev/phablet/ oxide/trunk/ qt/tests/ qmltests/ api/tst_ WebView_ basicAuthentica tion.qml: 25:3: "TestWebView. onBasicAuthenti cationRequested " is not available due to component versioning. cationRequested : { test::tst_ WebView_ basicAuthentica tion::compile( ) dev/phablet/ oxide/trunk/ qt/tests/ qmltests/ api/tst_ WebView_ basicAuthentica tion.qml produced 1 error(s): dev/phablet/ oxide/trunk/ qt/tests/ qmltests/ api/tst_ WebView_ basicAuthentica tion.qml: 25,3: "TestWebView. onBasicAuthenti cationRequested " is not available due to component versioning. dev/phablet/ oxide/trunk/ objdir- x64-release/ qt/tests/ qmltests osomon/ dev/phablet/ oxide/trunk/ objdir- x64-release/ out/bin' osomon/ dev/phablet/ oxide/trunk/ objdir- x64-release/ out/imports' x86_64- linux-gnu/ qt5/qml' test::tst_ WebView_ basicAuthentica tion::compile( ) "TestWebView. onBasicAuthenti cationRequested " is not available due to component versioning. osomon/ dev/phablet/ oxide/trunk/ qt/tests/ qmltests/ api/tst_ WebView_ basicAuthentica tion.qml( 25)]
1: onBasicAuthenti
1: ^
1: QWARN : qml-api-
1: /home/osomon/
1: /home/osomon/
1: Working directory: /home/osomon/
1: View: QQuickView, import paths:
1: '/home/
1: '/home/
1: '/usr/lib/
1: Plugin paths:
1: '.'
1:
1: FAIL! : qml-api-
1: Loc: [/home/
You will need to import com.canonical.Oxide 1.9 in your tests.