Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
477fcef8
Commit
477fcef8
authored
Apr 03, 2012
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add qUnit testing plugin for jQuery. It allows to unit test any JavaScript application.
parent
0267cc3f
Changes
14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2040 additions
and
0 deletions
+2040
-0
bt5/erp5_jquery_plugin_qunit/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/qunit.xml
...lateItem/portal_skins/erp5_jquery/jquery/plugin/qunit.xml
+26
-0
bt5/erp5_jquery_plugin_qunit/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/qunit/qunit.css.xml
...ortal_skins/erp5_jquery/jquery/plugin/qunit/qunit.css.xml
+283
-0
bt5/erp5_jquery_plugin_qunit/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/qunit/qunit.js.xml
...portal_skins/erp5_jquery/jquery/plugin/qunit/qunit.js.xml
+1717
-0
bt5/erp5_jquery_plugin_qunit/bt/change_log
bt5/erp5_jquery_plugin_qunit/bt/change_log
+2
-0
bt5/erp5_jquery_plugin_qunit/bt/copyright_list
bt5/erp5_jquery_plugin_qunit/bt/copyright_list
+1
-0
bt5/erp5_jquery_plugin_qunit/bt/dependency_list
bt5/erp5_jquery_plugin_qunit/bt/dependency_list
+1
-0
bt5/erp5_jquery_plugin_qunit/bt/description
bt5/erp5_jquery_plugin_qunit/bt/description
+2
-0
bt5/erp5_jquery_plugin_qunit/bt/license
bt5/erp5_jquery_plugin_qunit/bt/license
+1
-0
bt5/erp5_jquery_plugin_qunit/bt/maintainer_list
bt5/erp5_jquery_plugin_qunit/bt/maintainer_list
+1
-0
bt5/erp5_jquery_plugin_qunit/bt/revision
bt5/erp5_jquery_plugin_qunit/bt/revision
+1
-0
bt5/erp5_jquery_plugin_qunit/bt/template_format_version
bt5/erp5_jquery_plugin_qunit/bt/template_format_version
+1
-0
bt5/erp5_jquery_plugin_qunit/bt/template_path_list
bt5/erp5_jquery_plugin_qunit/bt/template_path_list
+2
-0
bt5/erp5_jquery_plugin_qunit/bt/title
bt5/erp5_jquery_plugin_qunit/bt/title
+1
-0
bt5/erp5_jquery_plugin_qunit/bt/version
bt5/erp5_jquery_plugin_qunit/bt/version
+1
-0
No files found.
bt5/erp5_jquery_plugin_qunit/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/qunit.xml
0 → 100644
View file @
477fcef8
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
qunit
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_jquery_plugin_qunit/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/qunit/qunit.css.xml
0 → 100644
View file @
477fcef8
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Cacheable__manager_id
</string>
</key>
<value>
<string>
http_cache
</string>
</value>
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts33438270.33
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
qunit.css
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/css
</string>
</value>
</item>
<item>
<key>
<string>
data
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/**\n
* QUnit v1.5.0pre - A JavaScript Unit Testing Framework\n
*\n
* http://docs.jquery.com/QUnit\n
*\n
* Copyright (c) 2012 John Resig, Jörn Zaefferer\n
* Dual licensed under the MIT (MIT-LICENSE.txt)\n
* or GPL (GPL-LICENSE.txt) licenses.\n
*/\n
\n
/** Font Family and Sizes */\n
\n
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {\n
\tfont-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;\n
}\n
\n
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }\n
#qunit-tests { font-size: smaller; }\n
\n
\n
/** Resets */\n
\n
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {\n
\tmargin: 0;\n
\tpadding: 0;\n
}\n
\n
\n
/** Header */\n
\n
#qunit-header {\n
\tpadding: 0.5em 0 0.5em 1em;\n
\n
\tcolor: #8699a4;\n
\tbackground-color: #0d3349;\n
\n
\tfont-size: 1.5em;\n
\tline-height: 1em;\n
\tfont-weight: normal;\n
\n
\tborder-radius: 15px 15px 0 0;\n
\t-moz-border-radius: 15px 15px 0 0;\n
\t-webkit-border-top-right-radius: 15px;\n
\t-webkit-border-top-left-radius: 15px;\n
}\n
\n
#qunit-header a {\n
\ttext-decoration: none;\n
\tcolor: #c2ccd1;\n
}\n
\n
#qunit-header a:hover,\n
#qunit-header a:focus {\n
\tcolor: #fff;\n
}\n
\n
#qunit-header label {\n
\tdisplay: inline-block;\n
}\n
\n
#qunit-banner {\n
\theight: 5px;\n
}\n
\n
#qunit-testrunner-toolbar {\n
\tpadding: 0.5em 0 0.5em 2em;\n
\tcolor: #5E740B;\n
\tbackground-color: #eee;\n
}\n
\n
#qunit-userAgent {\n
\tpadding: 0.5em 0 0.5em 2.5em;\n
\tbackground-color: #2b81af;\n
\tcolor: #fff;\n
\ttext-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;\n
}\n
\n
\n
/** Tests: Pass/Fail */\n
\n
#qunit-tests {\n
\tlist-style-position: inside;\n
}\n
\n
#qunit-tests li {\n
\tpadding: 0.4em 0.5em 0.4em 2.5em;\n
\tborder-bottom: 1px solid #fff;\n
\tlist-style-position: inside;\n
}\n
\n
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {\n
\tdisplay: none;\n
}\n
\n
#qunit-tests li strong {\n
\tcursor: pointer;\n
}\n
\n
#qunit-tests li a {\n
\tpadding: 0.5em;\n
\tcolor: #c2ccd1;\n
\ttext-decoration: none;\n
}\n
#qunit-tests li a:hover,\n
#qunit-tests li a:focus {\n
\tcolor: #000;\n
}\n
\n
#qunit-tests ol {\n
\tmargin-top: 0.5em;\n
\tpadding: 0.5em;\n
\n
\tbackground-color: #fff;\n
\n
\tborder-radius: 15px;\n
\t-moz-border-radius: 15px;\n
\t-webkit-border-radius: 15px;\n
\n
\tbox-shadow: inset 0px 2px 13px #999;\n
\t-moz-box-shadow: inset 0px 2px 13px #999;\n
\t-webkit-box-shadow: inset 0px 2px 13px #999;\n
}\n
\n
#qunit-tests table {\n
\tborder-collapse: collapse;\n
\tmargin-top: .2em;\n
}\n
\n
#qunit-tests th {\n
\ttext-align: right;\n
\tvertical-align: top;\n
\tpadding: 0 .5em 0 0;\n
}\n
\n
#qunit-tests td {\n
\tvertical-align: top;\n
}\n
\n
#qunit-tests pre {\n
\tmargin: 0;\n
\twhite-space: pre-wrap;\n
\tword-wrap: break-word;\n
}\n
\n
#qunit-tests del {\n
\tbackground-color: #e0f2be;\n
\tcolor: #374e0c;\n
\ttext-decoration: none;\n
}\n
\n
#qunit-tests ins {\n
\tbackground-color: #ffcaca;\n
\tcolor: #500;\n
\ttext-decoration: none;\n
}\n
\n
/*** Test Counts */\n
\n
#qunit-tests b.counts { color: black; }\n
#qunit-tests b.passed { color: #5E740B; }\n
#qunit-tests b.failed { color: #710909; }\n
\n
#qunit-tests li li {\n
\tmargin: 0.5em;\n
\tpadding: 0.4em 0.5em 0.4em 0.5em;\n
\tbackground-color: #fff;\n
\tborder-bottom: none;\n
\tlist-style-position: inside;\n
}\n
\n
/*** Passing Styles */\n
\n
#qunit-tests li li.pass {\n
\tcolor: #5E740B;\n
\tbackground-color: #fff;\n
\tborder-left: 26px solid #C6E746;\n
}\n
\n
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }\n
#qunit-tests .pass .test-name { color: #366097; }\n
\n
#qunit-tests .pass .test-actual,\n
#qunit-tests .pass .test-expected { color: #999999; }\n
\n
#qunit-banner.qunit-pass { background-color: #C6E746; }\n
\n
/*** Failing Styles */\n
\n
#qunit-tests li li.fail {\n
\tcolor: #710909;\n
\tbackground-color: #fff;\n
\tborder-left: 26px solid #EE5757;\n
\twhite-space: pre;\n
}\n
\n
#qunit-tests >
li:last-child {\n
\tborder-radius: 0 0 15px 15px;\n
\t-moz-border-radius: 0 0 15px 15px;\n
\t-webkit-border-bottom-right-radius: 15px;\n
\t-webkit-border-bottom-left-radius: 15px;\n
}\n
\n
#qunit-tests .fail { color: #000000; background-color: #EE5757; }\n
#qunit-tests .fail .test-name,\n
#qunit-tests .fail .module-name { color: #000000; }\n
\n
#qunit-tests .fail .test-actual { color: #EE5757; }\n
#qunit-tests .fail .test-expected { color: green; }\n
\n
#qunit-banner.qunit-fail { background-color: #EE5757; }\n
\n
\n
/** Result */\n
\n
#qunit-testresult {\n
\tpadding: 0.5em 0.5em 0.5em 2.5em;\n
\n
\tcolor: #2b81af;\n
\tbackground-color: #D2E0E6;\n
\n
\tborder-bottom: 1px solid white;\n
}\n
#qunit-testresult .module-name {\n
\tfont-weight: bold;\n
}\n
\n
/** Fixture */\n
\n
#qunit-fixture {\n
\tposition: absolute;\n
\ttop: -10000px;\n
\tleft: -10000px;\n
\twidth: 1000px;\n
\theight: 1000px;\n
}\n
]]>
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
4657
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
qunit.css
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_jquery_plugin_qunit/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/qunit/qunit.js.xml
0 → 100644
View file @
477fcef8
This diff is collapsed.
Click to expand it.
bt5/erp5_jquery_plugin_qunit/bt/change_log
0 → 100644
View file @
477fcef8
2012-04-03 Ivan
* Initial commit
\ No newline at end of file
bt5/erp5_jquery_plugin_qunit/bt/copyright_list
0 → 100644
View file @
477fcef8
2012 (c) Nexedi SA
\ No newline at end of file
bt5/erp5_jquery_plugin_qunit/bt/dependency_list
0 → 100644
View file @
477fcef8
erp5_jquery
\ No newline at end of file
bt5/erp5_jquery_plugin_qunit/bt/description
0 → 100644
View file @
477fcef8
This Business Template contains only static files of JQuery's qUnit plugin.
It provides an unit testing inside JavaScript applications.
\ No newline at end of file
bt5/erp5_jquery_plugin_qunit/bt/license
0 → 100644
View file @
477fcef8
GPL
\ No newline at end of file
bt5/erp5_jquery_plugin_qunit/bt/maintainer_list
0 → 100644
View file @
477fcef8
ivan
\ No newline at end of file
bt5/erp5_jquery_plugin_qunit/bt/revision
0 → 100644
View file @
477fcef8
1
\ No newline at end of file
bt5/erp5_jquery_plugin_qunit/bt/template_format_version
0 → 100644
View file @
477fcef8
1
\ No newline at end of file
bt5/erp5_jquery_plugin_qunit/bt/template_path_list
0 → 100644
View file @
477fcef8
portal_skins/erp5_jquery/jquery/plugin/qunit
portal_skins/erp5_jquery/jquery/plugin/qunit/**
\ No newline at end of file
bt5/erp5_jquery_plugin_qunit/bt/title
0 → 100644
View file @
477fcef8
erp5_jquery_plugin_qunit
\ No newline at end of file
bt5/erp5_jquery_plugin_qunit/bt/version
0 → 100644
View file @
477fcef8
5.4.7
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment