Skip to content

Commit

Permalink
legacy version branch test fixes
Browse files Browse the repository at this point in the history
- test fix needed for this version branch to pass on several Android versions
- cordova-sqlite-spec name in lower case in this version branch
- .gitignore test fixes in this version branch
  • Loading branch information
Christopher J. Brody committed Dec 10, 2017
1 parent a6d7442 commit 4544689
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
.metadata/*
*.swp
*~
spec/myplugin
spec/plugins
spec/platforms
2 changes: 1 addition & 1 deletion spec/config.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.phonegap.plugins.sqlite.tests" version="0.0.1"
xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Cordova-sqlite-spec</name>
<name>cordova-sqlite-spec</name>
<description>
Runs the unit tests suite for the Cordova SQLite plugin.
</description>
Expand Down
4 changes: 0 additions & 4 deletions spec/platforms/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions spec/plugins/.gitignore

This file was deleted.

2 changes: 2 additions & 0 deletions spec/www/spec/db-tx-value-bindings-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,13 @@ var mytests = function() {
// we would like to know, so the test is coded to fail if it starts
// working there.
if(isWebSql) {
/* SKIP IN THIS VERSION BRANCH:
ok(expected.indexOf(name) === -1, 'field value: ' +
JSON.stringify(name) + ' should not be in this until a bug is fixed ' +
JSON.stringify(expected));
equal(name.length, 0, 'length of field === 0');
// */
start();
return;
}
Expand Down

0 comments on commit 4544689

Please sign in to comment.