This is an automated email from the ASF dual-hosted git repository. janpio pushed a commit to branch janpio-CB-13829 in repository https://gitbox.apache.org/repos/asf/cordova-windows.git
commit aabbf01bf7d5c9b5f5e15806273a7016ed5fda19 Author: Jan Piotrowski <piotrow...@gmail.com> AuthorDate: Thu Jan 25 16:14:29 2018 +0100 document/structure current state of tests (although some are still failing) --- spec/e2e/endtoend.spec.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/spec/e2e/endtoend.spec.js b/spec/e2e/endtoend.spec.js index 4facaca..1f803a1 100644 --- a/spec/e2e/endtoend.spec.js +++ b/spec/e2e/endtoend.spec.js @@ -55,6 +55,8 @@ describe('Cordova create and build', function () { expect(fs.existsSync(projectFolder)).toBe(true); }); + // default build + it('spec.2a should build default (win10) project', function () { shell.exec(buildScriptPath + '', {silent: silent}); var packages = shell.ls(appPackagesFolder); @@ -63,6 +65,8 @@ describe('Cordova create and build', function () { verifySubDirContainsFile(subDir, 'CordovaApp.Windows10_1.0.0.0_anycpu_debug.appx'); }); + // --appx 8.1 + it('spec.2b should build 8.1 win project', function () { shell.exec(buildScriptPath + ' --appx=8.1-win', {silent: silent}); var packages = shell.ls(appPackagesFolder); @@ -75,6 +79,8 @@ describe('Cordova create and build', function () { expect(packages.filter(function (file) { return file.match(/.*Phone.*\.appxupload*/); }).length).toBe(1); }); + // --archs + it('spec.3 should build project for particular CPU', function () { shell.exec(buildScriptPath + ' --archs=\"x64\"', {silent: silent}); /* eslint no-useless-escape : 0 */ var packages = shell.ls(appPackagesFolder); @@ -95,6 +101,8 @@ describe('Cordova create and build', function () { expect(packages.filter(function (file) { return file.match(/.*Windows.*anycpu.*\.appx.*/i); }).length).toBe(1); }); + // "InProcessServer extension" + it('spec.5 should build project containing plugin with InProcessServer extension', function (done) { var extensionsPluginInfo, api; @@ -123,6 +131,8 @@ describe('Cordova create and build', function () { }); }); + // --release 8.1 + it('spec.6 should generate appxupload and appxbundle for Windows 8.1 project bundle release build', function () { shell.exec(buildScriptPath + ' --release --win --bundle --archs=\"x64 x86 arm\"', {silent: silent}); var packages = shell.ls(appPackagesFolder); @@ -140,6 +150,8 @@ describe('Cordova create and build', function () { expect(packages.filter(function (file) { return file.match(/.*\.appxupload$/); }).length).toBe(3); }); + // --release 10 + it('spec.7 should generate appxupload and appxbundle for Windows 10 project bundle release build', function () { shell.exec(buildScriptPath + ' --release --win --appx=uap --bundle --archs=\"x64 x86 arm\"', {silent: silent}); var packages = shell.ls(appPackagesFolder); @@ -172,6 +184,8 @@ describe('Cordova create and build', function () { verifySubDirContainsFile(x86SubDir, 'CordovaApp.Windows10_1.0.0.0_x86.appx'); }); + // --release 8.1 + it('spec.8 for a non-bundle case for Windows Phone 8.1 it should build appx in separate dirs for each architecture', function () { shell.exec(buildScriptPath + ' --release --phone --archs=\"x86 arm\"', {silent: silent}); var packages = shell.ls(appPackagesFolder); -- To stop receiving notification emails like this one, please contact jan...@apache.org. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org