diff --git a/tests/com.ubports.gsettings.test.gschema.xml b/tests/com.canonical.gsettings.test.gschema.xml similarity index 90% rename from tests/com.ubports.gsettings.test.gschema.xml rename to tests/com.canonical.gsettings.test.gschema.xml index 9cfcbd2..5707cdd 100644 --- a/tests/com.ubports.gsettings.test.gschema.xml +++ b/tests/com.canonical.gsettings.test.gschema.xml @@ -1,6 +1,6 @@ - + 42 diff --git a/tests/cpptest.cpp b/tests/cpptest.cpp index 8dd8cdd..7871224 100644 --- a/tests/cpptest.cpp +++ b/tests/cpptest.cpp @@ -15,7 +15,7 @@ private: void TestDeferredDelete::initTestCase() { - settings = new QGSettings("com.ubports.gsettings.Test", QByteArray(), this); + settings = new QGSettings("com.canonical.gsettings.Test", QByteArray(), this); dummy = new QObject; connect(settings, &QGSettings::changed, dummy.data(), &QObject::deleteLater); // delete the dummy object upon any gsettings change } diff --git a/tests/cpptest.pro b/tests/cpptest.pro index 4fe8526..ec46730 100644 --- a/tests/cpptest.pro +++ b/tests/cpptest.pro @@ -11,7 +11,7 @@ LIBS += -L$$(PWD)/../src -lgsettings-qt schema.target = gschemas.compiled schema.commands = glib-compile-schemas $$PWD -schema.depends = com.ubports.gsettings.test.gschema.xml +schema.depends = com.canonical.gsettings.test.gschema.xml QMAKE_EXTRA_TARGETS += schema PRE_TARGETDEPS = gschemas.compiled diff --git a/tests/tests.pro b/tests/tests.pro index 7c85662..2183584 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -9,7 +9,7 @@ SOURCES = test.cpp schema.target = gschemas.compiled schema.commands = glib-compile-schemas $$PWD -schema.depends = com.ubports.gsettings.test.gschema.xml +schema.depends = com.canonical.gsettings.test.gschema.xml QMAKE_EXTRA_TARGETS += schema PRE_TARGETDEPS = gschemas.compiled diff --git a/tests/tst_GSettings.qml b/tests/tst_GSettings.qml index b2b2f30..8cafde5 100644 --- a/tests/tst_GSettings.qml +++ b/tests/tst_GSettings.qml @@ -10,7 +10,7 @@ TestCase { GSettings { id: settings - schema.id: "com.ubports.gsettings.Test" + schema.id: "com.canonical.gsettings.Test" // has to be "valueChanged" signal, not "changed"; the latter doesn't work reliably with the in-memory gsettings backend onValueChanged: testCase.changes.push([key, value]); } @@ -24,7 +24,7 @@ TestCase { GSettings { id: invalid_settings - schema.id: "com.ubports.gsettings.NonExisting" + schema.id: "com.canonical.gsettings.NonExisting" } property string bindingTest: settings.testString