Fixed old test, axed submodules, SCREW submodules.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/e3042ba1 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/e3042ba1 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/e3042ba1 Branch: refs/heads/master Commit: e3042ba1efa36175603ad71a28dd3f1b14b46532 Parents: 3b3c898 Author: Fil Maj <[email protected]> Authored: Wed Apr 17 16:53:38 2013 -0700 Committer: Fil Maj <[email protected]> Committed: Wed Apr 17 16:53:38 2013 -0700 ---------------------------------------------------------------------- .gitmodules | 3 --- test/ios-config-xml-uninstall.js | 8 ++++---- 2 files changed, 4 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/e3042ba1/.gitmodules ---------------------------------------------------------------------- diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index effb80f..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "test/plugins/PGSQLitePlugin"] - path = test/plugins/PGSQLitePlugin - url = [email protected]:ApplicationCraft/PGSQLitePlugin.git http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/e3042ba1/test/ios-config-xml-uninstall.js ---------------------------------------------------------------------- diff --git a/test/ios-config-xml-uninstall.js b/test/ios-config-xml-uninstall.js index a2b5885..40187fd 100644 --- a/test/ios-config-xml-uninstall.js +++ b/test/ios-config-xml-uninstall.js @@ -125,8 +125,8 @@ exports['should remove the bundle'] = function (test) { exports['should edit config.xml even when using old <plugins-plist> approach'] = function (test) { // setting up PGSQLitePlugin (with config.xml) - var dummy_plugin_dir = path.join(test_dir, 'plugins', 'PGSQLitePlugin') - var dummy_xml_path = path.join(dummy_plugin_dir, 'plugin.xml') + var dummy_plugin_dir = path.join(test_dir, 'plugins', 'ChildBrowser') + var dummy_xml_path = path.join(dummy_plugin_dir, 'plugin-old.xml') // overriding some params var project_dir = path.join(test_dir, 'projects', 'ios-config-xml') @@ -140,8 +140,8 @@ exports['should edit config.xml even when using old <plugins-plist> approach'] = var configXmlPath = path.join(project_dir, 'SampleApp', 'config.xml'); var pluginsTxt = fs.readFileSync(configXmlPath, 'utf-8'), pluginsDoc = new et.ElementTree(et.XML(pluginsTxt)), - expected = 'plugins/plugin[@name="PGSQLitePlugin"]' + - '[@value="PGSQLitePlugin"]'; + expected = 'plugins/plugin[@name="com.phonegap.plugins.childbrowser"]' + + '[@value="ChildBrowserCommand"]'; test.ok(!pluginsDoc.find(expected)); test.equal(pluginsDoc.findall("access").length, 1, "/access");
