增加晶全app静态页面
This commit is contained in:
14
node_modules/cordova-sqlite-storage/tests/plugin.xml
generated
vendored
Normal file
14
node_modules/cordova-sqlite-storage/tests/plugin.xml
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
id="io.liteglue.sqliteStorage.tests"
|
||||
version="0.0.1">
|
||||
|
||||
<name>Cordova sqlite storage tests</name>
|
||||
|
||||
<js-module src="tests.js" name="tests">
|
||||
</js-module>
|
||||
|
||||
</plugin>
|
||||
|
||||
<!-- vim: set expandtab : -->
|
28
node_modules/cordova-sqlite-storage/tests/tests.js
generated
vendored
Normal file
28
node_modules/cordova-sqlite-storage/tests/tests.js
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
/* 'use strict'; */
|
||||
|
||||
var MYTIMEOUT = 12000;
|
||||
|
||||
// initial test(s):
|
||||
exports.defineAutoTests = function() {
|
||||
|
||||
describe('INITIAL test(s)', function() {
|
||||
|
||||
describe('ECHO test(s)', function() {
|
||||
it('Initial echo test',
|
||||
function(done) {
|
||||
window.sqlitePlugin.echoTest(function() {
|
||||
// ok:
|
||||
expect(true).toBe(true);
|
||||
done();
|
||||
}, function(err) {
|
||||
// went wrong:
|
||||
expect(false).toBe(true);
|
||||
done();
|
||||
});
|
||||
}, MYTIMEOUT);
|
||||
});
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
/* vim: set expandtab : */
|
Reference in New Issue
Block a user