aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativesqldatabase/data/reopen2.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativesqldatabase/data/reopen2.js')
-rw-r--r--tests/auto/declarative/qdeclarativesqldatabase/data/reopen2.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/auto/declarative/qdeclarativesqldatabase/data/reopen2.js b/tests/auto/declarative/qdeclarativesqldatabase/data/reopen2.js
deleted file mode 100644
index 12c6135145..0000000000
--- a/tests/auto/declarative/qdeclarativesqldatabase/data/reopen2.js
+++ /dev/null
@@ -1,18 +0,0 @@
-.import QtQuick.LocalStorage 2.0 as Sql
-
-function test() {
- var r="transaction_not_finished";
- var db = Sql.openDatabaseSync("QmlTestDB-reopen", "1.0", "Test database from Qt autotests", 1000000);
-
- db.transaction(
- function(tx) {
- var rs = tx.executeSql('SELECT * FROM Greeting');
- if (rs.rows.item(0).salutation == 'hello')
- r = "passed";
- else
- r = "FAILED";
- }
- );
-
- return r;
-}