summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjkobus <jaroslaw.kobus@theqtcompany.com>2014-12-01 12:15:57 +0100
committerJarek Kobus <jaroslaw.kobus@theqtcompany.com>2014-12-03 16:04:23 +0100
commit79964b1ee5217f49654498c5e6445dd0477d5589 (patch)
tree0fc212993c2a0538789632898d7636bb28e524b7 /tests
parentb8ac163c422b3d8f12d91b92f126a631449a2232 (diff)
Remove unused code.
Dead since commit 5359d0a3e8d84699701e73d3d15163fb20200bb0 Change-Id: I40af485876d70a6a68406eafe14258b185e16323 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/installer/scriptengine/data/component1.qs6
-rw-r--r--tests/auto/installer/scriptengine/tst_scriptengine.cpp5
2 files changed, 0 insertions, 11 deletions
diff --git a/tests/auto/installer/scriptengine/data/component1.qs b/tests/auto/installer/scriptengine/data/component1.qs
index af81f5747..60f51bb02 100644
--- a/tests/auto/installer/scriptengine/data/component1.qs
+++ b/tests/auto/installer/scriptengine/data/component1.qs
@@ -35,12 +35,6 @@ Component.prototype.createOperations = function()
component.createOperations();
}
-Component.prototype.isAutoDependOn = function()
-{
- print("isAutoDependOn - OK");
- return false;
-}
-
Component.prototype.isDefault = function()
{
print("isDefault - OK");
diff --git a/tests/auto/installer/scriptengine/tst_scriptengine.cpp b/tests/auto/installer/scriptengine/tst_scriptengine.cpp
index d7b7aa4d0..de5b32076 100644
--- a/tests/auto/installer/scriptengine/tst_scriptengine.cpp
+++ b/tests/auto/installer/scriptengine/tst_scriptengine.cpp
@@ -114,7 +114,6 @@ private slots:
// (it calls clearAllComponentLists which calls qDeleteAll(m_rootComponents);)
m_core.appendRootComponent(m_component);
- m_component->setValue("AutoDependOn", "Script");
m_component->setValue("Default", "Script");
m_component->setValue(scName, "component.test.name");
@@ -256,10 +255,6 @@ private slots:
setExpectedScriptOutput("\"createOperations - OK\"");
m_component->createOperations();
- setExpectedScriptOutput("\"isAutoDependOn - OK\"");
- bool returnIsAutoDependOn = m_component->isAutoDependOn(QSet<QString>());
- QCOMPARE(returnIsAutoDependOn, false);
-
setExpectedScriptOutput("\"isDefault - OK\"");
bool returnIsDefault = m_component->isDefault();
QCOMPARE(returnIsDefault, false);