diff options
author | Bramastyo Harimukti <bramastyo.harimukti.santoso@pelagicore.com> | 2018-03-05 17:16:54 +0100 |
---|---|---|
committer | Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com> | 2018-03-06 09:58:22 +0000 |
commit | 4e1119b8f95d2c33b54421d21a6b078dfcb95b9b (patch) | |
tree | c647c07d9d50d7fddec7c4dd7c07692c57defe0e /tests | |
parent | f70f4e7687eb3d29772fd11c7036083cd8c98f23 (diff) |
Replace "Triton" occurrences with "Neptune"
- replace all Triton occurrences with Neptune
as project name is now changed to Neptune 3
Change-Id: Ia4b2ab7dbee849aec6da86a0223471293a9f8c95
Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/README | 2 | ||||
-rw-r--r-- | tests/neptune-qmlscene/README (renamed from tests/triton-qmlscene/README) | 2 | ||||
-rw-r--r-- | tests/neptune-qmlscene/neptune-qmlscene.cpp (renamed from tests/triton-qmlscene/triton-qmlscene.cpp) | 4 | ||||
-rw-r--r-- | tests/neptune-qmlscene/neptune-qmlscene.pro (renamed from tests/triton-qmlscene/triton-qmlscene.pro) | 4 | ||||
-rw-r--r-- | tests/qmltests/FakeAppInfo.qml | 2 | ||||
-rw-r--r-- | tests/qmltests/NeptuneTestCase.qml (renamed from tests/qmltests/TritonTestCase.qml) | 2 | ||||
-rw-r--r-- | tests/qmltests/qmltests.pro | 4 | ||||
-rw-r--r-- | tests/qmltests/tst_ApplicationWidget.qml | 2 | ||||
-rw-r--r-- | tests/qmltests/tst_WidgetDrawer.qml | 4 | ||||
-rw-r--r-- | tests/qmltests/tst_WidgetGrid.qml | 4 | ||||
-rw-r--r-- | tests/tests.pro | 2 |
11 files changed, 16 insertions, 16 deletions
diff --git a/tests/README b/tests/README index 9ebc7f85..61e0d070 100644 --- a/tests/README +++ b/tests/README @@ -6,6 +6,6 @@ There are two ways to run qml tests: 2-Try out a test in a window for manual interaction (manual testing). Say you have a component called WidgetDrawer. If it has a test it will - be called tst_WidgetDrawer.qml. To show it using triton-qmlscene you run: + be called tst_WidgetDrawer.qml. To show it using neptune-qmlscene you run: build_dir/tests/qmltests$ make tryWidgetDrawer diff --git a/tests/triton-qmlscene/README b/tests/neptune-qmlscene/README index 80101478..4d24d7c2 100644 --- a/tests/triton-qmlscene/README +++ b/tests/neptune-qmlscene/README @@ -1,4 +1,4 @@ -triton-qmlscene is useful when you want to manually interact with a qml file that has a TestCase in it. +neptune-qmlscene is useful when you want to manually interact with a qml file that has a TestCase in it. It's just qmlscene from qtdeclarative with minor modifications. Namely: - Made it register a dummy QTestRootObject singleton type under a Qt.test.qtestroot so that qml files diff --git a/tests/triton-qmlscene/triton-qmlscene.cpp b/tests/neptune-qmlscene/neptune-qmlscene.cpp index 2b1a49e4..b5264ec3 100644 --- a/tests/triton-qmlscene/triton-qmlscene.cpp +++ b/tests/neptune-qmlscene/neptune-qmlscene.cpp @@ -490,7 +490,7 @@ int main(int argc, char ** argv) #else QGuiApplication app(argc, argv); #endif - app.setApplicationName("Viewer for Triton qml tests"); + app.setApplicationName("Viewer for Neptune qml tests"); app.setOrganizationName("QtProject"); app.setOrganizationDomain("qt-project.org"); QCoreApplication::setApplicationVersion(QLatin1String(QT_VERSION_STR)); @@ -673,4 +673,4 @@ int main(int argc, char ** argv) return exitCode; } -#include "triton-qmlscene.moc" +#include "neptune-qmlscene.moc" diff --git a/tests/triton-qmlscene/triton-qmlscene.pro b/tests/neptune-qmlscene/neptune-qmlscene.pro index 91cf2f5d..e9db4e93 100644 --- a/tests/triton-qmlscene/triton-qmlscene.pro +++ b/tests/neptune-qmlscene/neptune-qmlscene.pro @@ -1,6 +1,6 @@ TEMPLATE = app -TARGET = triton-qmlscene +TARGET = neptune-qmlscene QT += qml quick quick-private gui-private core-private -SOURCES = triton-qmlscene.cpp +SOURCES = neptune-qmlscene.cpp diff --git a/tests/qmltests/FakeAppInfo.qml b/tests/qmltests/FakeAppInfo.qml index f6ddf3cd..36803856 100644 --- a/tests/qmltests/FakeAppInfo.qml +++ b/tests/qmltests/FakeAppInfo.qml @@ -3,7 +3,7 @@ ** Copyright (C) 2018 Pelagicore AG ** Contact: https://www.qt.io/licensing/ ** -** This file is part of the Triton IVI UI. +** This file is part of the Neptune 3 IVI UI. ** ** $QT_BEGIN_LICENSE:GPL-QTAS$ ** Commercial License Usage diff --git a/tests/qmltests/TritonTestCase.qml b/tests/qmltests/NeptuneTestCase.qml index 0b06ad2f..2a28d4b9 100644 --- a/tests/qmltests/TritonTestCase.qml +++ b/tests/qmltests/NeptuneTestCase.qml @@ -3,7 +3,7 @@ ** Copyright (C) 2017 Pelagicore AG ** Contact: https://www.qt.io/licensing/ ** -** This file is part of the Triton IVI UI. +** This file is part of the Neptune 3 IVI UI. ** ** $QT_BEGIN_LICENSE:GPL-QTAS$ ** Commercial License Usage diff --git a/tests/qmltests/qmltests.pro b/tests/qmltests/qmltests.pro index aec539fa..1b6ab2a8 100644 --- a/tests/qmltests/qmltests.pro +++ b/tests/qmltests/qmltests.pro @@ -1,5 +1,5 @@ TEMPLATE=app -TARGET=triton-qmltestsrunner +TARGET=neptune-qmltestsrunner SOURCES += testrunner.cpp CONFIG += qmltestcase @@ -13,7 +13,7 @@ COMPONENT_NAMES += WidgetDrawer for(COMPONENT_NAME, COMPONENT_NAMES) { targetName = try$$COMPONENT_NAME QMAKE_EXTRA_TARGETS += $${targetName} - $${targetName}.commands = $$OUT_PWD/../triton-qmlscene/triton-qmlscene + $${targetName}.commands = $$OUT_PWD/../neptune-qmlscene/neptune-qmlscene !isEmpty(IMPORTPATH) { for(import, IMPORTPATH): $${targetName}.commands += -I \"$$import\" } diff --git a/tests/qmltests/tst_ApplicationWidget.qml b/tests/qmltests/tst_ApplicationWidget.qml index b931a0f3..2ae585d4 100644 --- a/tests/qmltests/tst_ApplicationWidget.qml +++ b/tests/qmltests/tst_ApplicationWidget.qml @@ -3,7 +3,7 @@ ** Copyright (C) 2017-2018 Pelagicore AG ** Contact: https://www.qt.io/licensing/ ** -** This file is part of the Triton IVI UI. +** This file is part of the Neptune 3 IVI UI. ** ** $QT_BEGIN_LICENSE:GPL-QTAS$ ** Commercial License Usage diff --git a/tests/qmltests/tst_WidgetDrawer.qml b/tests/qmltests/tst_WidgetDrawer.qml index 99ed66e6..6979377b 100644 --- a/tests/qmltests/tst_WidgetDrawer.qml +++ b/tests/qmltests/tst_WidgetDrawer.qml @@ -3,7 +3,7 @@ ** Copyright (C) 2017-2018 Pelagicore AG ** Contact: https://www.qt.io/licensing/ ** -** This file is part of the Triton IVI UI. +** This file is part of the Neptune 3 IVI UI. ** ** $QT_BEGIN_LICENSE:GPL-QTAS$ ** Commercial License Usage @@ -59,7 +59,7 @@ Item { } } - TritonTestCase { + NeptuneTestCase { name: "WidgetDrawer" /* diff --git a/tests/qmltests/tst_WidgetGrid.qml b/tests/qmltests/tst_WidgetGrid.qml index d7060e25..7dafa3c3 100644 --- a/tests/qmltests/tst_WidgetGrid.qml +++ b/tests/qmltests/tst_WidgetGrid.qml @@ -3,7 +3,7 @@ ** Copyright (C) 2017 Pelagicore AG ** Contact: https://www.qt.io/licensing/ ** -** This file is part of the Triton IVI UI. +** This file is part of the Neptune 3 IVI UI. ** ** $QT_BEGIN_LICENSE:GPL-QTAS$ ** Commercial License Usage @@ -82,7 +82,7 @@ Item { } } - TritonTestCase { + NeptuneTestCase { name: "WidgetGrid" /* diff --git a/tests/tests.pro b/tests/tests.pro index 1148860a..48ba98e9 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -1,2 +1,2 @@ TEMPLATE = subdirs -SUBDIRS += qmltests triton-qmlscene +SUBDIRS += qmltests neptune-qmlscene |