diff --git a/AutomateThePlanet.licenseheader b/AutomateThePlanet.licenseheader index 5c8207e..3165092 100644 --- a/AutomateThePlanet.licenseheader +++ b/AutomateThePlanet.licenseheader @@ -12,7 +12,7 @@ extensions: .cs .cpp .h // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ extensions: .xml .config .xsd + + + + + + diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/nunit_xml_reporter.html b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/nunit_xml_reporter.html new file mode 100644 index 0000000..bdbc0c5 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/nunit_xml_reporter.html @@ -0,0 +1,67 @@ + + + + + NUnit XML Reporter Spec + + + + + + + + + + + + + + + + diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/tap_reporter.html b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/tap_reporter.html new file mode 100644 index 0000000..63eb14d --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/tap_reporter.html @@ -0,0 +1,64 @@ + + + + + TAP Reporter Spec + + + + + + + + + + + + + diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/teamcity_reporter.html b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/teamcity_reporter.html new file mode 100644 index 0000000..380a21e --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/teamcity_reporter.html @@ -0,0 +1,64 @@ + + + + + TeamCity Reporter Spec + + + + + + + + + + + + + diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/terminal_reporter.html b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/terminal_reporter.html new file mode 100644 index 0000000..1030435 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/jasmine-reporters/test/terminal_reporter.html @@ -0,0 +1,67 @@ + + + + + Terminal Reporter Spec + + + + + + + + + + + + + diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/.npmignore b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/.npmignore new file mode 100644 index 0000000..9303c34 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/.npmignore @@ -0,0 +1,2 @@ +node_modules/ +npm-debug.log \ No newline at end of file diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/.travis.yml b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/.travis.yml new file mode 100644 index 0000000..84fd7ca --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/.travis.yml @@ -0,0 +1,5 @@ +language: node_js +node_js: + - 0.6 + - 0.8 + - 0.9 diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/LICENSE b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/LICENSE new file mode 100644 index 0000000..432d1ae --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/LICENSE @@ -0,0 +1,21 @@ +Copyright 2010 James Halliday (mail@substack.net) + +This project is free software released under the MIT/X11 license: + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/examples/pow.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/examples/pow.js new file mode 100644 index 0000000..e692421 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/examples/pow.js @@ -0,0 +1,6 @@ +var mkdirp = require('mkdirp'); + +mkdirp('/tmp/foo/bar/baz', function (err) { + if (err) console.error(err) + else console.log('pow!') +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/index.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/index.js new file mode 100644 index 0000000..fda6de8 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/index.js @@ -0,0 +1,82 @@ +var path = require('path'); +var fs = require('fs'); + +module.exports = mkdirP.mkdirp = mkdirP.mkdirP = mkdirP; + +function mkdirP (p, mode, f, made) { + if (typeof mode === 'function' || mode === undefined) { + f = mode; + mode = 0777 & (~process.umask()); + } + if (!made) made = null; + + var cb = f || function () {}; + if (typeof mode === 'string') mode = parseInt(mode, 8); + p = path.resolve(p); + + fs.mkdir(p, mode, function (er) { + if (!er) { + made = made || p; + return cb(null, made); + } + switch (er.code) { + case 'ENOENT': + mkdirP(path.dirname(p), mode, function (er, made) { + if (er) cb(er, made); + else mkdirP(p, mode, cb, made); + }); + break; + + // In the case of any other error, just see if there's a dir + // there already. If so, then hooray! If not, then something + // is borked. + default: + fs.stat(p, function (er2, stat) { + // if the stat fails, then that's super weird. + // let the original error be the failure reason. + if (er2 || !stat.isDirectory()) cb(er, made) + else cb(null, made); + }); + break; + } + }); +} + +mkdirP.sync = function sync (p, mode, made) { + if (mode === undefined) { + mode = 0777 & (~process.umask()); + } + if (!made) made = null; + + if (typeof mode === 'string') mode = parseInt(mode, 8); + p = path.resolve(p); + + try { + fs.mkdirSync(p, mode); + made = made || p; + } + catch (err0) { + switch (err0.code) { + case 'ENOENT' : + made = sync(path.dirname(p), mode, made); + sync(p, mode, made); + break; + + // In the case of any other error, just see if there's a dir + // there already. If so, then hooray! If not, then something + // is borked. + default: + var stat; + try { + stat = fs.statSync(p); + } + catch (err1) { + throw err0; + } + if (!stat.isDirectory()) throw err0; + break; + } + } + + return made; +}; diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/package.json b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/package.json new file mode 100644 index 0000000..f2da758 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/package.json @@ -0,0 +1,55 @@ +{ + "_from": "mkdirp@~0.3.5", + "_id": "mkdirp@0.3.5", + "_inBundle": false, + "_integrity": "sha1-3j5fiWHIjHh+4TaN+EmsRBPsqNc=", + "_location": "/mkdirp", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "mkdirp@~0.3.5", + "name": "mkdirp", + "escapedName": "mkdirp", + "rawSpec": "~0.3.5", + "saveSpec": null, + "fetchSpec": "~0.3.5" + }, + "_requiredBy": [ + "/jasmine-reporters" + ], + "_resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz", + "_shasum": "de3e5f8961c88c787ee1368df849ac4413eca8d7", + "_spec": "mkdirp@~0.3.5", + "_where": "D:\\protractorResults\\node_modules\\jasmine-reporters", + "author": { + "name": "James Halliday", + "email": "mail@substack.net", + "url": "http://substack.net" + }, + "bugs": { + "url": "https://github.com/substack/node-mkdirp/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Recursively mkdir, like `mkdir -p`", + "devDependencies": { + "tap": "~0.4.0" + }, + "homepage": "https://github.com/substack/node-mkdirp#readme", + "keywords": [ + "mkdir", + "directory" + ], + "license": "MIT", + "main": "./index", + "name": "mkdirp", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/substack/node-mkdirp.git" + }, + "scripts": { + "test": "tap test/*.js" + }, + "version": "0.3.5" +} diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/readme.markdown b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/readme.markdown new file mode 100644 index 0000000..83b0216 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/readme.markdown @@ -0,0 +1,63 @@ +# mkdirp + +Like `mkdir -p`, but in node.js! + +[![build status](https://secure.travis-ci.org/substack/node-mkdirp.png)](http://travis-ci.org/substack/node-mkdirp) + +# example + +## pow.js + +```js +var mkdirp = require('mkdirp'); + +mkdirp('/tmp/foo/bar/baz', function (err) { + if (err) console.error(err) + else console.log('pow!') +}); +``` + +Output + +``` +pow! +``` + +And now /tmp/foo/bar/baz exists, huzzah! + +# methods + +```js +var mkdirp = require('mkdirp'); +``` + +## mkdirp(dir, mode, cb) + +Create a new directory and any necessary subdirectories at `dir` with octal +permission string `mode`. + +If `mode` isn't specified, it defaults to `0777 & (~process.umask())`. + +`cb(err, made)` fires with the error or the first directory `made` +that had to be created, if any. + +## mkdirp.sync(dir, mode) + +Synchronously create a new directory and any necessary subdirectories at `dir` +with octal permission string `mode`. + +If `mode` isn't specified, it defaults to `0777 & (~process.umask())`. + +Returns the first directory that had to be created, if any. + +# install + +With [npm](http://npmjs.org) do: + +``` +npm install mkdirp +``` + +# license + +MIT diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/chmod.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/chmod.js new file mode 100644 index 0000000..520dcb8 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/chmod.js @@ -0,0 +1,38 @@ +var mkdirp = require('../').mkdirp; +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +var ps = [ '', 'tmp' ]; + +for (var i = 0; i < 25; i++) { + var dir = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + ps.push(dir); +} + +var file = ps.join('/'); + +test('chmod-pre', function (t) { + var mode = 0744 + mkdirp(file, mode, function (er) { + t.ifError(er, 'should not error'); + fs.stat(file, function (er, stat) { + t.ifError(er, 'should exist'); + t.ok(stat && stat.isDirectory(), 'should be directory'); + t.equal(stat && stat.mode & 0777, mode, 'should be 0744'); + t.end(); + }); + }); +}); + +test('chmod', function (t) { + var mode = 0755 + mkdirp(file, mode, function (er) { + t.ifError(er, 'should not error'); + fs.stat(file, function (er, stat) { + t.ifError(er, 'should exist'); + t.ok(stat && stat.isDirectory(), 'should be directory'); + t.end(); + }); + }); +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/clobber.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/clobber.js new file mode 100644 index 0000000..0eb7099 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/clobber.js @@ -0,0 +1,37 @@ +var mkdirp = require('../').mkdirp; +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +var ps = [ '', 'tmp' ]; + +for (var i = 0; i < 25; i++) { + var dir = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + ps.push(dir); +} + +var file = ps.join('/'); + +// a file in the way +var itw = ps.slice(0, 3).join('/'); + + +test('clobber-pre', function (t) { + console.error("about to write to "+itw) + fs.writeFileSync(itw, 'I AM IN THE WAY, THE TRUTH, AND THE LIGHT.'); + + fs.stat(itw, function (er, stat) { + t.ifError(er) + t.ok(stat && stat.isFile(), 'should be file') + t.end() + }) +}) + +test('clobber', function (t) { + t.plan(2); + mkdirp(file, 0755, function (err) { + t.ok(err); + t.equal(err.code, 'ENOTDIR'); + t.end(); + }); +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/mkdirp.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/mkdirp.js new file mode 100644 index 0000000..b07cd70 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/mkdirp.js @@ -0,0 +1,28 @@ +var mkdirp = require('../'); +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +test('woo', function (t) { + t.plan(2); + var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + + var file = '/tmp/' + [x,y,z].join('/'); + + mkdirp(file, 0755, function (err) { + if (err) t.fail(err); + else path.exists(file, function (ex) { + if (!ex) t.fail('file not created') + else fs.stat(file, function (err, stat) { + if (err) t.fail(err) + else { + t.equal(stat.mode & 0777, 0755); + t.ok(stat.isDirectory(), 'target not a directory'); + t.end(); + } + }) + }) + }); +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/perm.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/perm.js new file mode 100644 index 0000000..23a7abb --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/perm.js @@ -0,0 +1,32 @@ +var mkdirp = require('../'); +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +test('async perm', function (t) { + t.plan(2); + var file = '/tmp/' + (Math.random() * (1<<30)).toString(16); + + mkdirp(file, 0755, function (err) { + if (err) t.fail(err); + else path.exists(file, function (ex) { + if (!ex) t.fail('file not created') + else fs.stat(file, function (err, stat) { + if (err) t.fail(err) + else { + t.equal(stat.mode & 0777, 0755); + t.ok(stat.isDirectory(), 'target not a directory'); + t.end(); + } + }) + }) + }); +}); + +test('async root perm', function (t) { + mkdirp('/tmp', 0755, function (err) { + if (err) t.fail(err); + t.end(); + }); + t.end(); +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/perm_sync.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/perm_sync.js new file mode 100644 index 0000000..f685f60 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/perm_sync.js @@ -0,0 +1,39 @@ +var mkdirp = require('../'); +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +test('sync perm', function (t) { + t.plan(2); + var file = '/tmp/' + (Math.random() * (1<<30)).toString(16) + '.json'; + + mkdirp.sync(file, 0755); + path.exists(file, function (ex) { + if (!ex) t.fail('file not created') + else fs.stat(file, function (err, stat) { + if (err) t.fail(err) + else { + t.equal(stat.mode & 0777, 0755); + t.ok(stat.isDirectory(), 'target not a directory'); + t.end(); + } + }) + }); +}); + +test('sync root perm', function (t) { + t.plan(1); + + var file = '/tmp'; + mkdirp.sync(file, 0755); + path.exists(file, function (ex) { + if (!ex) t.fail('file not created') + else fs.stat(file, function (err, stat) { + if (err) t.fail(err) + else { + t.ok(stat.isDirectory(), 'target not a directory'); + t.end(); + } + }) + }); +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/race.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/race.js new file mode 100644 index 0000000..96a0447 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/race.js @@ -0,0 +1,41 @@ +var mkdirp = require('../').mkdirp; +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +test('race', function (t) { + t.plan(4); + var ps = [ '', 'tmp' ]; + + for (var i = 0; i < 25; i++) { + var dir = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + ps.push(dir); + } + var file = ps.join('/'); + + var res = 2; + mk(file, function () { + if (--res === 0) t.end(); + }); + + mk(file, function () { + if (--res === 0) t.end(); + }); + + function mk (file, cb) { + mkdirp(file, 0755, function (err) { + if (err) t.fail(err); + else path.exists(file, function (ex) { + if (!ex) t.fail('file not created') + else fs.stat(file, function (err, stat) { + if (err) t.fail(err) + else { + t.equal(stat.mode & 0777, 0755); + t.ok(stat.isDirectory(), 'target not a directory'); + if (cb) cb(); + } + }) + }) + }); + } +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/rel.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/rel.js new file mode 100644 index 0000000..7985824 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/rel.js @@ -0,0 +1,32 @@ +var mkdirp = require('../'); +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +test('rel', function (t) { + t.plan(2); + var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + + var cwd = process.cwd(); + process.chdir('/tmp'); + + var file = [x,y,z].join('/'); + + mkdirp(file, 0755, function (err) { + if (err) t.fail(err); + else path.exists(file, function (ex) { + if (!ex) t.fail('file not created') + else fs.stat(file, function (err, stat) { + if (err) t.fail(err) + else { + process.chdir(cwd); + t.equal(stat.mode & 0777, 0755); + t.ok(stat.isDirectory(), 'target not a directory'); + t.end(); + } + }) + }) + }); +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/return.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/return.js new file mode 100644 index 0000000..bce68e5 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/return.js @@ -0,0 +1,25 @@ +var mkdirp = require('../'); +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +test('return value', function (t) { + t.plan(4); + var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + + var file = '/tmp/' + [x,y,z].join('/'); + + // should return the first dir created. + // By this point, it would be profoundly surprising if /tmp didn't + // already exist, since every other test makes things in there. + mkdirp(file, function (err, made) { + t.ifError(err); + t.equal(made, '/tmp/' + x); + mkdirp(file, function (err, made) { + t.ifError(err); + t.equal(made, null); + }); + }); +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/return_sync.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/return_sync.js new file mode 100644 index 0000000..7c222d3 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/return_sync.js @@ -0,0 +1,24 @@ +var mkdirp = require('../'); +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +test('return value', function (t) { + t.plan(2); + var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + + var file = '/tmp/' + [x,y,z].join('/'); + + // should return the first dir created. + // By this point, it would be profoundly surprising if /tmp didn't + // already exist, since every other test makes things in there. + // Note that this will throw on failure, which will fail the test. + var made = mkdirp.sync(file); + t.equal(made, '/tmp/' + x); + + // making the same file again should have no effect. + made = mkdirp.sync(file); + t.equal(made, null); +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/root.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/root.js new file mode 100644 index 0000000..97ad7a2 --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/root.js @@ -0,0 +1,18 @@ +var mkdirp = require('../'); +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +test('root', function (t) { + // '/' on unix, 'c:/' on windows. + var file = path.resolve('/'); + + mkdirp(file, 0755, function (err) { + if (err) throw err + fs.stat(file, function (er, stat) { + if (er) throw er + t.ok(stat.isDirectory(), 'target is a directory'); + t.end(); + }) + }); +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/sync.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/sync.js new file mode 100644 index 0000000..7530cad --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/sync.js @@ -0,0 +1,32 @@ +var mkdirp = require('../'); +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +test('sync', function (t) { + t.plan(2); + var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + + var file = '/tmp/' + [x,y,z].join('/'); + + try { + mkdirp.sync(file, 0755); + } catch (err) { + t.fail(err); + return t.end(); + } + + path.exists(file, function (ex) { + if (!ex) t.fail('file not created') + else fs.stat(file, function (err, stat) { + if (err) t.fail(err) + else { + t.equal(stat.mode & 0777, 0755); + t.ok(stat.isDirectory(), 'target not a directory'); + t.end(); + } + }); + }); +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/umask.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/umask.js new file mode 100644 index 0000000..64ccafe --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/umask.js @@ -0,0 +1,28 @@ +var mkdirp = require('../'); +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +test('implicit mode from umask', function (t) { + t.plan(2); + var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + + var file = '/tmp/' + [x,y,z].join('/'); + + mkdirp(file, function (err) { + if (err) t.fail(err); + else path.exists(file, function (ex) { + if (!ex) t.fail('file not created') + else fs.stat(file, function (err, stat) { + if (err) t.fail(err) + else { + t.equal(stat.mode & 0777, 0777 & (~process.umask())); + t.ok(stat.isDirectory(), 'target not a directory'); + t.end(); + } + }) + }) + }); +}); diff --git a/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/umask_sync.js b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/umask_sync.js new file mode 100644 index 0000000..35bd5cb --- /dev/null +++ b/Meissa.Plugins.Protractor/node_modules_jasmin_reporters/mkdirp/test/umask_sync.js @@ -0,0 +1,32 @@ +var mkdirp = require('../'); +var path = require('path'); +var fs = require('fs'); +var test = require('tap').test; + +test('umask sync modes', function (t) { + t.plan(2); + var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16); + + var file = '/tmp/' + [x,y,z].join('/'); + + try { + mkdirp.sync(file); + } catch (err) { + t.fail(err); + return t.end(); + } + + path.exists(file, function (ex) { + if (!ex) t.fail('file not created') + else fs.stat(file, function (err, stat) { + if (err) t.fail(err) + else { + t.equal(stat.mode & 0777, (0777 & (~process.umask()))); + t.ok(stat.isDirectory(), 'target not a directory'); + t.end(); + } + }); + }); +}); diff --git a/Meissa.Plugins/Services/DisposeDriverService .cs b/Meissa.Plugins/Services/DisposeDriverService .cs index 1e0a289..1c4e17a 100644 --- a/Meissa.Plugins/Services/DisposeDriverService .cs +++ b/Meissa.Plugins/Services/DisposeDriverService .cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/Meissa.Plugins/TestAgentPluginService.cs b/Meissa.Plugins/TestAgentPluginService.cs index 478079b..4d2e36b 100644 --- a/Meissa.Plugins/TestAgentPluginService.cs +++ b/Meissa.Plugins/TestAgentPluginService.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System; using System.Composition; using Meissa.Plugins.Contracts; diff --git a/Meissa.Plugins/TestRunnerPluginService.cs b/Meissa.Plugins/TestRunnerPluginService.cs index 23226dc..62bf920 100644 --- a/Meissa.Plugins/TestRunnerPluginService.cs +++ b/Meissa.Plugins/TestRunnerPluginService.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System; using System.Composition; using Meissa.Plugins.Contracts; diff --git a/Meissa.Spikes/Meissa.Spikes.csproj b/Meissa.Spikes/Meissa.Spikes.csproj new file mode 100644 index 0000000..380d991 --- /dev/null +++ b/Meissa.Spikes/Meissa.Spikes.csproj @@ -0,0 +1,24 @@ + + + + Exe + netcoreapp2.1 + + + + + + + + + Always + + + Always + + + Always + + + + diff --git a/Meissa.Spikes/Program.cs b/Meissa.Spikes/Program.cs new file mode 100644 index 0000000..ecea804 --- /dev/null +++ b/Meissa.Spikes/Program.cs @@ -0,0 +1,74 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text.RegularExpressions; +using Meissa.Plugins.Protractor; + +namespace Meissa.Spikes +{ + class Program + { + static void Main(string[] args) + { + var nativeTestsRunnerTestCasesPluginService = new NativeTestsRunnerTestCasesPluginService(); + + var testCases = nativeTestsRunnerTestCasesPluginService.ExtractAllTestCasesFromTestLibrary(@"D:\protractor-tests\conf.js"); + + ////foreach (var testCase in testCases) + ////{ + //// Console.WriteLine(testCase.FullName); + ////} + + var nativeTestsRunnerPluginService = new NativeTestsRunnerPluginService(); + ////string fileContent = File.ReadAllText(@"D:\protractor-tests\testresults\nunitresults.xml"); + ////var ccc = nativeTestsRunnerPluginService.DeserializeTestResults(fileContent); + ////Console.WriteLine(ccc.ToString()); + var resultsFilePath = Path.GetTempFileName(); + string args1 = nativeTestsRunnerPluginService.BuildNativeRunnerArguments( + "conf.js", + @"D:\protractor-tests\conf.js", + testCases, + resultsFilePath, + "D:\\protractor-tests", + string.Empty); + + ////Console.WriteLine(args1); + ////Console.WriteLine(nativeTestsRunnerPluginService.RunnerFile); + + ////string fileContent = File.ReadAllText(@"D:\protractor-tests\example_spec.js"); + + ////Regex regexPattern = new Regex(@"(?'before'.*)(?'itBegin'it\(')(?'itName'.*)(?'thirdPart'(',).*)"); + + ////var list = Regex.Matches(fileContent, @"(?'before'.*)(?'itBegin'it\(')(?'itName'.*)(?'thirdPart'(',).*)", RegexOptions.IgnoreCase).Where(m => m.Groups.Count > 2 && !string.IsNullOrEmpty(m.Groups[2])).Select(match => match.Groups[2]); + ////foreach (Match match in Regex.Matches(fileContent, @"it\('(?'itName'.*)(',).*", RegexOptions.IgnoreCase)) + ////{ + + //// Console.WriteLine(match.Groups[2]); + ////} + + ////var specFiles = Directory.GetFiles(new FileInfo("D:\\protractor-tests\\").Directory.FullName, "*.js", SearchOption.TopDirectoryOnly); + + ////foreach (var specFile in specFiles) + ////{ + //// string fileContent = File.ReadAllText(specFile); + //// List itNames = Regex.Matches(fileContent, @"(?'before'.*)(?'itBegin'it\(')(?'itName'.*)(?'thirdPart'(',).*)", RegexOptions.IgnoreCase) + //// .Cast() + //// .Where(m => m.Groups.Count > 5 && !string.IsNullOrEmpty(m.Groups[4].Value)) + //// .Select(match => match.Groups[4].Value) + //// .ToList(); + //// foreach (var itName in itNames) + //// { + //// Console.WriteLine(itName); + //// } + ////} + + ////Console.WriteLine(); + + ////List testCasesToBeFiltered = new List() { "should list todos", "should add a todo" }; + ////Regex regex = new Regex(@"(?'before'.*)(?'itBegin'it\(')(?'itName'.*)(?'thirdPart'(',).*)"); + ////string replace = fileContent.Replace(regex, "itBegin", "f", testCasesToBeFiltered); + ////Console.WriteLine(replace); + } + } +} diff --git a/Meissa.Spikes/RegexExtensions.cs b/Meissa.Spikes/RegexExtensions.cs new file mode 100644 index 0000000..16c5027 --- /dev/null +++ b/Meissa.Spikes/RegexExtensions.cs @@ -0,0 +1,25 @@ +using System.Collections.Generic; +using System.Text.RegularExpressions; + +namespace Meissa.Spikes +{ + public static class RegexExtensions + { + public static string Replace(this string input, Regex regex, string groupName, string replacement, List testNamesToBeChanged) + { + return regex.Replace(input, m => ReplaceNamedGroup(input, groupName, replacement, m, testNamesToBeChanged)); + } + + private static string ReplaceNamedGroup(string input, string groupName, string replacement, Match m, List testNamesToBeChanged) + { + string capture = m.Value; + if (!string.IsNullOrEmpty(m.Groups["itName"]?.Value) && testNamesToBeChanged.Contains(m.Groups["itName"]?.Value)) + { + capture = capture.Remove(m.Groups[groupName].Index - m.Index, m.Groups[groupName].Length); + capture = capture.Insert(m.Groups[groupName].Index - m.Index, replacement + m.Groups[groupName]); + } + + return capture; + } + } +} diff --git a/Meissa.Spikes/meissaSettings.Debug.json b/Meissa.Spikes/meissaSettings.Debug.json new file mode 100644 index 0000000..1435028 --- /dev/null +++ b/Meissa.Spikes/meissaSettings.Debug.json @@ -0,0 +1,30 @@ +{ + "logging": { + "isEnabled": "true", + "isConsoleLoggingEnabled": "false", + "isDebugLoggingEnabled": "false", + "isEventLoggingEnabled": "false", + "isFileLoggingEnabled": "true", + "includeScopes": true, + "fileLogging": { + "LogLevel": { + "Default": "Information" + }, + "pathFormat": "Logs/log-{{Date}}.txt", + "json": "false", + "fileSizeLimitBytes": "100000", + "retainedFileCountLimit": 10 + }, + "Debug": { + "LogLevel": { + "Default": "Information" + } + }, + "Console": { + "LogLevel": { + "Microsoft.AspNetCore.Mvc.Razor.Internal": "Warning", + "Default": "Information" + } + } + } +} \ No newline at end of file diff --git a/Meissa.Spikes/meissaSettings.Release.json b/Meissa.Spikes/meissaSettings.Release.json new file mode 100644 index 0000000..1435028 --- /dev/null +++ b/Meissa.Spikes/meissaSettings.Release.json @@ -0,0 +1,30 @@ +{ + "logging": { + "isEnabled": "true", + "isConsoleLoggingEnabled": "false", + "isDebugLoggingEnabled": "false", + "isEventLoggingEnabled": "false", + "isFileLoggingEnabled": "true", + "includeScopes": true, + "fileLogging": { + "LogLevel": { + "Default": "Information" + }, + "pathFormat": "Logs/log-{{Date}}.txt", + "json": "false", + "fileSizeLimitBytes": "100000", + "retainedFileCountLimit": 10 + }, + "Debug": { + "LogLevel": { + "Default": "Information" + } + }, + "Console": { + "LogLevel": { + "Microsoft.AspNetCore.Mvc.Razor.Internal": "Warning", + "Default": "Information" + } + } + } +} \ No newline at end of file diff --git a/Meissa.Spikes/meissaSettings.json b/Meissa.Spikes/meissaSettings.json new file mode 100644 index 0000000..1435028 --- /dev/null +++ b/Meissa.Spikes/meissaSettings.json @@ -0,0 +1,30 @@ +{ + "logging": { + "isEnabled": "true", + "isConsoleLoggingEnabled": "false", + "isDebugLoggingEnabled": "false", + "isEventLoggingEnabled": "false", + "isFileLoggingEnabled": "true", + "includeScopes": true, + "fileLogging": { + "LogLevel": { + "Default": "Information" + }, + "pathFormat": "Logs/log-{{Date}}.txt", + "json": "false", + "fileSizeLimitBytes": "100000", + "retainedFileCountLimit": 10 + }, + "Debug": { + "LogLevel": { + "Default": "Information" + } + }, + "Console": { + "LogLevel": { + "Microsoft.AspNetCore.Mvc.Razor.Internal": "Warning", + "Default": "Information" + } + } + } +} \ No newline at end of file diff --git a/Meissa.Tests.Factories/FixtureFactory.cs b/Meissa.Tests.Factories/FixtureFactory.cs index 6ab8aed..827869f 100644 --- a/Meissa.Tests.Factories/FixtureFactory.cs +++ b/Meissa.Tests.Factories/FixtureFactory.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System.Linq; using AutoFixture; diff --git a/Meissa.Tests.Factories/LogFactory.cs b/Meissa.Tests.Factories/LogFactory.cs index 505e670..c13723f 100644 --- a/Meissa.Tests.Factories/LogFactory.cs +++ b/Meissa.Tests.Factories/LogFactory.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System.Linq; using AutoFixture; using Meissa.API.Models; diff --git a/Meissa.Tests.Factories/TestAgentFactory.cs b/Meissa.Tests.Factories/TestAgentFactory.cs index 01f0493..2f04f23 100644 --- a/Meissa.Tests.Factories/TestAgentFactory.cs +++ b/Meissa.Tests.Factories/TestAgentFactory.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System; using System.Linq; using AutoFixture; diff --git a/Meissa.Tests.Factories/TestAgentRunFactory.cs b/Meissa.Tests.Factories/TestAgentRunFactory.cs index c4c1cb2..731f0b0 100644 --- a/Meissa.Tests.Factories/TestAgentRunFactory.cs +++ b/Meissa.Tests.Factories/TestAgentRunFactory.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System; using System.Linq; using AutoFixture; diff --git a/Meissa.Tests.Factories/TestCaseFactory.cs b/Meissa.Tests.Factories/TestCaseFactory.cs index 0c671c7..8439250 100644 --- a/Meissa.Tests.Factories/TestCaseFactory.cs +++ b/Meissa.Tests.Factories/TestCaseFactory.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System.Collections.Generic; using System.Linq; using AutoFixture; diff --git a/Meissa.Tests.Factories/TestRunFactory.cs b/Meissa.Tests.Factories/TestRunFactory.cs index 7dba144..5b15cb2 100644 --- a/Meissa.Tests.Factories/TestRunFactory.cs +++ b/Meissa.Tests.Factories/TestRunFactory.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System; using System.Linq; using AutoFixture; diff --git a/Meissa.Tests.Factories/TestRunLogFactory.cs b/Meissa.Tests.Factories/TestRunLogFactory.cs index c152291..812ff5b 100644 --- a/Meissa.Tests.Factories/TestRunLogFactory.cs +++ b/Meissa.Tests.Factories/TestRunLogFactory.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System; using System.Linq; using AutoFixture; diff --git a/Meissa.Tests.Factories/TestsAssemblyFactory.cs b/Meissa.Tests.Factories/TestsAssemblyFactory.cs index ca509da..39d18e6 100644 --- a/Meissa.Tests.Factories/TestsAssemblyFactory.cs +++ b/Meissa.Tests.Factories/TestsAssemblyFactory.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System; using System.Collections.Generic; using System.Linq; diff --git a/Meissa.sln b/Meissa.sln index f8435ba..749be8c 100644 --- a/Meissa.sln +++ b/Meissa.sln @@ -58,7 +58,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GenerateLoadTestProjects", EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUnitLoadTest", "NUnitLoadTest\NUnitLoadTest.csproj", "{FAB8ECAE-5356-4EB8-9B8A-5F71B5C3B7A3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUnitReportMerge.Spike", "NUnitReportMerge.Spike\NUnitReportMerge.Spike.csproj", "{51717A40-1C27-4FEC-B1A5-4E5E07DDC3E1}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NUnitReportMerge.Spike", "NUnitReportMerge.Spike\NUnitReportMerge.Spike.csproj", "{51717A40-1C27-4FEC-B1A5-4E5E07DDC3E1}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Meissa.Plugins.Protractor", "Meissa.Plugins.Protractor\Meissa.Plugins.Protractor.csproj", "{F3218A75-25FE-481E-A6EA-11B0AD31F57F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Meissa.Spikes", "Meissa.Spikes\Meissa.Spikes.csproj", "{20685E96-9949-4B07-A0B0-2ABCB6B863BA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -150,6 +154,14 @@ Global {51717A40-1C27-4FEC-B1A5-4E5E07DDC3E1}.Debug|Any CPU.Build.0 = Debug|Any CPU {51717A40-1C27-4FEC-B1A5-4E5E07DDC3E1}.Release|Any CPU.ActiveCfg = Release|Any CPU {51717A40-1C27-4FEC-B1A5-4E5E07DDC3E1}.Release|Any CPU.Build.0 = Release|Any CPU + {F3218A75-25FE-481E-A6EA-11B0AD31F57F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F3218A75-25FE-481E-A6EA-11B0AD31F57F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F3218A75-25FE-481E-A6EA-11B0AD31F57F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F3218A75-25FE-481E-A6EA-11B0AD31F57F}.Release|Any CPU.Build.0 = Release|Any CPU + {20685E96-9949-4B07-A0B0-2ABCB6B863BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {20685E96-9949-4B07-A0B0-2ABCB6B863BA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {20685E96-9949-4B07-A0B0-2ABCB6B863BA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {20685E96-9949-4B07-A0B0-2ABCB6B863BA}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -175,6 +187,8 @@ Global {B8DEA08C-41BE-473C-91AC-8AE4733AA88A} = {4A1A254E-ED74-46CB-B564-AE16BE7C3E7E} {467EB9F7-DF48-43B3-80B9-BC630BB5B59D} = {4A1A254E-ED74-46CB-B564-AE16BE7C3E7E} {51717A40-1C27-4FEC-B1A5-4E5E07DDC3E1} = {4A1A254E-ED74-46CB-B564-AE16BE7C3E7E} + {F3218A75-25FE-481E-A6EA-11B0AD31F57F} = {0230A84D-7F7E-4C9A-BF57-5DC311106345} + {20685E96-9949-4B07-A0B0-2ABCB6B863BA} = {4A1A254E-ED74-46CB-B564-AE16BE7C3E7E} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {547D0377-2E1C-4635-9CCA-FDC4AD0A2300} diff --git a/Meissa/DeleteModeOptions.cs b/Meissa/DeleteModeOptions.cs index 462f88c..1ff31a0 100644 --- a/Meissa/DeleteModeOptions.cs +++ b/Meissa/DeleteModeOptions.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using CommandLine; namespace Meissa diff --git a/Meissa/DumpModeOptions.cs b/Meissa/DumpModeOptions.cs index 1018c53..50ca7d2 100644 --- a/Meissa/DumpModeOptions.cs +++ b/Meissa/DumpModeOptions.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using CommandLine; namespace Meissa diff --git a/Meissa/InitializeServerModeOptions.cs b/Meissa/InitializeServerModeOptions.cs index 4d66dd8..80b98ce 100644 --- a/Meissa/InitializeServerModeOptions.cs +++ b/Meissa/InitializeServerModeOptions.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using CommandLine; namespace Meissa diff --git a/Meissa/Program.cs b/Meissa/Program.cs index add2fc0..acc06de 100644 --- a/Meissa/Program.cs +++ b/Meissa/Program.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System; using System.Globalization; using System.IO; diff --git a/Meissa/RunnerModeOptions.cs b/Meissa/RunnerModeOptions.cs index 04b9d06..928009b 100644 --- a/Meissa/RunnerModeOptions.cs +++ b/Meissa/RunnerModeOptions.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using System; using System.Collections.Generic; using CommandLine; @@ -32,8 +32,8 @@ public class RunnerModeOptions [Option('t', "agentTag", Required = true, HelpText = "The test agents' tag used to filter the machines where the tests will be executed.")] public string AgentTag { get; set; } - [Option("testTechnology", HelpText = "The tests technology that will be used to execute the tests- MSTestCore, NUnit, MSTestFramework, etc.")] - public string TestTechnology { get; set; } = "MSTestCore"; + [Option("testTechnology", HelpText = "The tests technology that will be used to execute the tests- MSTest, NUnit, etc.")] + public string TestTechnology { get; set; } = "MSTest"; [Option('n', "nativeRunnerArguments", HelpText = "The native runner arguments that we use in addition to Meissa arguments. (e.g. MSTest /nologo argument).")] public string NativeArguments { get; set; } diff --git a/Meissa/SetTestServerUrlModeOptions.cs b/Meissa/SetTestServerUrlModeOptions.cs index 283ef32..4c0b85c 100644 --- a/Meissa/SetTestServerUrlModeOptions.cs +++ b/Meissa/SetTestServerUrlModeOptions.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using CommandLine; namespace Meissa diff --git a/Meissa/StatusModeOptions.cs b/Meissa/StatusModeOptions.cs index 1a915c6..8504595 100644 --- a/Meissa/StatusModeOptions.cs +++ b/Meissa/StatusModeOptions.cs @@ -10,7 +10,7 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using CommandLine; namespace Meissa diff --git a/Meissa/TestAgentModeOptions.cs b/Meissa/TestAgentModeOptions.cs index 20f55e9..f1adc93 100644 --- a/Meissa/TestAgentModeOptions.cs +++ b/Meissa/TestAgentModeOptions.cs @@ -10,9 +10,8 @@ // limitations under the License. // // Anton Angelov -// https://automatetheplanet.com/ +// https://bellatrix.solutions/ using CommandLine; -using Meissa.Core.Model.Settings; namespace Meissa { @@ -28,9 +27,6 @@ public class TestAgentModeOptions [Option('r', "testAgentRunTimeout", HelpText = "The time in minutes after which the test agent run will be stopped.")] public int TestAgentRunTimeout { get; set; } = 180; - [Option("testTechnology", HelpText = "The tests technology that will be used to execute the tests- MSTestCore, NUnit, MSTestFramework, etc.")] - public TestTechnology TestTechnology { get; set; } = TestTechnology.MSTestCore; - [Option("restarted", HelpText = "Used for internal purposes only.")] public bool Restarted { get; set; } }