Repository: couchdb-fauxton Updated Branches: refs/heads/master ea3089ca7 -> b1bc3a616
Add missed license headers Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/b1bc3a61 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/b1bc3a61 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/b1bc3a61 Branch: refs/heads/master Commit: b1bc3a616c88a130abc061d56f2871d9a6cba693 Parents: ea3089c Author: Alexander Shorin <[email protected]> Authored: Fri Mar 6 14:53:59 2015 +0300 Committer: Alexander Shorin <[email protected]> Committed: Fri Mar 6 14:53:59 2015 +0300 ---------------------------------------------------------------------- .../components/assets/less/components.less | 12 +++++++++ .../assets/less/header-togglebutton.less | 12 +++++++++ .../components/assets/less/styled-select.less | 12 +++++++++ app/addons/config/templates/sidebartabs.html | 14 +++++++++++ app/addons/documents/assets/less/changes.less | 12 +++++++++ app/addons/documents/assets/less/header.less | 12 +++++++++ app/addons/documents/assets/less/sidenav.less | 11 +++++++++ app/addons/documents/helpers.js | 12 +++++++++ .../pagination/tests/pagination.actionsSpec.js | 12 +++++++++ app/addons/documents/shared-routes.js | 12 +++++++++ .../documents/templates/all_docs_list.html | 26 ++++++++++---------- app/core/couchdbSession.js | 2 ++ .../fonts/styleguide/fauxtonicon-preview.html | 13 ++++++++++ assets/index.underscore | 4 +-- assets/less/animations.less | 13 ++++++++++ assets/less/codeeditor.less | 13 ++++++++++ assets/less/pagination.less | 13 ++++++++++ assets/less/react-animations.less | 13 ++++++++++ .../custom-commands/auth/loginToGUI.js | 12 +++++++++ .../custom-commands/clickWhenVisible.js | 12 +++++++++ .../custom-commands/closeNotification.js | 12 +++++++++ .../custom-commands/createDatabase.js | 12 +++++++++ .../custom-commands/createDocument.js | 14 ++++++++++- .../custom-commands/createManyDocuments.js | 12 +++++++++ .../custom-commands/deleteDatabase.js | 12 +++++++++ .../custom-commands/populateDatabase.js | 12 +++++++++ .../custom-commands/waitForAttribute.js | 12 +++++++++ test/nightwatch_tests/helpers/helpers.js | 12 +++++++++ test/runner.html | 2 +- test/test.config.underscore | 13 ++++++++++ 30 files changed, 337 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/addons/components/assets/less/components.less ---------------------------------------------------------------------- diff --git a/app/addons/components/assets/less/components.less b/app/addons/components/assets/less/components.less index 4eea4d8..be88e1c 100644 --- a/app/addons/components/assets/less/components.less +++ b/app/addons/components/assets/less/components.less @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + @import "../../../../../assets/less/variables.less"; @import "header-togglebutton.less"; http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/addons/components/assets/less/header-togglebutton.less ---------------------------------------------------------------------- diff --git a/app/addons/components/assets/less/header-togglebutton.less b/app/addons/components/assets/less/header-togglebutton.less index 807a0ef..02964c4 100644 --- a/app/addons/components/assets/less/header-togglebutton.less +++ b/app/addons/components/assets/less/header-togglebutton.less @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + .header-control-box { color: #666; font-size: 13px; http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/addons/components/assets/less/styled-select.less ---------------------------------------------------------------------- diff --git a/app/addons/components/assets/less/styled-select.less b/app/addons/components/assets/less/styled-select.less index 963334b..4f40aec 100644 --- a/app/addons/components/assets/less/styled-select.less +++ b/app/addons/components/assets/less/styled-select.less @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + .styled-select { width: 200px; } http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/addons/config/templates/sidebartabs.html ---------------------------------------------------------------------- diff --git a/app/addons/config/templates/sidebartabs.html b/app/addons/config/templates/sidebartabs.html index b48b0ae..46640d9 100644 --- a/app/addons/config/templates/sidebartabs.html +++ b/app/addons/config/templates/sidebartabs.html @@ -1,3 +1,17 @@ +<%/* +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. +*/%> + <ul class="nav nav-list"> <% _.each(sidebarItems, function (item) { %> <li> http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/addons/documents/assets/less/changes.less ---------------------------------------------------------------------- diff --git a/app/addons/documents/assets/less/changes.less b/app/addons/documents/assets/less/changes.less index a1e1d2d..b6cde72 100644 --- a/app/addons/documents/assets/less/changes.less +++ b/app/addons/documents/assets/less/changes.less @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + @import "../../../../../assets/less/animations.less"; /** used in changes.html **/ http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/addons/documents/assets/less/header.less ---------------------------------------------------------------------- diff --git a/app/addons/documents/assets/less/header.less b/app/addons/documents/assets/less/header.less index 7675510..2b095f7 100644 --- a/app/addons/documents/assets/less/header.less +++ b/app/addons/documents/assets/less/header.less @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + .control-cancel { border-right: none; } http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/addons/documents/assets/less/sidenav.less ---------------------------------------------------------------------- diff --git a/app/addons/documents/assets/less/sidenav.less b/app/addons/documents/assets/less/sidenav.less index 12e2b0c..588a680 100644 --- a/app/addons/documents/assets/less/sidenav.less +++ b/app/addons/documents/assets/less/sidenav.less @@ -1,3 +1,14 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. .sidenav{ .nav-list > .active > a{ http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/addons/documents/helpers.js ---------------------------------------------------------------------- diff --git a/app/addons/documents/helpers.js b/app/addons/documents/helpers.js index fa21e00..ad1acef 100644 --- a/app/addons/documents/helpers.js +++ b/app/addons/documents/helpers.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + define([ 'api' ], function(FauxtonAPI) { http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/addons/documents/pagination/tests/pagination.actionsSpec.js ---------------------------------------------------------------------- diff --git a/app/addons/documents/pagination/tests/pagination.actionsSpec.js b/app/addons/documents/pagination/tests/pagination.actionsSpec.js index e01a23d..8eab4b2 100644 --- a/app/addons/documents/pagination/tests/pagination.actionsSpec.js +++ b/app/addons/documents/pagination/tests/pagination.actionsSpec.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + define([ 'api', 'addons/documents/pagination/actions', http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/addons/documents/shared-routes.js ---------------------------------------------------------------------- diff --git a/app/addons/documents/shared-routes.js b/app/addons/documents/shared-routes.js index 53ef50d..dd97225 100644 --- a/app/addons/documents/shared-routes.js +++ b/app/addons/documents/shared-routes.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + define([ 'app', 'api', http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/addons/documents/templates/all_docs_list.html ---------------------------------------------------------------------- diff --git a/app/addons/documents/templates/all_docs_list.html b/app/addons/documents/templates/all_docs_list.html index 3a29d96..a26b7d5 100644 --- a/app/addons/documents/templates/all_docs_list.html +++ b/app/addons/documents/templates/all_docs_list.html @@ -1,16 +1,16 @@ -<% -//Licensed under the Apache License, Version 2.0 (the "License"); you may not -//use this file except in compliance with the License. You may obtain a copy of -//the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -//Unless required by applicable law or agreed to in writing, software -//distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -//WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -//License for the specific language governing permissions and limitations under -//the License. -%> +<%/* +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. +*/%> <div class="view"> <div id="doc-list"></div> http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/app/core/couchdbSession.js ---------------------------------------------------------------------- diff --git a/app/core/couchdbSession.js b/app/core/couchdbSession.js index 7ee28d9..ee06a6f 100644 --- a/app/core/couchdbSession.js +++ b/app/core/couchdbSession.js @@ -1,3 +1,5 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/assets/fonts/styleguide/fauxtonicon-preview.html ---------------------------------------------------------------------- diff --git a/assets/fonts/styleguide/fauxtonicon-preview.html b/assets/fonts/styleguide/fauxtonicon-preview.html index 10ba192..bb0377c 100644 --- a/assets/fonts/styleguide/fauxtonicon-preview.html +++ b/assets/fonts/styleguide/fauxtonicon-preview.html @@ -1,3 +1,16 @@ +<!-- +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. +--> <!DOCTYPE html> <html> <head> http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/assets/index.underscore ---------------------------------------------------------------------- diff --git a/assets/index.underscore b/assets/index.underscore index 73386bb..fc669ec 100644 --- a/assets/index.underscore +++ b/assets/index.underscore @@ -1,5 +1,3 @@ -<!doctype html> - <!-- // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of @@ -13,7 +11,7 @@ // License for the specific language governing permissions and limitations under // the License. --> - +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/assets/less/animations.less ---------------------------------------------------------------------- diff --git a/assets/less/animations.less b/assets/less/animations.less index 408c35a..3f80f85 100644 --- a/assets/less/animations.less +++ b/assets/less/animations.less @@ -1,3 +1,16 @@ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + .keyframes (@name, @fromRules, @toRules) { @-webkit-keyframes ~'@{name}' { 0% { @fromRules(); } 100% { @toRules(); } } @-moz-keyframes ~'@{name}' { 0% { @fromRules(); } 100% { @toRules(); } } http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/assets/less/codeeditor.less ---------------------------------------------------------------------- diff --git a/assets/less/codeeditor.less b/assets/less/codeeditor.less index cf79b59..35b5386 100644 --- a/assets/less/codeeditor.less +++ b/assets/less/codeeditor.less @@ -1,3 +1,16 @@ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + @import "mixins.less"; http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/assets/less/pagination.less ---------------------------------------------------------------------- diff --git a/assets/less/pagination.less b/assets/less/pagination.less index 1ee403b..4536a76 100644 --- a/assets/less/pagination.less +++ b/assets/less/pagination.less @@ -1,3 +1,16 @@ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + // // Pagination (multiple pages) // -------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/assets/less/react-animations.less ---------------------------------------------------------------------- diff --git a/assets/less/react-animations.less b/assets/less/react-animations.less index fbdbc44..a5a8a6b 100644 --- a/assets/less/react-animations.less +++ b/assets/less/react-animations.less @@ -1,3 +1,16 @@ +/* Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + .fade-enter { opacity: 0; transition: opacity .25s; http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/nightwatch_tests/custom-commands/auth/loginToGUI.js ---------------------------------------------------------------------- diff --git a/test/nightwatch_tests/custom-commands/auth/loginToGUI.js b/test/nightwatch_tests/custom-commands/auth/loginToGUI.js index e3361f8..153cf46 100644 --- a/test/nightwatch_tests/custom-commands/auth/loginToGUI.js +++ b/test/nightwatch_tests/custom-commands/auth/loginToGUI.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + exports.command = function () { var client = this, http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/nightwatch_tests/custom-commands/clickWhenVisible.js ---------------------------------------------------------------------- diff --git a/test/nightwatch_tests/custom-commands/clickWhenVisible.js b/test/nightwatch_tests/custom-commands/clickWhenVisible.js index e1b4071..9f7c3a7 100644 --- a/test/nightwatch_tests/custom-commands/clickWhenVisible.js +++ b/test/nightwatch_tests/custom-commands/clickWhenVisible.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + exports.command = function (element, waitTime) { if(waitTime === undefined){ http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/nightwatch_tests/custom-commands/closeNotification.js ---------------------------------------------------------------------- diff --git a/test/nightwatch_tests/custom-commands/closeNotification.js b/test/nightwatch_tests/custom-commands/closeNotification.js index 7025897..0d70fb4 100644 --- a/test/nightwatch_tests/custom-commands/closeNotification.js +++ b/test/nightwatch_tests/custom-commands/closeNotification.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + exports.command = function () { var waitTime = 8000, client = this, http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/nightwatch_tests/custom-commands/createDatabase.js ---------------------------------------------------------------------- diff --git a/test/nightwatch_tests/custom-commands/createDatabase.js b/test/nightwatch_tests/custom-commands/createDatabase.js index 63004d9..fc0fbe6 100644 --- a/test/nightwatch_tests/custom-commands/createDatabase.js +++ b/test/nightwatch_tests/custom-commands/createDatabase.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + var util = require('util'), events = require('events'), helpers = require('../helpers/helpers.js'); http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/nightwatch_tests/custom-commands/createDocument.js ---------------------------------------------------------------------- diff --git a/test/nightwatch_tests/custom-commands/createDocument.js b/test/nightwatch_tests/custom-commands/createDocument.js index 4d08505..f412dbe 100644 --- a/test/nightwatch_tests/custom-commands/createDocument.js +++ b/test/nightwatch_tests/custom-commands/createDocument.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + var util = require('util'), events = require('events'), helpers = require('../helpers/helpers.js'); @@ -30,4 +42,4 @@ CreateDocument.prototype.command = function (documentName, databaseName, docCont return this; }; -module.exports = CreateDocument; \ No newline at end of file +module.exports = CreateDocument; http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/nightwatch_tests/custom-commands/createManyDocuments.js ---------------------------------------------------------------------- diff --git a/test/nightwatch_tests/custom-commands/createManyDocuments.js b/test/nightwatch_tests/custom-commands/createManyDocuments.js index 95bf7d6..872a7b8 100644 --- a/test/nightwatch_tests/custom-commands/createManyDocuments.js +++ b/test/nightwatch_tests/custom-commands/createManyDocuments.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + var util = require('util'), events = require('events'), helpers = require('../helpers/helpers.js'); http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/nightwatch_tests/custom-commands/deleteDatabase.js ---------------------------------------------------------------------- diff --git a/test/nightwatch_tests/custom-commands/deleteDatabase.js b/test/nightwatch_tests/custom-commands/deleteDatabase.js index 298ab41..d65cbcb 100644 --- a/test/nightwatch_tests/custom-commands/deleteDatabase.js +++ b/test/nightwatch_tests/custom-commands/deleteDatabase.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + var util = require('util'), events = require('events'), helpers = require('../helpers/helpers.js'); http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/nightwatch_tests/custom-commands/populateDatabase.js ---------------------------------------------------------------------- diff --git a/test/nightwatch_tests/custom-commands/populateDatabase.js b/test/nightwatch_tests/custom-commands/populateDatabase.js index 483671b..841e568 100644 --- a/test/nightwatch_tests/custom-commands/populateDatabase.js +++ b/test/nightwatch_tests/custom-commands/populateDatabase.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + var util = require('util'), events = require('events'), helpers = require('../helpers/helpers.js'), http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/nightwatch_tests/custom-commands/waitForAttribute.js ---------------------------------------------------------------------- diff --git a/test/nightwatch_tests/custom-commands/waitForAttribute.js b/test/nightwatch_tests/custom-commands/waitForAttribute.js index 429a9b5..beecc61 100644 --- a/test/nightwatch_tests/custom-commands/waitForAttribute.js +++ b/test/nightwatch_tests/custom-commands/waitForAttribute.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + var util = require('util'); var events = require('events'); http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/nightwatch_tests/helpers/helpers.js ---------------------------------------------------------------------- diff --git a/test/nightwatch_tests/helpers/helpers.js b/test/nightwatch_tests/helpers/helpers.js index 5db5c60..0fd6a95 100644 --- a/test/nightwatch_tests/helpers/helpers.js +++ b/test/nightwatch_tests/helpers/helpers.js @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + var nano = require('nano'); module.exports = { http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/runner.html ---------------------------------------------------------------------- diff --git a/test/runner.html b/test/runner.html index 2eeb27f..2c0452b 100644 --- a/test/runner.html +++ b/test/runner.html @@ -1,4 +1,3 @@ -<!DOCTYPE html> <!-- Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -13,6 +12,7 @@ CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> +<!DOCTYPE html> <html> <head> <meta charset="utf-8"> http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b1bc3a61/test/test.config.underscore ---------------------------------------------------------------------- diff --git a/test/test.config.underscore b/test/test.config.underscore index 171aee1..2a42d68 100644 --- a/test/test.config.underscore +++ b/test/test.config.underscore @@ -1,4 +1,17 @@ // vim: set ft=javascript: +// +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. +// // Set the require.js configuration for your test setup. require.config( <%= JSON.stringify(configInfo, null, '\t') %>
