You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mm...@apache.org on 2014/07/10 17:41:53 UTC
[26/26] git commit: cordova-plugin-test-harness has moved
cordova-plugin-test-harness has moved
Project: http://git-wip-us.apache.org/repos/asf/cordova-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-labs/commit/ce08dd6c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-labs/tree/ce08dd6c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-labs/diff/ce08dd6c
Branch: refs/heads/cdvtest
Commit: ce08dd6c6cdd8e154bd4bfde64cbd33b72b3df12
Parents: 500da73
Author: Michal Mocny <mm...@gmail.com>
Authored: Thu Jul 10 11:41:16 2014 -0400
Committer: Michal Mocny <mm...@gmail.com>
Committed: Thu Jul 10 11:41:16 2014 -0400
----------------------------------------------------------------------
README.md | 43 +-
cordova-app-test-harness/.gitignore | 4 -
cordova-app-test-harness/LICENSE | 191 -
cordova-app-test-harness/README.md | 0
cordova-app-test-harness/config.xml | 16 -
.../hooks/before_prepare/pre-prepare.sh | 16 -
cordova-app-test-harness/update.sh | 9 -
cordova-app-test-harness/www/jasmine-medic.js | 129 -
cordova-app-test-harness/www/medic.js | 38 -
cordova-plugin-test-framework/LICENSE | 191 -
cordova-plugin-test-framework/README.md | 123 -
cordova-plugin-test-framework/plugin.xml | 21 -
.../www/assets/index.html | 37 -
.../www/assets/jasmine-2.0.0/boot.js | 181 -
.../www/assets/jasmine-2.0.0/console.js | 160 -
.../www/assets/jasmine-2.0.0/jasmine-html.js | 359 --
.../www/assets/jasmine-2.0.0/jasmine.css | 55 -
.../www/assets/jasmine-2.0.0/jasmine.js | 2401 ------------
.../assets/jasmine-2.0.0/jasmine_favicon.png | Bin 2057 -> 0 bytes
.../www/assets/main.css | 83 -
.../www/assets/topcoat-0.7.5/.gitignore | 6 -
.../www/assets/topcoat-0.7.5/Gruntfile.js | 277 --
.../www/assets/topcoat-0.7.5/LICENSE | 203 -
.../www/assets/topcoat-0.7.5/NOTICE | 193 -
.../www/assets/topcoat-0.7.5/README.md | 89 -
.../www/assets/topcoat-0.7.5/contributors.txt | 7 -
.../topcoat-0.7.5/css/topcoat-desktop-dark.css | 3450 ----------------
.../css/topcoat-desktop-dark.min.css | 1 -
.../topcoat-0.7.5/css/topcoat-desktop-light.css | 3450 ----------------
.../css/topcoat-desktop-light.min.css | 1 -
.../topcoat-0.7.5/css/topcoat-mobile-dark.css | 3700 ------------------
.../css/topcoat-mobile-dark.min.css | 1 -
.../topcoat-0.7.5/css/topcoat-mobile-light.css | 3700 ------------------
.../css/topcoat-mobile-light.min.css | 1 -
.../assets/topcoat-0.7.5/demo/css/brackets.css | 69 -
.../www/assets/topcoat-0.7.5/demo/css/main.css | 508 ---
.../www/assets/topcoat-0.7.5/demo/css/theme.css | 28 -
.../fonts/sourcecodepro-regular-webfont.eot | Bin 23949 -> 0 bytes
.../fonts/sourcecodepro-regular-webfont.svg | 242 --
.../fonts/sourcecodepro-regular-webfont.ttf | Bin 52660 -> 0 bytes
.../fonts/sourcecodepro-regular-webfont.woff | Bin 27068 -> 0 bytes
.../demo/fonts/sourcesanspro-light-webfont.eot | Bin 23716 -> 0 bytes
.../demo/fonts/sourcesanspro-light-webfont.svg | 243 --
.../demo/fonts/sourcesanspro-light-webfont.ttf | Bin 51876 -> 0 bytes
.../demo/fonts/sourcesanspro-light-webfont.woff | Bin 26716 -> 0 bytes
.../fonts/sourcesanspro-regular-webfont.eot | Bin 23970 -> 0 bytes
.../fonts/sourcesanspro-regular-webfont.svg | 243 --
.../fonts/sourcesanspro-regular-webfont.ttf | Bin 52456 -> 0 bytes
.../fonts/sourcesanspro-regular-webfont.woff | Bin 27076 -> 0 bytes
.../fonts/sourcesanspro-semibold-webfont.eot | Bin 23974 -> 0 bytes
.../fonts/sourcesanspro-semibold-webfont.svg | 243 --
.../fonts/sourcesanspro-semibold-webfont.ttf | Bin 51960 -> 0 bytes
.../fonts/sourcesanspro-semibold-webfont.woff | Bin 27048 -> 0 bytes
.../topcoat-0.7.5/demo/fonts/stylesheet.css | 57 -
.../www/assets/topcoat-0.7.5/demo/index.html | 3167 ---------------
.../www/assets/topcoat-0.7.5/demo/js/main.js | 44 -
.../topcoat-0.7.5/demo/js/rainbow-custom.min.js | 11 -
.../demo/js/rainbow.linenumbers.min.js | 2 -
.../demo/topcoat-desktop-light.html | 3167 ---------------
.../topcoat-0.7.5/demo/topcoat-mobile-dark.html | 3417 ----------------
.../demo/topcoat-mobile-light.html | 3417 ----------------
.../topcoat-0.7.5/dev/build/styleguide.css | 495 ---
.../topcoat-0.7.5/dev/build/styleguide.js | 10 -
.../topcoat-0.7.5/dev/tasks/checkchromiumsrc.js | 13 -
.../topcoat-0.7.5/dev/tasks/telemetrygentest.js | 98 -
.../topcoat-0.7.5/dev/tasks/telemetrysubmit.js | 101 -
.../dev/test/perf/telemetry/README.md | 79 -
.../dev/test/perf/telemetry/bin/runAll.py | 200 -
.../dev/test/perf/telemetry/bin/runAll.sh | 105 -
.../dev/test/perf/telemetry/lib/csvToJSON.js | 56 -
.../test/perf/telemetry/lib/extractFileName.js | 12 -
.../dev/test/perf/telemetry/lib/settings.js | 31 -
.../dev/test/perf/telemetry/lib/submitData.js | 61 -
.../page_sets/topcoat/topcoat_telemetry.jade | 17 -
.../www/assets/topcoat-0.7.5/font/LICENSE.txt | 93 -
.../topcoat-0.7.5/font/SourceCodePro-Black.otf | Bin 88472 -> 0 bytes
.../topcoat-0.7.5/font/SourceCodePro-Bold.otf | Bin 92248 -> 0 bytes
.../font/SourceCodePro-ExtraLight.otf | Bin 84636 -> 0 bytes
.../topcoat-0.7.5/font/SourceCodePro-Light.otf | Bin 88152 -> 0 bytes
.../font/SourceCodePro-Regular.otf | Bin 89600 -> 0 bytes
.../font/SourceCodePro-Semibold.otf | Bin 89576 -> 0 bytes
.../topcoat-0.7.5/font/SourceSansPro-Black.otf | Bin 98472 -> 0 bytes
.../font/SourceSansPro-BlackIt.otf | Bin 96536 -> 0 bytes
.../topcoat-0.7.5/font/SourceSansPro-Bold.otf | Bin 104072 -> 0 bytes
.../topcoat-0.7.5/font/SourceSansPro-BoldIt.otf | Bin 101848 -> 0 bytes
.../font/SourceSansPro-ExtraLight.otf | Bin 94560 -> 0 bytes
.../font/SourceSansPro-ExtraLightIt.otf | Bin 92880 -> 0 bytes
.../topcoat-0.7.5/font/SourceSansPro-It.otf | Bin 100556 -> 0 bytes
.../topcoat-0.7.5/font/SourceSansPro-Light.otf | Bin 98972 -> 0 bytes
.../font/SourceSansPro-LightIt.otf | Bin 97352 -> 0 bytes
.../font/SourceSansPro-Regular.otf | Bin 101820 -> 0 bytes
.../font/SourceSansPro-Semibold.otf | Bin 101772 -> 0 bytes
.../font/SourceSansPro-SemiboldIt.otf | Bin 100000 -> 0 bytes
.../www/assets/topcoat-0.7.5/img/avatar.png | Bin 11926 -> 0 bytes
.../www/assets/topcoat-0.7.5/img/bg_dark.png | Bin 85839 -> 0 bytes
.../www/assets/topcoat-0.7.5/img/breadcrumb.png | Bin 202 -> 0 bytes
.../topcoat-0.7.5/img/checkbox_checked.png | Bin 1424 -> 0 bytes
.../topcoat-0.7.5/img/checkbox_checked_dark.png | Bin 1437 -> 0 bytes
.../topcoat-0.7.5/img/checkbox_unchecked.png | Bin 1216 -> 0 bytes
.../img/checkbox_unchecked_dark.png | Bin 1199 -> 0 bytes
.../assets/topcoat-0.7.5/img/checkmark_bw.svg | 15 -
.../topcoat-0.7.5/img/dark-combo-box-bg.png | Bin 1023 -> 0 bytes
.../topcoat-0.7.5/img/dark-combo-box-bg2x.png | Bin 1124 -> 0 bytes
.../www/assets/topcoat-0.7.5/img/dark-grips.png | Bin 220 -> 0 bytes
.../assets/topcoat-0.7.5/img/dark-sprites2x.png | Bin 5066 -> 0 bytes
.../assets/topcoat-0.7.5/img/dialog-zone-bg.png | Bin 600868 -> 0 bytes
.../img/drop-down-triangle-dark.png | Bin 1091 -> 0 bytes
.../topcoat-0.7.5/img/drop-down-triangle.png | Bin 2892 -> 0 bytes
.../assets/topcoat-0.7.5/img/hamburger_bw.svg | 1912 ---------
.../assets/topcoat-0.7.5/img/hamburger_dark.svg | 1935 ---------
.../topcoat-0.7.5/img/hamburger_light.svg | 1936 ---------
.../topcoat-0.7.5/img/light-combo-box-bg.png | Bin 1023 -> 0 bytes
.../topcoat-0.7.5/img/light-combo-box-bg2x.png | Bin 1124 -> 0 bytes
.../assets/topcoat-0.7.5/img/light-grips.png | Bin 248 -> 0 bytes
.../topcoat-0.7.5/img/light-sprites2x.png | Bin 5351 -> 0 bytes
.../topcoat-0.7.5/img/pop-up-triangle-dark.png | Bin 1153 -> 0 bytes
.../topcoat-0.7.5/img/pop-up-triangle.png | Bin 2958 -> 0 bytes
.../www/assets/topcoat-0.7.5/img/search-bg.png | Bin 1390 -> 0 bytes
.../assets/topcoat-0.7.5/img/search-bg2x.png | Bin 1800 -> 0 bytes
.../www/assets/topcoat-0.7.5/img/search.svg | 11 -
.../www/assets/topcoat-0.7.5/img/search_bw.svg | 16 -
.../assets/topcoat-0.7.5/img/search_dark.svg | 16 -
.../assets/topcoat-0.7.5/img/search_light.svg | 11 -
.../www/assets/topcoat-0.7.5/img/spinner.png | Bin 2707 -> 0 bytes
.../www/assets/topcoat-0.7.5/img/spinner2x.png | Bin 5201 -> 0 bytes
.../www/assets/topcoat-0.7.5/package.json | 85 -
.../www/jasmine_helpers.js | 94 -
cordova-plugin-test-framework/www/main.js | 213 -
cordova-plugin-test-framework/www/tests.js | 108 -
129 files changed, 2 insertions(+), 41715 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 72c6336..02b5a15 100644
--- a/README.md
+++ b/README.md
@@ -1,42 +1,3 @@
-# Cordova Labs
+### cordova-plugin-test-harness has graduated out of labs!
-> Caution: Safety Goggles are Recommended!
-
-## Purpose
-
-The purpose of this repo is for experimental code. Examples include demo apps,
-native api explorations, or anything really that does not fit in an existing Cordova platform.
-
-## Project Organization
-
-> Everyone works on a branch
-
-`master` branch should *never* have content.
-
-Each project should create a separate branch to work on. There are major benefits
-to this practice:
-
-- Each project has an isolate git history, which allows for easy migration to
- a new git repository;
-- Working directory is not polluted with the files of other projects.
-- Projects will not step on each others toes.
-
-## Migrating Repositories
-
-One day, you labs project may grow up and need it's own repository.
-You can easily move all of your Git history to your new repository with the
-following steps:
-
- # cd to labs and checkout your project's branch
- git checkout my-branch
-
- # add your new repository as a remote
- git add remote my-remote <url>
-
- # currently, my-remote should be empty (no commits)
-
- # push my-branch to my-remote's master branch
- git push my-remote my-branch:master
-
- # now clone your new project (my-remote)
- git clone <url>
+You can find the latest here: [https://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework.git](https://git-wip-us.apache.org/repos/asf/cordova-plugin-test-framework.git).
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-app-test-harness/.gitignore
----------------------------------------------------------------------
diff --git a/cordova-app-test-harness/.gitignore b/cordova-app-test-harness/.gitignore
deleted file mode 100644
index 77cc947..0000000
--- a/cordova-app-test-harness/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-platforms
-plugins
-www/last_update
-node_modules
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-app-test-harness/LICENSE
----------------------------------------------------------------------
diff --git a/cordova-app-test-harness/LICENSE b/cordova-app-test-harness/LICENSE
deleted file mode 100644
index 37ec93a..0000000
--- a/cordova-app-test-harness/LICENSE
+++ /dev/null
@@ -1,191 +0,0 @@
-Apache License
-Version 2.0, January 2004
-http://www.apache.org/licenses/
-
-TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-1. Definitions.
-
-"License" shall mean the terms and conditions for use, reproduction, and
-distribution as defined by Sections 1 through 9 of this document.
-
-"Licensor" shall mean the copyright owner or entity authorized by the copyright
-owner that is granting the License.
-
-"Legal Entity" shall mean the union of the acting entity and all other entities
-that control, are controlled by, or are under common control with that entity.
-For the purposes of this definition, "control" means (i) the power, direct or
-indirect, to cause the direction or management of such entity, whether by
-contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
-outstanding shares, or (iii) beneficial ownership of such entity.
-
-"You" (or "Your") shall mean an individual or Legal Entity exercising
-permissions granted by this License.
-
-"Source" form shall mean the preferred form for making modifications, including
-but not limited to software source code, documentation source, and configuration
-files.
-
-"Object" form shall mean any form resulting from mechanical transformation or
-translation of a Source form, including but not limited to compiled object code,
-generated documentation, and conversions to other media types.
-
-"Work" shall mean the work of authorship, whether in Source or Object form, made
-available under the License, as indicated by a copyright notice that is included
-in or attached to the work (an example is provided in the Appendix below).
-
-"Derivative Works" shall mean any work, whether in Source or Object form, that
-is based on (or derived from) the Work and for which the editorial revisions,
-annotations, elaborations, or other modifications represent, as a whole, an
-original work of authorship. For the purposes of this License, Derivative Works
-shall not include works that remain separable from, or merely link (or bind by
-name) to the interfaces of, the Work and Derivative Works thereof.
-
-"Contribution" shall mean any work of authorship, including the original version
-of the Work and any modifications or additions to that Work or Derivative Works
-thereof, that is intentionally submitted to Licensor for inclusion in the Work
-by the copyright owner or by an individual or Legal Entity authorized to submit
-on behalf of the copyright owner. For the purposes of this definition,
-"submitted" means any form of electronic, verbal, or written communication sent
-to the Licensor or its representatives, including but not limited to
-communication on electronic mailing lists, source code control systems, and
-issue tracking systems that are managed by, or on behalf of, the Licensor for
-the purpose of discussing and improving the Work, but excluding communication
-that is conspicuously marked or otherwise designated in writing by the copyright
-owner as "Not a Contribution."
-
-"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
-of whom a Contribution has been received by Licensor and subsequently
-incorporated within the Work.
-
-2. Grant of Copyright License.
-
-Subject to the terms and conditions of this License, each Contributor hereby
-grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
-irrevocable copyright license to reproduce, prepare Derivative Works of,
-publicly display, publicly perform, sublicense, and distribute the Work and such
-Derivative Works in Source or Object form.
-
-3. Grant of Patent License.
-
-Subject to the terms and conditions of this License, each Contributor hereby
-grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
-irrevocable (except as stated in this section) patent license to make, have
-made, use, offer to sell, sell, import, and otherwise transfer the Work, where
-such license applies only to those patent claims licensable by such Contributor
-that are necessarily infringed by their Contribution(s) alone or by combination
-of their Contribution(s) with the Work to which such Contribution(s) was
-submitted. If You institute patent litigation against any entity (including a
-cross-claim or counterclaim in a lawsuit) alleging that the Work or a
-Contribution incorporated within the Work constitutes direct or contributory
-patent infringement, then any patent licenses granted to You under this License
-for that Work shall terminate as of the date such litigation is filed.
-
-4. Redistribution.
-
-You may reproduce and distribute copies of the Work or Derivative Works thereof
-in any medium, with or without modifications, and in Source or Object form,
-provided that You meet the following conditions:
-
-You must give any other recipients of the Work or Derivative Works a copy of
-this License; and
-You must cause any modified files to carry prominent notices stating that You
-changed the files; and
-You must retain, in the Source form of any Derivative Works that You distribute,
-all copyright, patent, trademark, and attribution notices from the Source form
-of the Work, excluding those notices that do not pertain to any part of the
-Derivative Works; and
-If the Work includes a "NOTICE" text file as part of its distribution, then any
-Derivative Works that You distribute must include a readable copy of the
-attribution notices contained within such NOTICE file, excluding those notices
-that do not pertain to any part of the Derivative Works, in at least one of the
-following places: within a NOTICE text file distributed as part of the
-Derivative Works; within the Source form or documentation, if provided along
-with the Derivative Works; or, within a display generated by the Derivative
-Works, if and wherever such third-party notices normally appear. The contents of
-the NOTICE file are for informational purposes only and do not modify the
-License. You may add Your own attribution notices within Derivative Works that
-You distribute, alongside or as an addendum to the NOTICE text from the Work,
-provided that such additional attribution notices cannot be construed as
-modifying the License.
-You may add Your own copyright statement to Your modifications and may provide
-additional or different license terms and conditions for use, reproduction, or
-distribution of Your modifications, or for any such Derivative Works as a whole,
-provided Your use, reproduction, and distribution of the Work otherwise complies
-with the conditions stated in this License.
-
-5. Submission of Contributions.
-
-Unless You explicitly state otherwise, any Contribution intentionally submitted
-for inclusion in the Work by You to the Licensor shall be under the terms and
-conditions of this License, without any additional terms or conditions.
-Notwithstanding the above, nothing herein shall supersede or modify the terms of
-any separate license agreement you may have executed with Licensor regarding
-such Contributions.
-
-6. Trademarks.
-
-This License does not grant permission to use the trade names, trademarks,
-service marks, or product names of the Licensor, except as required for
-reasonable and customary use in describing the origin of the Work and
-reproducing the content of the NOTICE file.
-
-7. Disclaimer of Warranty.
-
-Unless required by applicable law or agreed to in writing, Licensor provides the
-Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
-including, without limitation, any warranties or conditions of TITLE,
-NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
-solely responsible for determining the appropriateness of using or
-redistributing the Work and assume any risks associated with Your exercise of
-permissions under this License.
-
-8. Limitation of Liability.
-
-In no event and under no legal theory, whether in tort (including negligence),
-contract, or otherwise, unless required by applicable law (such as deliberate
-and grossly negligent acts) or agreed to in writing, shall any Contributor be
-liable to You for damages, including any direct, indirect, special, incidental,
-or consequential damages of any character arising as a result of this License or
-out of the use or inability to use the Work (including but not limited to
-damages for loss of goodwill, work stoppage, computer failure or malfunction, or
-any and all other commercial damages or losses), even if such Contributor has
-been advised of the possibility of such damages.
-
-9. Accepting Warranty or Additional Liability.
-
-While redistributing the Work or Derivative Works thereof, You may choose to
-offer, and charge a fee for, acceptance of support, warranty, indemnity, or
-other liability obligations and/or rights consistent with this License. However,
-in accepting such obligations, You may act only on Your own behalf and on Your
-sole responsibility, not on behalf of any other Contributor, and only if You
-agree to indemnify, defend, and hold each Contributor harmless for any liability
-incurred by, or claims asserted against, such Contributor by reason of your
-accepting any such warranty or additional liability.
-
-END OF TERMS AND CONDITIONS
-
-APPENDIX: How to apply the Apache License to your work
-
-To apply the Apache License to your work, attach the following boilerplate
-notice, with the fields enclosed by brackets "[]" replaced with your own
-identifying information. (Don't include the brackets!) The text should be
-enclosed in the appropriate comment syntax for the file format. We also
-recommend that a file or class name and description of purpose be included on
-the same "printed page" as the copyright notice for easier identification within
-third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-app-test-harness/README.md
----------------------------------------------------------------------
diff --git a/cordova-app-test-harness/README.md b/cordova-app-test-harness/README.md
deleted file mode 100644
index e69de29..0000000
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-app-test-harness/config.xml
----------------------------------------------------------------------
diff --git a/cordova-app-test-harness/config.xml b/cordova-app-test-harness/config.xml
deleted file mode 100644
index 0b0a707..0000000
--- a/cordova-app-test-harness/config.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<widget id="org.apache.cordova.CordovaTests" version="0.1.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
- <name>Cordova Tests</name>
- <description>
- Cordova Test Runner
- </description>
- <author>
- </author>
- <access origin="http://www.apache.org/*" />
- <access origin="https://www.googleapis.com/*" />
-
- <content src="cdvtest/index.html" />
-
- <preference name="fullscreen" value="true" />
- <preference name="webviewbounce" value="false" />
-</widget>
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-app-test-harness/hooks/before_prepare/pre-prepare.sh
----------------------------------------------------------------------
diff --git a/cordova-app-test-harness/hooks/before_prepare/pre-prepare.sh b/cordova-app-test-harness/hooks/before_prepare/pre-prepare.sh
deleted file mode 100755
index 09d8408..0000000
--- a/cordova-app-test-harness/hooks/before_prepare/pre-prepare.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-if [ -d "plugins/org.apache.cordova.test-framework" ]; then
- exit
-fi
-
-mkdir -p plugins platforms
-
-cordova platform add android
-cordova platform add ios
-
-cordova plugin add ~/dev/cordova/cordova-labs/cordova-plugin-test-framework --searchpath ~/dev/cordova/cordova-labs
-cordova plugin add ~/dev/cordova/cordova-plugin-contacts --searchpath ~/dev/cordova
-cordova plugin add ~/dev/cordova/cordova-plugin-device --searchpath ~/dev/cordova
-cordova plugin add ~/dev/cordova/cordova-plugin-device-motion --searchpath ~/dev/cordova
-cordova plugin add ~/dev/cordova/cordova-plugin-geolocation --searchpath ~/dev/cordova
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-app-test-harness/update.sh
----------------------------------------------------------------------
diff --git a/cordova-app-test-harness/update.sh b/cordova-app-test-harness/update.sh
deleted file mode 100755
index 0ecccf2..0000000
--- a/cordova-app-test-harness/update.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-# Pass an arg like --all to rebuild everything
-if [ $# -gt 0 -o ! -d platforms -o ! -d plugins ]; then
- rm -rf platforms
- rm -rf plugins
- mkdir platforms
- cordova platform add android
-fi
-cordova prepare
-date > www/last_update
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-app-test-harness/www/jasmine-medic.js
----------------------------------------------------------------------
diff --git a/cordova-app-test-harness/www/jasmine-medic.js b/cordova-app-test-harness/www/jasmine-medic.js
deleted file mode 100644
index 5f6d13c..0000000
--- a/cordova-app-test-harness/www/jasmine-medic.js
+++ /dev/null
@@ -1,129 +0,0 @@
-jasmineRequire.medic = function(j$) {
- j$.MedicReporter = jasmineRequire.MedicReporter(j$);
-};
-
-jasmineRequire.MedicReporter = function(j$) {
-
- var noopTimer = {
- start: function() {},
- elapsed: function() { return 0; }
- };
-
- function MedicReporter(options) {
- var env = options.env || {},
- logoptions = options.log || {logurl: 'http://localhost:6800'},
- getContainer = options.getContainer,
- createElement = options.createElement,
- createTextNode = options.createTextNode,
- onRaiseExceptionsClick = options.onRaiseExceptionsClick || function() {},
- timer = options.timer || noopTimer,
- results = [],
- specsExecuted = 0,
- failureCount = 0,
- pendingSpecCount = 0,
- symbols;
-
-
- var serverurl = logoptions.logurl;
-
- this.initialize = function() {
- }
-
- var totalSpecsDefined;
- this.jasmineStarted = function(options) {
- totalSpecsDefined = options.totalSpecsDefined || 0;
- timer.start();
- };
-
- var topResults = new j$.ResultsNode({}, "", null),
- currentParent = topResults;
-
- this.suiteStarted = function(result) {
- };
-
- this.suiteDone = function(result) {
-
- };
-
- this.specStarted = function(result) {
- // Start timing this spec
- };
-
- var failures = [];
- this.specDone = function(result) {
- if (result.status != "disabled") {
- specsExecuted++;
- }
- if (result.status == "failed") {
- failureCount++;
- results.push(result);
- }
- if (result.status == "pending") {
- pendingSpecCount++;
- }
- };
-
- buildResults = function(){
- var json ={specs:specsExecuted, failures:failureCount, results: results};
- return json;
- }
-
- this.jasmineDone = function() {
- var p = 'Desktop';
- var devmodel='none';
- if(typeof device != 'undefined') {
- p = device.platform.toLowerCase();
- devmodel=device.model || device.name;
- }
-
- this.postTests({
- mobilespec:buildResults(),
- platform:(platformMap.hasOwnProperty(p) ? platformMap[p] : p),
- version:p,
- timestamp:Math.round(Math.floor((new Date()).getTime() / 1000)),
- model:devmodel
- });
-
- };
-
-
- logresult = function(){
- if(failureCount>0 ) {
- console.log('[[[ TEST OK ]]]');
- } else {
- console.log('[[[ TEST FAILED ]]]');
- }
- logfinished();
- };
-
- var logfinished = function(){
- console.log('>>> DONE <<<');
- };
-
- this.postTests = function(json) {
- console.log('posting tests');
-
- var xhr = new XMLHttpRequest();
- xhr.open("POST", serverurl+'/result', true);
- xhr.setRequestHeader("Content-Type","application/json")
- xhr.send(JSON.stringify(json));
- }
- return this;
- }
-
- /**
- * Calculate elapsed time, in Seconds.
- * @param startMs Start time in Milliseconds
- * @param finishMs Finish time in Milliseconds
- * @return Elapsed time in Seconds */
- function elapsedSec(startMs, finishMs) {
- return (finishMs - startMs) / 1000;
- }
-
- var platformMap = {
- 'ipod touch':'ios',
- 'iphone':'ios'
- };
-
- return MedicReporter;
-};
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-app-test-harness/www/medic.js
----------------------------------------------------------------------
diff --git a/cordova-app-test-harness/www/medic.js b/cordova-app-test-harness/www/medic.js
deleted file mode 100644
index 4a1791b..0000000
--- a/cordova-app-test-harness/www/medic.js
+++ /dev/null
@@ -1,38 +0,0 @@
-(function() {
-
-'use strict';
-
-var exports = window.medic = {};
-
-exports.logurl = 'http://127.0.0.1:7800';
-
-exports.enabled = false;
-
-exports.log = function() {
- if (!window.medic.enabled)
- return;
- var xhr = new XMLHttpRequest();
- xhr.open("POST", exports.logurl, true);
- xhr.setRequestHeader("Content-Type", "text/plain");
- xhr.send(Array.prototype.slice.apply(arguments));
-};
-
-exports.load = function (callback) {
- var xhr = new XMLHttpRequest();
- xhr.open("GET", "medic.json", true);
- xhr.onload = function() {
- if (xhr.readyState == 4 && xhr.status == 200) {
- var cfg = JSON.parse(xhr.responseText);
- exports.logurl = cfg.logurl;
- exports.enabled = true;
- console.log('Loaded Medic Config: logurl=' + exports.logurl);
- }
- callback();
- }
- xhr.onerror = function() {
- callback();
- }
- xhr.send();
-}
-
-}());
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-plugin-test-framework/LICENSE
----------------------------------------------------------------------
diff --git a/cordova-plugin-test-framework/LICENSE b/cordova-plugin-test-framework/LICENSE
deleted file mode 100644
index 37ec93a..0000000
--- a/cordova-plugin-test-framework/LICENSE
+++ /dev/null
@@ -1,191 +0,0 @@
-Apache License
-Version 2.0, January 2004
-http://www.apache.org/licenses/
-
-TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-1. Definitions.
-
-"License" shall mean the terms and conditions for use, reproduction, and
-distribution as defined by Sections 1 through 9 of this document.
-
-"Licensor" shall mean the copyright owner or entity authorized by the copyright
-owner that is granting the License.
-
-"Legal Entity" shall mean the union of the acting entity and all other entities
-that control, are controlled by, or are under common control with that entity.
-For the purposes of this definition, "control" means (i) the power, direct or
-indirect, to cause the direction or management of such entity, whether by
-contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
-outstanding shares, or (iii) beneficial ownership of such entity.
-
-"You" (or "Your") shall mean an individual or Legal Entity exercising
-permissions granted by this License.
-
-"Source" form shall mean the preferred form for making modifications, including
-but not limited to software source code, documentation source, and configuration
-files.
-
-"Object" form shall mean any form resulting from mechanical transformation or
-translation of a Source form, including but not limited to compiled object code,
-generated documentation, and conversions to other media types.
-
-"Work" shall mean the work of authorship, whether in Source or Object form, made
-available under the License, as indicated by a copyright notice that is included
-in or attached to the work (an example is provided in the Appendix below).
-
-"Derivative Works" shall mean any work, whether in Source or Object form, that
-is based on (or derived from) the Work and for which the editorial revisions,
-annotations, elaborations, or other modifications represent, as a whole, an
-original work of authorship. For the purposes of this License, Derivative Works
-shall not include works that remain separable from, or merely link (or bind by
-name) to the interfaces of, the Work and Derivative Works thereof.
-
-"Contribution" shall mean any work of authorship, including the original version
-of the Work and any modifications or additions to that Work or Derivative Works
-thereof, that is intentionally submitted to Licensor for inclusion in the Work
-by the copyright owner or by an individual or Legal Entity authorized to submit
-on behalf of the copyright owner. For the purposes of this definition,
-"submitted" means any form of electronic, verbal, or written communication sent
-to the Licensor or its representatives, including but not limited to
-communication on electronic mailing lists, source code control systems, and
-issue tracking systems that are managed by, or on behalf of, the Licensor for
-the purpose of discussing and improving the Work, but excluding communication
-that is conspicuously marked or otherwise designated in writing by the copyright
-owner as "Not a Contribution."
-
-"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
-of whom a Contribution has been received by Licensor and subsequently
-incorporated within the Work.
-
-2. Grant of Copyright License.
-
-Subject to the terms and conditions of this License, each Contributor hereby
-grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
-irrevocable copyright license to reproduce, prepare Derivative Works of,
-publicly display, publicly perform, sublicense, and distribute the Work and such
-Derivative Works in Source or Object form.
-
-3. Grant of Patent License.
-
-Subject to the terms and conditions of this License, each Contributor hereby
-grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
-irrevocable (except as stated in this section) patent license to make, have
-made, use, offer to sell, sell, import, and otherwise transfer the Work, where
-such license applies only to those patent claims licensable by such Contributor
-that are necessarily infringed by their Contribution(s) alone or by combination
-of their Contribution(s) with the Work to which such Contribution(s) was
-submitted. If You institute patent litigation against any entity (including a
-cross-claim or counterclaim in a lawsuit) alleging that the Work or a
-Contribution incorporated within the Work constitutes direct or contributory
-patent infringement, then any patent licenses granted to You under this License
-for that Work shall terminate as of the date such litigation is filed.
-
-4. Redistribution.
-
-You may reproduce and distribute copies of the Work or Derivative Works thereof
-in any medium, with or without modifications, and in Source or Object form,
-provided that You meet the following conditions:
-
-You must give any other recipients of the Work or Derivative Works a copy of
-this License; and
-You must cause any modified files to carry prominent notices stating that You
-changed the files; and
-You must retain, in the Source form of any Derivative Works that You distribute,
-all copyright, patent, trademark, and attribution notices from the Source form
-of the Work, excluding those notices that do not pertain to any part of the
-Derivative Works; and
-If the Work includes a "NOTICE" text file as part of its distribution, then any
-Derivative Works that You distribute must include a readable copy of the
-attribution notices contained within such NOTICE file, excluding those notices
-that do not pertain to any part of the Derivative Works, in at least one of the
-following places: within a NOTICE text file distributed as part of the
-Derivative Works; within the Source form or documentation, if provided along
-with the Derivative Works; or, within a display generated by the Derivative
-Works, if and wherever such third-party notices normally appear. The contents of
-the NOTICE file are for informational purposes only and do not modify the
-License. You may add Your own attribution notices within Derivative Works that
-You distribute, alongside or as an addendum to the NOTICE text from the Work,
-provided that such additional attribution notices cannot be construed as
-modifying the License.
-You may add Your own copyright statement to Your modifications and may provide
-additional or different license terms and conditions for use, reproduction, or
-distribution of Your modifications, or for any such Derivative Works as a whole,
-provided Your use, reproduction, and distribution of the Work otherwise complies
-with the conditions stated in this License.
-
-5. Submission of Contributions.
-
-Unless You explicitly state otherwise, any Contribution intentionally submitted
-for inclusion in the Work by You to the Licensor shall be under the terms and
-conditions of this License, without any additional terms or conditions.
-Notwithstanding the above, nothing herein shall supersede or modify the terms of
-any separate license agreement you may have executed with Licensor regarding
-such Contributions.
-
-6. Trademarks.
-
-This License does not grant permission to use the trade names, trademarks,
-service marks, or product names of the Licensor, except as required for
-reasonable and customary use in describing the origin of the Work and
-reproducing the content of the NOTICE file.
-
-7. Disclaimer of Warranty.
-
-Unless required by applicable law or agreed to in writing, Licensor provides the
-Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
-including, without limitation, any warranties or conditions of TITLE,
-NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
-solely responsible for determining the appropriateness of using or
-redistributing the Work and assume any risks associated with Your exercise of
-permissions under this License.
-
-8. Limitation of Liability.
-
-In no event and under no legal theory, whether in tort (including negligence),
-contract, or otherwise, unless required by applicable law (such as deliberate
-and grossly negligent acts) or agreed to in writing, shall any Contributor be
-liable to You for damages, including any direct, indirect, special, incidental,
-or consequential damages of any character arising as a result of this License or
-out of the use or inability to use the Work (including but not limited to
-damages for loss of goodwill, work stoppage, computer failure or malfunction, or
-any and all other commercial damages or losses), even if such Contributor has
-been advised of the possibility of such damages.
-
-9. Accepting Warranty or Additional Liability.
-
-While redistributing the Work or Derivative Works thereof, You may choose to
-offer, and charge a fee for, acceptance of support, warranty, indemnity, or
-other liability obligations and/or rights consistent with this License. However,
-in accepting such obligations, You may act only on Your own behalf and on Your
-sole responsibility, not on behalf of any other Contributor, and only if You
-agree to indemnify, defend, and hold each Contributor harmless for any liability
-incurred by, or claims asserted against, such Contributor by reason of your
-accepting any such warranty or additional liability.
-
-END OF TERMS AND CONDITIONS
-
-APPENDIX: How to apply the Apache License to your work
-
-To apply the Apache License to your work, attach the following boilerplate
-notice, with the fields enclosed by brackets "[]" replaced with your own
-identifying information. (Don't include the brackets!) The text should be
-enclosed in the appropriate comment syntax for the file format. We also
-recommend that a file or class name and description of purpose be included on
-the same "printed page" as the copyright notice for easier identification within
-third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-plugin-test-framework/README.md
----------------------------------------------------------------------
diff --git a/cordova-plugin-test-framework/README.md b/cordova-plugin-test-framework/README.md
deleted file mode 100644
index b91f59a..0000000
--- a/cordova-plugin-test-framework/README.md
+++ /dev/null
@@ -1,123 +0,0 @@
-# Cordova Plugin Test Framework
-
-The `org.apache.cordova.test-harness` plugin does two things:
-
-1. [Defines the interface for cordova plugins to write tests](#interface)
-2. [Provides a test harness for actually running those tests](#harness)
-
-Tests run directly inside existing cordova projects, so you can rapidly switch between testing and development. You can also be sure that your test suite is testing the exact versions of plugins and platforms that your app is using.
-
-# TLDR; Try it
-
-1. Use your existing cordova app, or create a new one.
-2. To make this interesting, add some plugins which actually bundle tests. Here are a few examples:
-
- cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git#cdvtest
- cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion.git#cdvtest
- cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git#cdvtest
-
-3. To run plugin tests, install this plugin.
-
- cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-labs.git#cdvtest:cordova-plugin-test-framework
-
-4. Change the start page in `config.xml` with `<content src="cdvtests/index.html" />`.
-5. Thats it! Now just `cordova run` and explore.
-6. Switch back to application development in-place by removing that line from `config.xml`.
-
-
-<a name="interface" />
-## Writing Plugin Tests
-
-### Where do tests live?
-
-Add a `<js-module>` named `tests` to your `plugin.xml`. E.g. `org.apache.cordova.device` plugin has this in its [`plugin.xml`](https://github.com/apache/cordova-plugin-device/blob/cdvtest/plugin.xml):
-
-```
-<js-module src="test/tests.js" name="tests">
-</js-module>
-```
-
-The `org.apache.cordova.test-harness` plugin will automatically find all `tests` modules across all plugins.
-
-### Defining Auto Tests
-
-Simply export a function named `defineAutoTests`, which (gasp!) defines your auto-tests when run. Use the [`jasmine-2.0`](http://jasmine.github.io/2.0/introduction.html) format. E.g.:
-
-```
-exports.defineAutoTests = function() {
-
- define('awesome tests', function() {
- it('do something sync', function() {
- expect(1).toBe(1);
- ...
- });
-
- it('do something async', function(done) {
- setTimeout(function() {
- expect(1).toBe(1);
- ...
- done();
- }, 100);
- });
- });
-
- define('more awesome tests', function() {
- ...
- });
-
-};
-```
-
-Note: Your tests will automatically be labeled with your plugin id, so do not prefix your test descriptions.
-
-
-### Defining Manual Tests
-
-Simply export a function named `defineManualTests`, which (gasp!) defines your manual-tests when run. Manual tests do *not* use jasmine-2.0, and success/failure results are not officially reported in any standard way. Instead, create buttons to run arbitraty javascript when clicked, and display output to user using `console` or by manipulating a provided DOM element. E.g.:
-
-```
-exports.defineManualTests = function(contentEl, createActionButton) {
-
- createActionButton('Simple Test', function() {
- console.log(JSON.stringify(foo, null, '\t'));
- });
-
- createActionButton('Complex Test', function() {
- contentEl.innerHTML = ...;
- });
-
-};
-```
-
-Note: Your tests will automatically be labeled with your plugin id, so do not prefix your test descriptions.
-
-
-<a name="example">
-### Example
-
-See: [`org.apache.cordova.device`'s tests](https://github.com/apache/cordova-plugin-device/blob/cdvtest/test/tests.js).
-
-
-<a name="harness" />
-## Running Plugin Tests
-
-1. Use your existing cordova app, or create a new one.
-2. Add this plugin:
-
- cordova plugin add http://git-wip-us.apache.org/repos/asf/cordova-labs.git#cdvtest:cordova-plugin-test-framework
-
-3. Change the start page in `config.xml` with `<content src="cdvtests/index.html" />`.
-4. Thats it! Now just `cordova run` and explore.
-5. Switch back to application development in-place by removing that line from `config.xml`.
-
-
-## FAQ
-
-* Q: Should I add `org.apache.cordova.test-harness` as a `<dependancy>` of my plugin?
- * A: No. The end-user should decide if they want to install the test harness, not your plugin (most users won't).
-
-* Q: What do I do if my plugin tests must have very large assets?
- * A: Don't bundle those assets with your plugin. If you can, have your tests fail gracefully if those assets don't don't exist (perhaps log a warning, perhaps fail a single asset-checking test, and skip the rest). Then, ideally download those assets automatically into local storage the first time tests run. Or create a manual test step to download and install assets. As a final alternative, split those test assets into a separate plugin, and instruct users to install that plugin to run your full test suite.
-
-* Q: Should I ship my app with the test harness plugin installed?
- * A: Not likely. If you want, you can. Then your app could even embed a link to the test page (`cdvtests/index.html`) from a help section of your app, to give end users a way to run your test suite out in the feild. That may help diagnose causes of issues within your app. Maybe.
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-plugin-test-framework/plugin.xml
----------------------------------------------------------------------
diff --git a/cordova-plugin-test-framework/plugin.xml b/cordova-plugin-test-framework/plugin.xml
deleted file mode 100644
index 3ce8692..0000000
--- a/cordova-plugin-test-framework/plugin.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
- xmlns:rim="http://www.blackberry.com/ns/widgets"
- xmlns:android="http://schemas.android.com/apk/res/android"
- id="org.apache.cordova.test-framework"
- version="0.1">
- <name>Test Framework</name>
- <description>Cordova Test Framework Plugin</description>
- <license>Apache 2.0</license>
- <keywords>cordova,test</keywords>
-
- <!-- <dependency id="org.apache.cordova.appsettings" /> -->
-
- <js-module src="www/tests.js" name="cdvtests" />
- <js-module src="www/jasmine_helpers.js" name="jasmine_helpers" />
- <js-module src="www/main.js" name="main" />
-
- <asset src="www/assets" target="cdvtests" />
-
-</plugin>
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-plugin-test-framework/www/assets/index.html
----------------------------------------------------------------------
diff --git a/cordova-plugin-test-framework/www/assets/index.html b/cordova-plugin-test-framework/www/assets/index.html
deleted file mode 100644
index 20e0c5f..0000000
--- a/cordova-plugin-test-framework/www/assets/index.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>Cordova tests</title>
- <meta charset="utf-8" />
- <meta name="format-detection" content="telephone=no" />
- <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
-
- <link rel="stylesheet" type="text/css" href="topcoat-0.7.5/css/topcoat-mobile-light.min.css">
- <link rel="stylesheet" type="text/css" href="jasmine-2.0.0/jasmine.css" media="screen">
- <link rel="stylesheet" type="text/css" href="main.css" media="screen">
-
- <script type="text/javascript" src="jasmine-2.0.0/jasmine.js"></script>
- <script type="text/javascript" src="jasmine-2.0.0/jasmine-html.js"></script>
-
- <script type="text/javascript" src="../cordova.js"></script>
-
- <!-- App scripts -->
- </head>
-
- <body>
- <div id='title'></div>
- <div id='middle'>
- <div id='buttons'></div>
- <div id='content'></div>
- </div>
- <div id='log'>
- <div id='log--title'>Log</div>
- <div id='log--content'></div>
- </div>
- <script>
- document.addEventListener("deviceready", function() {
- cordova.require('org.apache.cordova.test-framework.main').init();
- });
- </script>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/boot.js
----------------------------------------------------------------------
diff --git a/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/boot.js b/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/boot.js
deleted file mode 100755
index ec8baa0..0000000
--- a/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/boot.js
+++ /dev/null
@@ -1,181 +0,0 @@
-/**
- Starting with version 2.0, this file "boots" Jasmine, performing all of the necessary initialization before executing the loaded environment and all of a project's specs. This file should be loaded after `jasmine.js`, but before any project source files or spec files are loaded. Thus this file can also be used to customize Jasmine for a project.
-
- If a project is using Jasmine via the standalone distribution, this file can be customized directly. If a project is using Jasmine via the [Ruby gem][jasmine-gem], this file can be copied into the support directory via `jasmine copy_boot_js`. Other environments (e.g., Python) will have different mechanisms.
-
- The location of `boot.js` can be specified and/or overridden in `jasmine.yml`.
-
- [jasmine-gem]: http://github.com/pivotal/jasmine-gem
- */
-
-(function() {
-
- /**
- * ## Require & Instantiate
- *
- * Require Jasmine's core files. Specifically, this requires and attaches all of Jasmine's code to the `jasmine` reference.
- */
- window.jasmine = jasmineRequire.core(jasmineRequire);
-
- /**
- * Since this is being run in a browser and the results should populate to an HTML page, require the HTML-specific Jasmine code, injecting the same reference.
- */
- jasmineRequire.html(jasmine);
-
- /**
- * Create the Jasmine environment. This is used to run all specs in a project.
- */
- var env = jasmine.getEnv();
-
- /**
- * ## The Global Interface
- *
- * Build up the functions that will be exposed as the Jasmine public interface. A project can customize, rename or alias any of these functions as desired, provided the implementation remains unchanged.
- */
- var jasmineInterface = {
- describe: function(description, specDefinitions) {
- return env.describe(description, specDefinitions);
- },
-
- xdescribe: function(description, specDefinitions) {
- return env.xdescribe(description, specDefinitions);
- },
-
- it: function(desc, func) {
- return env.it(desc, func);
- },
-
- xit: function(desc, func) {
- return env.xit(desc, func);
- },
-
- beforeEach: function(beforeEachFunction) {
- return env.beforeEach(beforeEachFunction);
- },
-
- afterEach: function(afterEachFunction) {
- return env.afterEach(afterEachFunction);
- },
-
- expect: function(actual) {
- return env.expect(actual);
- },
-
- pending: function() {
- return env.pending();
- },
-
- spyOn: function(obj, methodName) {
- return env.spyOn(obj, methodName);
- },
-
- jsApiReporter: new jasmine.JsApiReporter({
- timer: new jasmine.Timer()
- })
- };
-
- /**
- * Add all of the Jasmine global/public interface to the proper global, so a project can use the public interface directly. For example, calling `describe` in specs instead of `jasmine.getEnv().describe`.
- */
- if (typeof window == "undefined" && typeof exports == "object") {
- extend(exports, jasmineInterface);
- } else {
- extend(window, jasmineInterface);
- }
-
- /**
- * Expose the interface for adding custom equality testers.
- */
- jasmine.addCustomEqualityTester = function(tester) {
- env.addCustomEqualityTester(tester);
- };
-
- /**
- * Expose the interface for adding custom expectation matchers
- */
- jasmine.addMatchers = function(matchers) {
- return env.addMatchers(matchers);
- };
-
- /**
- * Expose the mock interface for the JavaScript timeout functions
- */
- jasmine.clock = function() {
- return env.clock;
- };
-
- /**
- * ## Runner Parameters
- *
- * More browser specific code - wrap the query string in an object and to allow for getting/setting parameters from the runner user interface.
- */
-
- var queryString = new jasmine.QueryString({
- getWindowLocation: function() { return window.location; }
- });
-
- var catchingExceptions = queryString.getParam("catch");
- env.catchExceptions(typeof catchingExceptions === "undefined" ? true : catchingExceptions);
-
- /**
- * ## Reporters
- * The `HtmlReporter` builds all of the HTML UI for the runner page. This reporter paints the dots, stars, and x's for specs, as well as all spec names and all failures (if any).
- */
- var htmlReporter = new jasmine.HtmlReporter({
- env: env,
- onRaiseExceptionsClick: function() { queryString.setParam("catch", !env.catchingExceptions()); },
- getContainer: function() { return document.body; },
- createElement: function() { return document.createElement.apply(document, arguments); },
- createTextNode: function() { return document.createTextNode.apply(document, arguments); },
- timer: new jasmine.Timer()
- });
-
- /**
- * The `jsApiReporter` also receives spec results, and is used by any environment that needs to extract the results from JavaScript.
- */
- env.addReporter(jasmineInterface.jsApiReporter);
- env.addReporter(htmlReporter);
-
- /**
- * Filter which specs will be run by matching the start of the full name against the `spec` query param.
- */
- var specFilter = new jasmine.HtmlSpecFilter({
- filterString: function() { return queryString.getParam("spec"); }
- });
-
- env.specFilter = function(spec) {
- return specFilter.matches(spec.getFullName());
- };
-
- /**
- * Setting up timing functions to be able to be overridden. Certain browsers (Safari, IE 8, phantomjs) require this hack.
- */
- window.setTimeout = window.setTimeout;
- window.setInterval = window.setInterval;
- window.clearTimeout = window.clearTimeout;
- window.clearInterval = window.clearInterval;
-
- /**
- * ## Execution
- *
- * Replace the browser window's `onload`, ensure it's called, and then run all of the loaded specs. This includes initializing the `HtmlReporter` instance and then executing the loaded Jasmine environment. All of this will happen after all of the specs are loaded.
- */
- var currentWindowOnload = window.onload;
-
- window.onload = function() {
- if (currentWindowOnload) {
- currentWindowOnload();
- }
- htmlReporter.initialize();
- env.execute();
- };
-
- /**
- * Helper function for readability above.
- */
- function extend(destination, source) {
- for (var property in source) destination[property] = source[property];
- return destination;
- }
-
-}());
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/console.js
----------------------------------------------------------------------
diff --git a/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/console.js b/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/console.js
deleted file mode 100755
index 33c1698..0000000
--- a/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/console.js
+++ /dev/null
@@ -1,160 +0,0 @@
-/*
-Copyright (c) 2008-2013 Pivotal Labs
-
-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.
-*/
-function getJasmineRequireObj() {
- if (typeof module !== "undefined" && module.exports) {
- return exports;
- } else {
- window.jasmineRequire = window.jasmineRequire || {};
- return window.jasmineRequire;
- }
-}
-
-getJasmineRequireObj().console = function(jRequire, j$) {
- j$.ConsoleReporter = jRequire.ConsoleReporter();
-};
-
-getJasmineRequireObj().ConsoleReporter = function() {
-
- var noopTimer = {
- start: function(){},
- elapsed: function(){ return 0; }
- };
-
- function ConsoleReporter(options) {
- var print = options.print,
- showColors = options.showColors || false,
- onComplete = options.onComplete || function() {},
- timer = options.timer || noopTimer,
- specCount,
- failureCount,
- failedSpecs = [],
- pendingCount,
- ansi = {
- green: '\x1B[32m',
- red: '\x1B[31m',
- yellow: '\x1B[33m',
- none: '\x1B[0m'
- };
-
- this.jasmineStarted = function() {
- specCount = 0;
- failureCount = 0;
- pendingCount = 0;
- print("Started");
- printNewline();
- timer.start();
- };
-
- this.jasmineDone = function() {
- printNewline();
- for (var i = 0; i < failedSpecs.length; i++) {
- specFailureDetails(failedSpecs[i]);
- }
-
- printNewline();
- var specCounts = specCount + " " + plural("spec", specCount) + ", " +
- failureCount + " " + plural("failure", failureCount);
-
- if (pendingCount) {
- specCounts += ", " + pendingCount + " pending " + plural("spec", pendingCount);
- }
-
- print(specCounts);
-
- printNewline();
- var seconds = timer.elapsed() / 1000;
- print("Finished in " + seconds + " " + plural("second", seconds));
-
- printNewline();
-
- onComplete(failureCount === 0);
- };
-
- this.specDone = function(result) {
- specCount++;
-
- if (result.status == "pending") {
- pendingCount++;
- print(colored("yellow", "*"));
- return;
- }
-
- if (result.status == "passed") {
- print(colored("green", '.'));
- return;
- }
-
- if (result.status == "failed") {
- failureCount++;
- failedSpecs.push(result);
- print(colored("red", 'F'));
- }
- };
-
- return this;
-
- function printNewline() {
- print("\n");
- }
-
- function colored(color, str) {
- return showColors ? (ansi[color] + str + ansi.none) : str;
- }
-
- function plural(str, count) {
- return count == 1 ? str : str + "s";
- }
-
- function repeat(thing, times) {
- var arr = [];
- for (var i = 0; i < times; i++) {
- arr.push(thing);
- }
- return arr;
- }
-
- function indent(str, spaces) {
- var lines = (str || '').split("\n");
- var newArr = [];
- for (var i = 0; i < lines.length; i++) {
- newArr.push(repeat(" ", spaces).join("") + lines[i]);
- }
- return newArr.join("\n");
- }
-
- function specFailureDetails(result) {
- printNewline();
- print(result.fullName);
-
- for (var i = 0; i < result.failedExpectations.length; i++) {
- var failedExpectation = result.failedExpectations[i];
- printNewline();
- print(indent(failedExpectation.stack, 2));
- }
-
- printNewline();
- }
- }
-
- return ConsoleReporter;
-};
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/jasmine-html.js
----------------------------------------------------------------------
diff --git a/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/jasmine-html.js b/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/jasmine-html.js
deleted file mode 100755
index 985d0d1..0000000
--- a/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/jasmine-html.js
+++ /dev/null
@@ -1,359 +0,0 @@
-/*
-Copyright (c) 2008-2013 Pivotal Labs
-
-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.
-*/
-jasmineRequire.html = function(j$) {
- j$.ResultsNode = jasmineRequire.ResultsNode();
- j$.HtmlReporter = jasmineRequire.HtmlReporter(j$);
- j$.QueryString = jasmineRequire.QueryString();
- j$.HtmlSpecFilter = jasmineRequire.HtmlSpecFilter();
-};
-
-jasmineRequire.HtmlReporter = function(j$) {
-
- var noopTimer = {
- start: function() {},
- elapsed: function() { return 0; }
- };
-
- function HtmlReporter(options) {
- var env = options.env || {},
- getContainer = options.getContainer,
- createElement = options.createElement,
- createTextNode = options.createTextNode,
- onRaiseExceptionsClick = options.onRaiseExceptionsClick || function() {},
- timer = options.timer || noopTimer,
- results = [],
- specsExecuted = 0,
- failureCount = 0,
- pendingSpecCount = 0,
- htmlReporterMain,
- symbols;
-
- this.initialize = function() {
- htmlReporterMain = createDom("div", {className: "html-reporter"},
- createDom("div", {className: "banner"},
- createDom("span", {className: "title"}, "Jasmine"),
- createDom("span", {className: "version"}, j$.version)
- ),
- createDom("ul", {className: "symbol-summary"}),
- createDom("div", {className: "alert"}),
- createDom("div", {className: "results"},
- createDom("div", {className: "failures"})
- )
- );
- getContainer().appendChild(htmlReporterMain);
-
- symbols = find(".symbol-summary");
- };
-
- var totalSpecsDefined;
- this.jasmineStarted = function(options) {
- totalSpecsDefined = options.totalSpecsDefined || 0;
- timer.start();
- };
-
- var summary = createDom("div", {className: "summary"});
-
- var topResults = new j$.ResultsNode({}, "", null),
- currentParent = topResults;
-
- this.suiteStarted = function(result) {
- currentParent.addChild(result, "suite");
- currentParent = currentParent.last();
- };
-
- this.suiteDone = function(result) {
- if (currentParent == topResults) {
- return;
- }
-
- currentParent = currentParent.parent;
- };
-
- this.specStarted = function(result) {
- currentParent.addChild(result, "spec");
- };
-
- var failures = [];
- this.specDone = function(result) {
- if (result.status != "disabled") {
- specsExecuted++;
- }
-
- symbols.appendChild(createDom("li", {
- className: result.status,
- id: "spec_" + result.id,
- title: result.fullName
- }
- ));
-
- if (result.status == "failed") {
- failureCount++;
-
- var failure =
- createDom("div", {className: "spec-detail failed"},
- createDom("div", {className: "description"},
- createDom("a", {title: result.fullName, href: specHref(result)}, result.fullName)
- ),
- createDom("div", {className: "messages"})
- );
- var messages = failure.childNodes[1];
-
- for (var i = 0; i < result.failedExpectations.length; i++) {
- var expectation = result.failedExpectations[i];
- messages.appendChild(createDom("div", {className: "result-message"}, expectation.message));
- messages.appendChild(createDom("div", {className: "stack-trace"}, expectation.stack));
- }
-
- failures.push(failure);
- }
-
- if (result.status == "pending") {
- pendingSpecCount++;
- }
- };
-
- this.jasmineDone = function() {
- var banner = find(".banner");
- banner.appendChild(createDom("span", {className: "duration"}, "finished in " + timer.elapsed() / 1000 + "s"));
-
- var alert = find(".alert");
-
- alert.appendChild(createDom("span", { className: "exceptions" },
- createDom("label", { className: "label", 'for': "raise-exceptions" }, "raise exceptions"),
- createDom("input", {
- className: "raise",
- id: "raise-exceptions",
- type: "checkbox"
- })
- ));
- var checkbox = find("input");
-
- checkbox.checked = !env.catchingExceptions();
- checkbox.onclick = onRaiseExceptionsClick;
-
- if (specsExecuted < totalSpecsDefined) {
- var skippedMessage = "Ran " + specsExecuted + " of " + totalSpecsDefined + " specs - run all";
- alert.appendChild(
- createDom("span", {className: "bar skipped"},
- createDom("a", {href: "?", title: "Run all specs"}, skippedMessage)
- )
- );
- }
- var statusBarMessage = "" + pluralize("spec", specsExecuted) + ", " + pluralize("failure", failureCount);
- if (pendingSpecCount) { statusBarMessage += ", " + pluralize("pending spec", pendingSpecCount); }
-
- var statusBarClassName = "bar " + ((failureCount > 0) ? "failed" : "passed");
- alert.appendChild(createDom("span", {className: statusBarClassName}, statusBarMessage));
-
- var results = find(".results");
- results.appendChild(summary);
-
- summaryList(topResults, summary);
-
- function summaryList(resultsTree, domParent) {
- var specListNode;
- for (var i = 0; i < resultsTree.children.length; i++) {
- var resultNode = resultsTree.children[i];
- if (resultNode.type == "suite") {
- var suiteListNode = createDom("ul", {className: "suite", id: "suite-" + resultNode.result.id},
- createDom("li", {className: "suite-detail"},
- createDom("a", {href: specHref(resultNode.result)}, resultNode.result.description)
- )
- );
-
- summaryList(resultNode, suiteListNode);
- domParent.appendChild(suiteListNode);
- }
- if (resultNode.type == "spec") {
- if (domParent.getAttribute("class") != "specs") {
- specListNode = createDom("ul", {className: "specs"});
- domParent.appendChild(specListNode);
- }
- specListNode.appendChild(
- createDom("li", {
- className: resultNode.result.status,
- id: "spec-" + resultNode.result.id
- },
- createDom("a", {href: specHref(resultNode.result)}, resultNode.result.description)
- )
- );
- }
- }
- }
-
- if (failures.length) {
- alert.appendChild(
- createDom('span', {className: "menu bar spec-list"},
- createDom("span", {}, "Spec List | "),
- createDom('a', {className: "failures-menu", href: "#"}, "Failures")));
- alert.appendChild(
- createDom('span', {className: "menu bar failure-list"},
- createDom('a', {className: "spec-list-menu", href: "#"}, "Spec List"),
- createDom("span", {}, " | Failures ")));
-
- find(".failures-menu").onclick = function() {
- setMenuModeTo('failure-list');
- };
- find(".spec-list-menu").onclick = function() {
- setMenuModeTo('spec-list');
- };
-
- setMenuModeTo('failure-list');
-
- var failureNode = find(".failures");
- for (var i = 0; i < failures.length; i++) {
- failureNode.appendChild(failures[i]);
- }
- }
- };
-
- return this;
-
- function find(selector) {
- return getContainer().querySelector(selector);
- }
-
- function createDom(type, attrs, childrenVarArgs) {
- var el = createElement(type);
-
- for (var i = 2; i < arguments.length; i++) {
- var child = arguments[i];
-
- if (typeof child === 'string') {
- el.appendChild(createTextNode(child));
- } else {
- if (child) {
- el.appendChild(child);
- }
- }
- }
-
- for (var attr in attrs) {
- if (attr == "className") {
- el[attr] = attrs[attr];
- } else {
- el.setAttribute(attr, attrs[attr]);
- }
- }
-
- return el;
- }
-
- function pluralize(singular, count) {
- var word = (count == 1 ? singular : singular + "s");
-
- return "" + count + " " + word;
- }
-
- function specHref(result) {
- return "?spec=" + encodeURIComponent(result.fullName);
- }
-
- function setMenuModeTo(mode) {
- htmlReporterMain.setAttribute("class", "html-reporter " + mode);
- }
- }
-
- return HtmlReporter;
-};
-
-jasmineRequire.HtmlSpecFilter = function() {
- function HtmlSpecFilter(options) {
- var filterString = options && options.filterString() && options.filterString().replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
- var filterPattern = new RegExp(filterString);
-
- this.matches = function(specName) {
- return filterPattern.test(specName);
- };
- }
-
- return HtmlSpecFilter;
-};
-
-jasmineRequire.ResultsNode = function() {
- function ResultsNode(result, type, parent) {
- this.result = result;
- this.type = type;
- this.parent = parent;
-
- this.children = [];
-
- this.addChild = function(result, type) {
- this.children.push(new ResultsNode(result, type, this));
- };
-
- this.last = function() {
- return this.children[this.children.length - 1];
- };
- }
-
- return ResultsNode;
-};
-
-jasmineRequire.QueryString = function() {
- function QueryString(options) {
-
- this.setParam = function(key, value) {
- var paramMap = queryStringToParamMap();
- paramMap[key] = value;
- options.getWindowLocation().search = toQueryString(paramMap);
- };
-
- this.getParam = function(key) {
- return queryStringToParamMap()[key];
- };
-
- return this;
-
- function toQueryString(paramMap) {
- var qStrPairs = [];
- for (var prop in paramMap) {
- qStrPairs.push(encodeURIComponent(prop) + "=" + encodeURIComponent(paramMap[prop]));
- }
- return "?" + qStrPairs.join('&');
- }
-
- function queryStringToParamMap() {
- var paramStr = options.getWindowLocation().search.substring(1),
- params = [],
- paramMap = {};
-
- if (paramStr.length > 0) {
- params = paramStr.split('&');
- for (var i = 0; i < params.length; i++) {
- var p = params[i].split('=');
- var value = decodeURIComponent(p[1]);
- if (value === "true" || value === "false") {
- value = JSON.parse(value);
- }
- paramMap[decodeURIComponent(p[0])] = value;
- }
- }
-
- return paramMap;
- }
-
- }
-
- return QueryString;
-};
http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/ce08dd6c/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/jasmine.css
----------------------------------------------------------------------
diff --git a/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/jasmine.css b/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/jasmine.css
deleted file mode 100755
index f4d35b6..0000000
--- a/cordova-plugin-test-framework/www/assets/jasmine-2.0.0/jasmine.css
+++ /dev/null
@@ -1,55 +0,0 @@
-body { background-color: #eeeeee; padding: 0; margin: 5px; overflow-y: scroll; }
-
-.html-reporter { font-size: 11px; font-family: Monaco, "Lucida Console", monospace; line-height: 14px; color: #333333; }
-.html-reporter a { text-decoration: none; }
-.html-reporter a:hover { text-decoration: underline; }
-.html-reporter p, .html-reporter h1, .html-reporter h2, .html-reporter h3, .html-reporter h4, .html-reporter h5, .html-reporter h6 { margin: 0; line-height: 14px; }
-.html-reporter .banner, .html-reporter .symbol-summary, .html-reporter .summary, .html-reporter .result-message, .html-reporter .spec .description, .html-reporter .spec-detail .description, .html-reporter .alert .bar, .html-reporter .stack-trace { padding-left: 9px; padding-right: 9px; }
-.html-reporter .banner .version { margin-left: 14px; }
-.html-reporter #jasmine_content { position: fixed; right: 100%; }
-.html-reporter .version { color: #aaaaaa; }
-.html-reporter .banner { margin-top: 14px; }
-.html-reporter .duration { color: #aaaaaa; float: right; }
-.html-reporter .symbol-summary { overflow: hidden; *zoom: 1; margin: 14px 0; }
-.html-reporter .symbol-summary li { display: inline-block; height: 8px; width: 14px; font-size: 16px; }
-.html-reporter .symbol-summary li.passed { font-size: 14px; }
-.html-reporter .symbol-summary li.passed:before { color: #5e7d00; content: "\02022"; }
-.html-reporter .symbol-summary li.failed { line-height: 9px; }
-.html-reporter .symbol-summary li.failed:before { color: #b03911; content: "x"; font-weight: bold; margin-left: -1px; }
-.html-reporter .symbol-summary li.disabled { font-size: 14px; }
-.html-reporter .symbol-summary li.disabled:before { color: #bababa; content: "\02022"; }
-.html-reporter .symbol-summary li.pending { line-height: 17px; }
-.html-reporter .symbol-summary li.pending:before { color: #ba9d37; content: "*"; }
-.html-reporter .exceptions { color: #fff; float: right; margin-top: 5px; margin-right: 5px; }
-.html-reporter .bar { line-height: 28px; font-size: 14px; display: block; color: #eee; }
-.html-reporter .bar.failed { background-color: #b03911; }
-.html-reporter .bar.passed { background-color: #a6b779; }
-.html-reporter .bar.skipped { background-color: #bababa; }
-.html-reporter .bar.menu { background-color: #fff; color: #aaaaaa; }
-.html-reporter .bar.menu a { color: #333333; }
-.html-reporter .bar a { color: white; }
-.html-reporter.spec-list .bar.menu.failure-list, .html-reporter.spec-list .results .failures { display: none; }
-.html-reporter.failure-list .bar.menu.spec-list, .html-reporter.failure-list .summary { display: none; }
-.html-reporter .running-alert { background-color: #666666; }
-.html-reporter .results { margin-top: 14px; }
-.html-reporter.showDetails .summaryMenuItem { font-weight: normal; text-decoration: inherit; }
-.html-reporter.showDetails .summaryMenuItem:hover { text-decoration: underline; }
-.html-reporter.showDetails .detailsMenuItem { font-weight: bold; text-decoration: underline; }
-.html-reporter.showDetails .summary { display: none; }
-.html-reporter.showDetails #details { display: block; }
-.html-reporter .summaryMenuItem { font-weight: bold; text-decoration: underline; }
-.html-reporter .summary { margin-top: 14px; }
-.html-reporter .summary ul { list-style-type: none; margin-left: 14px; padding-top: 0; padding-left: 0; }
-.html-reporter .summary ul.suite { margin-top: 7px; margin-bottom: 7px; }
-.html-reporter .summary li.passed a { color: #5e7d00; }
-.html-reporter .summary li.failed a { color: #b03911; }
-.html-reporter .summary li.pending a { color: #ba9d37; }
-.html-reporter .description + .suite { margin-top: 0; }
-.html-reporter .suite { margin-top: 14px; }
-.html-reporter .suite a { color: #333333; }
-.html-reporter .failures .spec-detail { margin-bottom: 28px; }
-.html-reporter .failures .spec-detail .description { background-color: #b03911; }
-.html-reporter .failures .spec-detail .description a { color: white; }
-.html-reporter .result-message { padding-top: 14px; color: #333333; white-space: pre; }
-.html-reporter .result-message span.result { display: block; }
-.html-reporter .stack-trace { margin: 5px 0 0 0; max-height: 224px; overflow: auto; line-height: 18px; color: #666666; border: 1px solid #ddd; background: white; white-space: pre; }