You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/12/06 00:40:53 UTC
[12/23] git commit: [CB-4472] Fix tests broken by previous commit.
[CB-4472] Fix tests broken by previous commit.
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/2a7bcaec
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/2a7bcaec
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/2a7bcaec
Branch: refs/heads/ubuntu
Commit: 2a7bcaeccf415f1ceaaed8f7c19f832add9e5d45
Parents: 933230a
Author: Andrew Grieve <ag...@chromium.org>
Authored: Mon Dec 2 15:56:50 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Dec 2 15:57:11 2013 -0500
----------------------------------------------------------------------
spec/config_parser.spec.js | 2 +-
spec/test-config.xml | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/2a7bcaec/spec/config_parser.spec.js
----------------------------------------------------------------------
diff --git a/spec/config_parser.spec.js b/spec/config_parser.spec.js
index d232cd8..4e3b5d4 100644
--- a/spec/config_parser.spec.js
+++ b/spec/config_parser.spec.js
@@ -21,7 +21,7 @@ var path = require('path'),
shell = require('shelljs'),
config_parser = require('../src/config_parser'),
et = require('elementtree'),
- xml = path.join(__dirname, '..', 'templates', 'config.xml'),
+ xml = path.join(__dirname, 'test-config.xml'),
util = require('../src/util'),
xml_contents = fs.readFileSync(xml, 'utf-8');
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/2a7bcaec/spec/test-config.xml
----------------------------------------------------------------------
diff --git a/spec/test-config.xml b/spec/test-config.xml
new file mode 100644
index 0000000..7e206d6
--- /dev/null
+++ b/spec/test-config.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns = "http://www.w3.org/ns/widgets"
+ xmlns:cdv = "http://cordova.apache.org/ns/1.0"
+ id = "io.cordova.hellocordova"
+ version = "0.0.1">
+ <name>Hello Cordova</name>
+
+ <description>
+ A sample Apache Cordova application that responds to the deviceready event.
+ </description>
+
+ <author href="http://cordova.io" email="dev@cordova.apache.org">
+ Apache Cordova Team
+ </author>
+
+ <content src="index.html" />
+
+ <access origin="*" />
+ <preference name="fullscreen" value="true" />
+ <preference name="webviewbounce" value="true" />
+</widget>