This is an automated email from the ASF dual-hosted git repository. brodybits pushed a commit to branch brodybits-uwp-only-wip0040 in repository https://gitbox.apache.org/repos/asf/cordova-windows.git
commit 4b7dbf9ad53cb86c8b0d922afba332eb8e063f15 Author: Christopher J. Brody <[email protected]> AuthorDate: Sun Dec 22 13:42:54 2019 -0500 remove end-to-end tests for Windows 8.1 --- spec/e2e/endtoend.spec.js | 97 ----------------------------------------------- 1 file changed, 97 deletions(-) diff --git a/spec/e2e/endtoend.spec.js b/spec/e2e/endtoend.spec.js index b33e013..fd07982 100644 --- a/spec/e2e/endtoend.spec.js +++ b/spec/e2e/endtoend.spec.js @@ -160,101 +160,4 @@ describe('Cordova create and build', function () { }); - describe('Windows 8.1', function () { - - beforeEach(function () { - if (process.env.APPVEYOR_BUILD_WORKER_IMAGE === 'Visual Studio 2017' && process.env.MSBUILDDIR !== 'C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\') { - pending('Windows 8.1 builds are not supported by Visual Studio 2017: https://docs.microsoft.com/en-us/visualstudio/productinfo/vs2017-compatibility-vs#windows-store-and-windows-phone-apps'); - /* - via https://issues.apache.org/jira/browse/CB-13874 - > Projects for Windows Store 8.1 and 8.0, and Windows Phone 8.1 and 8.0 are not supported in this release. - > To maintain these apps, continue to use Visual Studio 2015 - */ - } - }); - - it('spec.2d should build 8.1 win project', function () { - shell.exec(buildScriptPath + ' --appx=8.1-win', { silent: silent }); - _expectExist(/.*Windows.*\.appxupload/); - }); - - it('spec.2e should build 8.1 phone project', function () { - shell.exec(buildScriptPath + ' --appx=8.1-phone', { silent: silent }); - _expectExist(/.*Phone.*\.appxupload/); - }); - - it('spec.2f should build 8.1 win + phone project', function () { - shell.exec(buildScriptPath + ' --appx=8.1', { silent: silent }); - _expectExist(/.*Windows.*\.appxupload/); - _expectExist(/.*Phone.*\.appxupload/); - }); - - // --archs - - it('spec.3b should build project (8.1) for particular CPU', function () { - shell.exec(buildScriptPath + ' --appx=8.1 --archs=\"x64\"', { silent: silent }); /* eslint no-useless-escape : 0 */ - _expectExist(/.*Phone.*x64.*\.appxupload/); - _expectExist(/.*Windows.*x64.*\.appxupload/); - }); - - it('spec.3c should build project (8.1-win) for particular CPU', function () { - shell.exec(buildScriptPath + ' --appx=8.1-win --archs=\"x64\"', { silent: silent }); /* eslint no-useless-escape : 0 */ - _expectExist(/.*Windows.*x64.*\.appxupload/); - }); - - it('spec.3d should build project (8.1-phone) for particular CPU', function () { - shell.exec(buildScriptPath + ' --appx=8.1-phone --archs=\"x64\"', { silent: silent }); /* eslint no-useless-escape : 0 */ - _expectExist(/.*Phone.*x64.*\.appxupload/); - }); - - it('spec.4b should build project (8.1) for CPUs separated by whitespaces', function () { - shell.exec(buildScriptPath + ' --appx=8.1 --archs=\"x64 x86 arm anycpu\"', { silent: silent }); /* eslint no-useless-escape : 0 */ - _expectExist(/.*Phone.*x86.*\.appxupload/); - _expectExist(/.*Phone.*x64.*\.appxupload/); - _expectExist(/.*Phone.*arm.*\.appxupload/); - _expectExist(/.*Phone.*AnyCPU.*\.appxupload/i); - _expectExist(/.*Windows.*x64.*\.appxupload/); - _expectExist(/.*Windows.*x86.*\.appxupload/); - _expectExist(/.*Windows.*arm.*\.appxupload/); - _expectExist(/.*Windows.*anycpu.*\.appxupload/i); - }); - - // "InProcessServer extension" - - it('spec.5b should build project (8.1) containing plugin with InProcessServer extension', function () { - var extensionsPluginInfo, api; - - extensionsPluginInfo = new PluginInfo(extensionsPlugin); - api = new Api(); - api.root = path.join(buildDirectory, projectFolder); - api.locations.root = path.join(buildDirectory, projectFolder); - api.locations.www = path.join(buildDirectory, projectFolder, 'www'); - - return api.addPlugin(extensionsPluginInfo) - .then(function () { - shell.exec(buildScriptPath + ' --appx=8.1', { silent: silent }); - _expectExist(/.*Windows.*\.appxupload/); - _expectExist(/.*Phone.*\.appxupload/); - }); - }); - - // --release --bundle - - it('spec.6b should generate appxupload and appxbundle for Windows Phone 8.1 project bundle release build', function () { - shell.exec(buildScriptPath + ' --release --appx=8.1-phone --bundle --archs=\"x64 x86 arm\"', { silent: silent }); - _expectExist(/.*bundle\.appxupload$/, 3); - _expectSubdirAndFileExist('CordovaApp.Phone_1.0.0.0_Test', 'CordovaApp.Phone_1.0.0.0_x64_x86_arm.appxbundle'); - }); - - // --release (non-bundle) - - 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 --appx=8.1-phone --phone --archs=\"x86 arm\"', { silent: silent }); - _expectExist(/.*\.appxupload$/, 2); - _expectSubdirAndFileExist('CordovaApp.Phone_1.0.0.0_arm_Test', 'CordovaApp.Phone_1.0.0.0_arm.appx'); - _expectSubdirAndFileExist('CordovaApp.Phone_1.0.0.0_x86_Test', 'CordovaApp.Phone_1.0.0.0_x86.appx'); - }); - - }); - }); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
