xultestrunner 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +4 -1
- data/LICENSE +17 -18
- data/README.rdoc +18 -0
- data/Rakefile +65 -40
- data/VERSION +1 -1
- data/bin/xultest +1 -12
- data/lib/xultestrunner.rb +1 -1
- data/test/test_helper.rb +9 -0
- data/test/xultestrunner_test.rb +7 -0
- data/xpcomcore/app/application.ini +12 -0
- data/xpcomcore/app/chrome/chrome.manifest +1 -0
- data/xpcomcore/app/chrome/content/xul/main_window.xul +6 -0
- data/xpcomcore/app/components/bootstrapper.js +70 -0
- data/xpcomcore/app/defaults/preferences/prefs.js +7 -0
- data/xultestrunner.gemspec +21 -150
- metadata +27 -153
- data/.gitmodules +0 -3
- data/README +0 -17
- data/xulapp/application.ini +0 -9
- data/xulapp/chrome/chrome.manifest +0 -2
- data/xulapp/chrome/content/interface/boot.xul +0 -20
- data/xulapp/chrome/content/interface/testharness.html +0 -30
- data/xulapp/chrome/content/lib/xultestcase.js +0 -140
- data/xulapp/chrome/content/lib/xultestrunner.js +0 -120
- data/xulapp/chrome/content/vendor/prototype/LICENSE +0 -16
- data/xulapp/chrome/content/vendor/prototype/prototype.js +0 -4874
- data/xulapp/chrome/content/vendor/scriptaculous/LICENSE +0 -20
- data/xulapp/chrome/content/vendor/scriptaculous/test.css +0 -90
- data/xulapp/chrome/content/vendor/scriptaculous/unittest.js +0 -566
- data/xulapp/chrome/content/vendor/xpcomcore/LICENSE +0 -21
- data/xulapp/chrome/content/vendor/xpcomcore/README +0 -27
- data/xulapp/chrome/content/vendor/xpcomcore/Rakefile +0 -83
- data/xulapp/chrome/content/vendor/xpcomcore/VERSION.yml +0 -5
- data/xulapp/chrome/content/vendor/xpcomcore/bootstrapper.js +0 -32
- data/xulapp/chrome/content/vendor/xpcomcore/components/XPCOMCore.js +0 -120
- data/xulapp/chrome/content/vendor/xpcomcore/doc/files.html +0 -241
- data/xulapp/chrome/content/vendor/xpcomcore/doc/index.html +0 -243
- data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/Error.html +0 -256
- data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/Kernel.html +0 -1030
- data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/LoadError.html +0 -319
- data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/SelfConceptError.html +0 -319
- data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/_global_.html +0 -316
- data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/src/lib_file.js.html +0 -53
- data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/src/lib_kernel.js.html +0 -251
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/README.txt +0 -186
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Chain.js +0 -102
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Dumper.js +0 -144
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Hash.js +0 -84
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Link.js +0 -153
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Namespace.js +0 -10
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Opt.js +0 -134
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Reflection.js +0 -26
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/String.js +0 -93
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Testrun.js +0 -129
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame.js +0 -33
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/FOODOC.js +0 -26
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC/DomReader.js +0 -159
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC/XMLDoc.js +0 -16
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC/XMLParse.js +0 -292
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC.js +0 -26
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/DocComment.js +0 -200
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/DocTag.js +0 -294
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/JsDoc.js +0 -126
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/JsPlate.js +0 -109
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Lang.js +0 -144
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Parser.js +0 -145
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/PluginManager.js +0 -33
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Symbol.js +0 -645
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/SymbolSet.js +0 -241
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/TextStream.js +0 -41
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Token.js +0 -18
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/TokenReader.js +0 -332
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/TokenStream.js +0 -133
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Util.js +0 -32
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Walker.js +0 -474
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC.js +0 -104
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/main.js +0 -111
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/commentSrcJson.js +0 -20
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/frameworkPrototype.js +0 -16
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/functionCall.js +0 -10
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/publishSrcHilite.js +0 -62
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/symbolLink.js +0 -10
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/tagParamConfig.js +0 -31
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/tagSynonyms.js +0 -43
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/run.js +0 -348
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/t/TestDoc.js +0 -144
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/t/runner.js +0 -13
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/addon.js +0 -24
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/anon_inner.js +0 -14
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/augments.js +0 -31
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/augments2.js +0 -26
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/borrows.js +0 -46
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/borrows2.js +0 -23
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/config.js +0 -22
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/constructs.js +0 -18
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/encoding.js +0 -10
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/encoding_other.js +0 -12
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/event.js +0 -54
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/exports.js +0 -14
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/functions_anon.js +0 -39
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/functions_nested.js +0 -33
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/global.js +0 -13
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/globals.js +0 -25
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/ignore.js +0 -10
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/inner.js +0 -16
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/jsdoc_test.js +0 -477
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/lend.js +0 -33
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/memberof.js +0 -19
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/memberof_constructor.js +0 -17
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/module.js +0 -17
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/name.js +0 -19
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/namespace_nested.js +0 -23
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/nocode.js +0 -13
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/oblit_anon.js +0 -20
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/overview.js +0 -20
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/param_inline.js +0 -37
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/params_optional.js +0 -8
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype.js +0 -17
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype_nested.js +0 -9
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype_oblit.js +0 -13
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype_oblit_constructor.js +0 -24
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/public.js +0 -10
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/scripts/code.js +0 -5
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/scripts/notcode.txt +0 -5
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/shared.js +0 -42
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/shared2.js +0 -2
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/shortcuts.js +0 -22
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/static_this.js +0 -13
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/synonyms.js +0 -31
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/tosource.js +0 -23
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/variable_redefine.js +0 -14
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test.js +0 -325
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/changes.txt +0 -96
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/conf/sample.conf +0 -31
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/build.xml +0 -36
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/build_1.4.xml +0 -36
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/classes/js.jar +0 -0
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/src/JsDebugRun.java +0 -21
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/src/JsRun.java +0 -21
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/jsdebug.jar +0 -0
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/jsrun.jar +0 -0
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/jsrun.sh +0 -52
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/allclasses.tmpl +0 -17
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/allfiles.tmpl +0 -56
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/class.tmpl +0 -646
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/index.tmpl +0 -39
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/publish.js +0 -200
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/static/default.css +0 -162
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/static/header.html +0 -2
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/static/index.html +0 -19
- data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/symbol.tmpl +0 -35
- data/xulapp/chrome/content/vendor/xpcomcore/lib/file.js +0 -46
- data/xulapp/chrome/content/vendor/xpcomcore/lib/kernel.js +0 -244
- data/xulapp/chrome/content/vendor/xpcomcore/test/file_test.js +0 -16
- data/xulapp/chrome/content/vendor/xpcomcore/test/fixtures/love.js +0 -1
- data/xulapp/chrome/content/vendor/xpcomcore/test/fixtures/mad_love.js +0 -1
- data/xulapp/chrome/content/vendor/xpcomcore/test/fixtures/mad_world.js +0 -1
- data/xulapp/chrome/content/vendor/xpcomcore/test/fixtures/syntax_error.js +0 -1
- data/xulapp/chrome/content/vendor/xpcomcore/test/kernel_test.js +0 -88
- data/xulapp/components/bootstrap.js +0 -93
- data/xulapp/defaults/preferences/prefs.js +0 -14
data/.document
ADDED
data/.gitignore
CHANGED
data/LICENSE
CHANGED
@@ -1,21 +1,20 @@
|
|
1
|
-
|
1
|
+
Copyright (c) 2009 ggironda
|
2
2
|
|
3
|
-
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
4
10
|
|
5
|
-
|
6
|
-
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
11
13
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
= xultestrunner
|
2
|
+
|
3
|
+
Description goes here.
|
4
|
+
|
5
|
+
== Note on Patches/Pull Requests
|
6
|
+
|
7
|
+
* Fork the project.
|
8
|
+
* Make your feature addition or bug fix.
|
9
|
+
* Add tests for it. This is important so I don't break it in a
|
10
|
+
future version unintentionally.
|
11
|
+
* Commit, do not mess with rakefile, version, or history.
|
12
|
+
(if you want to have your own version, that is fine but
|
13
|
+
bump version in a commit by itself I can ignore when I pull)
|
14
|
+
* Send me a pull request. Bonus points for topic branches.
|
15
|
+
|
16
|
+
== Copyright
|
17
|
+
|
18
|
+
Copyright (c) 2009 ggironda. See LICENSE for details.
|
data/Rakefile
CHANGED
@@ -1,50 +1,75 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
1
4
|
begin
|
2
5
|
require 'jeweler'
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
s.authors = ["Gabriel Gironda"]
|
14
|
-
# FIXME - weird hack around jeweler ignoring the submoduled in xpcomcore.
|
15
|
-
s.files = (s.files + FileList["xulapp/chrome/content/vendor/**/*"]).uniq
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "xultestrunner"
|
8
|
+
gem.executables = "xultest"
|
9
|
+
gem.summary = %Q{XUL based test runner for running your JS unit tests.}
|
10
|
+
gem.description = %Q{XUL based test runner for running your JS unit tests.}
|
11
|
+
gem.email = "contact@gironda.org"
|
12
|
+
gem.homepage = "http://github.com/gabrielg/xultestrunner"
|
13
|
+
gem.authors = ["Gabriel Gironda"]
|
14
|
+
gem.add_dependency "xpcomcore-rubygem", ">=0.5.3"
|
15
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
16
|
end
|
17
17
|
Jeweler::GemcutterTasks.new
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
18
|
+
rescue LoadError
|
19
|
+
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
20
|
+
end
|
21
|
+
|
22
|
+
require 'rake/testtask'
|
23
|
+
Rake::TestTask.new(:test) do |test|
|
24
|
+
test.libs << 'lib' << 'test'
|
25
|
+
test.pattern = 'test/**/*_test.rb'
|
26
|
+
test.verbose = true
|
27
|
+
end
|
28
|
+
|
29
|
+
begin
|
30
|
+
require 'rcov/rcovtask'
|
31
|
+
Rcov::RcovTask.new do |test|
|
32
|
+
test.libs << 'test'
|
33
|
+
test.pattern = 'test/**/*_test.rb'
|
34
|
+
test.verbose = true
|
28
35
|
end
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
version = (Pathname(__FILE__).parent + "VERSION").read.chomp
|
33
|
-
ini_contents = application_ini_path.read
|
34
|
-
application_ini_path.open('w') do |f|
|
35
|
-
f << ini_contents.sub(/^Version=.*$/, "Version=#{version}")
|
36
|
-
end
|
36
|
+
rescue LoadError
|
37
|
+
task :rcov do
|
38
|
+
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
37
39
|
end
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
40
|
+
end
|
41
|
+
|
42
|
+
task :test => :check_dependencies
|
43
|
+
|
44
|
+
task :default => :test
|
45
|
+
|
46
|
+
require 'rake/rdoctask'
|
47
|
+
Rake::RDocTask.new do |rdoc|
|
48
|
+
if File.exist?('VERSION')
|
49
|
+
version = File.read('VERSION')
|
50
|
+
else
|
51
|
+
version = ""
|
43
52
|
end
|
53
|
+
|
54
|
+
rdoc.rdoc_dir = 'rdoc'
|
55
|
+
rdoc.title = "xultestrunner #{version}"
|
56
|
+
rdoc.rdoc_files.include('README*')
|
57
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
58
|
+
end
|
59
|
+
|
60
|
+
gem 'jsdoc-toolkit'
|
61
|
+
require 'jsdoc-toolkit/doc_task'
|
62
|
+
JsDocToolkit::DocTask.new("doc:app") do |doc|
|
63
|
+
doc.jsdoc_dir = "xpcomcore/app/doc"
|
64
|
+
doc.jsdoc_files << "xpcomcore/app/chrome"
|
65
|
+
doc.jsdoc_files << "xpcomcore/app/components"
|
44
66
|
|
45
|
-
task :release => [:write_xul_build_id, :write_xul_version, :commit_application_ini]
|
46
|
-
|
47
|
-
rescue LoadError
|
48
|
-
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
49
67
|
end
|
50
68
|
|
69
|
+
require 'xpcomcore-rubygem/tasks/application_task.rb'
|
70
|
+
XPCOMCore::Tasks::ApplicationTask.new
|
71
|
+
|
72
|
+
task :gemspec do
|
73
|
+
system("git", "add", "xpcomcore/app/application.ini")
|
74
|
+
system("git", "commit", "-m", "Bumping application.ini", "xpcomcore/app/application.ini")
|
75
|
+
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/bin/xultest
CHANGED
@@ -1,13 +1,2 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
|
4
|
-
args = ARGV.dup
|
5
|
-
|
6
|
-
gecko_runtime_search = (ENV['USE_XULRUNNER'] || args.delete("-xulrunner")) ? %w[xulrunner-bin xulrunner] : %w[firefox-bin firefox]
|
7
|
-
runtime = gecko_runtime_search.detect { |runtime_cmd| !`which #{runtime_cmd}`.strip.length.zero? }
|
8
|
-
|
9
|
-
raise("Could not find '#{gecko_runtime_search.join(", ")}' in your path. Please rectify this and try again.") unless runtime
|
10
|
-
|
11
|
-
xulapp_ini_path = (Pathname(__FILE__).parent.parent + "xulapp/application.ini").expand_path
|
12
|
-
|
13
|
-
exec(runtime, *["-app", xulapp_ini_path, *args])
|
2
|
+
exec("xpcomcore", "launch", "xultestrunner", *ARGV)
|
data/lib/xultestrunner.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
warn(
|
1
|
+
warn('This is a stub file generated by xpcomcore-rubygem. There may in fact be no Ruby code to speak of in this gem.')
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
content xultestrunner file:content/
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
3
|
+
|
4
|
+
<window id="main" title="My App" width="300" height="300" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
5
|
+
<caption label="Hello World from Xultestrunner"/>
|
6
|
+
</window>
|
@@ -0,0 +1,70 @@
|
|
1
|
+
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
2
|
+
|
3
|
+
// Singleton time
|
4
|
+
var XPCOMCoreBootstrapper = function() {
|
5
|
+
if (arguments.callee.__singletonInstance__) { return arguments.callee.__singletonInstance__; };
|
6
|
+
arguments.callee.__singletonInstance__ = this;
|
7
|
+
};
|
8
|
+
|
9
|
+
XPCOMCoreBootstrapper.prototype = {
|
10
|
+
bootstrapped: false,
|
11
|
+
xpcomcoreEnvVar: 'XPCOMCORE',
|
12
|
+
|
13
|
+
classDescription: "XPCOMCore Bootstrapper Component",
|
14
|
+
contractID: "@conflagrationjs.org/xpcomcore/bootstrapper;1",
|
15
|
+
classID: Components.ID("{5412c380-b3b2-11de-8a39-0800200c9a66}"),
|
16
|
+
QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsIObserver]),
|
17
|
+
_xpcom_categories: [{category: "xpcom-startup"}],
|
18
|
+
|
19
|
+
observe: function(subject, topic, data) {
|
20
|
+
if (topic != "xpcom-startup") { return false; }
|
21
|
+
if (this.bootstrapped) { this.puts("XPCOMCore already bootstrapped."); return true; }
|
22
|
+
try {
|
23
|
+
var xpcomcoreBootstrapper = this.getBootstrapper();
|
24
|
+
if (!xpcomcoreBootstrapper) { throw("No bootstrapper was found. Are you sure " + this.xpcomcoreEnvVar + " is set in your environment?"); }
|
25
|
+
|
26
|
+
this.puts("Loading XPCOMCore Bootstrapper from " + xpcomcoreBootstrapper);
|
27
|
+
Components.utils.import("file://" + xpcomcoreBootstrapper);
|
28
|
+
this.checkVersion();
|
29
|
+
this.puts("XPCOMCore bootstrapped with version " + XPCOMCoreConfig.getProperty('version'));
|
30
|
+
} catch (e) {
|
31
|
+
this.puts("Exception caught. Quitting.\n" + e);
|
32
|
+
this.forceQuit();
|
33
|
+
}
|
34
|
+
},
|
35
|
+
|
36
|
+
getBootstrapper: function() {
|
37
|
+
var env = Components.classes["@mozilla.org/process/environment;1"].getService(Components.interfaces.nsIEnvironment);
|
38
|
+
return env.exists(this.xpcomcoreEnvVar) && env.get(this.xpcomcoreEnvVar);
|
39
|
+
},
|
40
|
+
|
41
|
+
getMinXPCOMCoreVersion: function() {
|
42
|
+
var iniFile = Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("XCurProcD", Components.interfaces.nsIFile);
|
43
|
+
iniFile.append("application.ini");
|
44
|
+
iniFile.QueryInterface(Components.interfaces.nsILocalFile);
|
45
|
+
|
46
|
+
var iniParser = Components.classes["@mozilla.org/xpcom/ini-parser-factory;1"].getService(Components.interfaces.nsIINIParserFactory).createINIParser(iniFile);
|
47
|
+
return iniParser.getString('XPCOMCore', 'MinVersion');
|
48
|
+
},
|
49
|
+
|
50
|
+
checkVersion: function() {
|
51
|
+
var xpcomCoreMinVersion = this.getMinXPCOMCoreVersion();
|
52
|
+
var versionComparator = Components.classes["@mozilla.org/xpcom/version-comparator;1"].createInstance(Components.interfaces.nsIVersionComparator);
|
53
|
+
|
54
|
+
if (versionComparator.compare(XPCOMCoreConfig.getProperty('version'), xpcomCoreMinVersion) < 0) {
|
55
|
+
throw("XPCOMCore version " + xpcomCoreMinVersion + " is required but we were bootstrapped with " + XPCOMCoreConfig.getProperty('version') + ".");
|
56
|
+
}
|
57
|
+
},
|
58
|
+
|
59
|
+
forceQuit: function() {
|
60
|
+
var appStartup = Components.classes['@mozilla.org/toolkit/app-startup;1'].getService(Components.interfaces.nsIAppStartup);
|
61
|
+
appStartup.quit(Components.interfaces.nsIAppStartup.eForceQuit);
|
62
|
+
},
|
63
|
+
|
64
|
+
puts: function(str) {
|
65
|
+
dump(str + "\n");
|
66
|
+
}
|
67
|
+
|
68
|
+
};
|
69
|
+
|
70
|
+
NSGetModule = function(compMgr, fileSpec) { return XPCOMUtils.generateModule([XPCOMCoreBootstrapper]); };
|
@@ -0,0 +1,7 @@
|
|
1
|
+
pref("toolkit.defaultChromeURI", "chrome://xultestrunner/content/xul/main_window.xul");
|
2
|
+
pref("toolkit.defaultChromeFeatures", "chrome,menubar,resizable");
|
3
|
+
pref("javascript.options.showInConsole", true);
|
4
|
+
// TODO - only disable caching in development mode.
|
5
|
+
pref("nglayout.debug.disable_xul_cache", true);
|
6
|
+
pref("nglayout.debug.disable_xul_fastload", true);
|
7
|
+
pref("browser.dom.window.dump.enabled", true);
|
data/xultestrunner.gemspec
CHANGED
@@ -5,186 +5,57 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{xultestrunner}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Gabriel Gironda"]
|
12
|
-
s.date = %q{2009-10-
|
12
|
+
s.date = %q{2009-10-11}
|
13
13
|
s.default_executable = %q{xultest}
|
14
14
|
s.description = %q{XUL based test runner for running your JS unit tests.}
|
15
15
|
s.email = %q{contact@gironda.org}
|
16
16
|
s.executables = ["xultest"]
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE",
|
19
|
-
"README"
|
19
|
+
"README.rdoc"
|
20
20
|
]
|
21
21
|
s.files = [
|
22
|
-
".
|
23
|
-
".
|
22
|
+
".document",
|
23
|
+
".gitignore",
|
24
24
|
"LICENSE",
|
25
|
-
"README",
|
25
|
+
"README.rdoc",
|
26
26
|
"Rakefile",
|
27
27
|
"VERSION",
|
28
28
|
"bin/xultest",
|
29
29
|
"lib/xultestrunner.rb",
|
30
|
-
"
|
31
|
-
"
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"xulapp/chrome/content/vendor/prototype/prototype.js",
|
38
|
-
"xulapp/chrome/content/vendor/scriptaculous/LICENSE",
|
39
|
-
"xulapp/chrome/content/vendor/scriptaculous/test.css",
|
40
|
-
"xulapp/chrome/content/vendor/scriptaculous/unittest.js",
|
41
|
-
"xulapp/chrome/content/vendor/xpcomcore/LICENSE",
|
42
|
-
"xulapp/chrome/content/vendor/xpcomcore/README",
|
43
|
-
"xulapp/chrome/content/vendor/xpcomcore/Rakefile",
|
44
|
-
"xulapp/chrome/content/vendor/xpcomcore/VERSION.yml",
|
45
|
-
"xulapp/chrome/content/vendor/xpcomcore/bootstrapper.js",
|
46
|
-
"xulapp/chrome/content/vendor/xpcomcore/components/XPCOMCore.js",
|
47
|
-
"xulapp/chrome/content/vendor/xpcomcore/doc/files.html",
|
48
|
-
"xulapp/chrome/content/vendor/xpcomcore/doc/index.html",
|
49
|
-
"xulapp/chrome/content/vendor/xpcomcore/doc/symbols/Error.html",
|
50
|
-
"xulapp/chrome/content/vendor/xpcomcore/doc/symbols/Kernel.html",
|
51
|
-
"xulapp/chrome/content/vendor/xpcomcore/doc/symbols/LoadError.html",
|
52
|
-
"xulapp/chrome/content/vendor/xpcomcore/doc/symbols/SelfConceptError.html",
|
53
|
-
"xulapp/chrome/content/vendor/xpcomcore/doc/symbols/_global_.html",
|
54
|
-
"xulapp/chrome/content/vendor/xpcomcore/doc/symbols/src/lib_file.js.html",
|
55
|
-
"xulapp/chrome/content/vendor/xpcomcore/doc/symbols/src/lib_kernel.js.html",
|
56
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/README.txt",
|
57
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame.js",
|
58
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Chain.js",
|
59
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Dumper.js",
|
60
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Hash.js",
|
61
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Link.js",
|
62
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Namespace.js",
|
63
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Opt.js",
|
64
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Reflection.js",
|
65
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/String.js",
|
66
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Testrun.js",
|
67
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/FOODOC.js",
|
68
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC.js",
|
69
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC/DomReader.js",
|
70
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC/XMLDoc.js",
|
71
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC/XMLParse.js",
|
72
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC.js",
|
73
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/DocComment.js",
|
74
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/DocTag.js",
|
75
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/JsDoc.js",
|
76
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/JsPlate.js",
|
77
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Lang.js",
|
78
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Parser.js",
|
79
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/PluginManager.js",
|
80
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Symbol.js",
|
81
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/SymbolSet.js",
|
82
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/TextStream.js",
|
83
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Token.js",
|
84
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/TokenReader.js",
|
85
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/TokenStream.js",
|
86
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Util.js",
|
87
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Walker.js",
|
88
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/main.js",
|
89
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/commentSrcJson.js",
|
90
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/frameworkPrototype.js",
|
91
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/functionCall.js",
|
92
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/publishSrcHilite.js",
|
93
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/symbolLink.js",
|
94
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/tagParamConfig.js",
|
95
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/tagSynonyms.js",
|
96
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/run.js",
|
97
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/t/TestDoc.js",
|
98
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/t/runner.js",
|
99
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test.js",
|
100
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/addon.js",
|
101
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/anon_inner.js",
|
102
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/augments.js",
|
103
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/augments2.js",
|
104
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/borrows.js",
|
105
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/borrows2.js",
|
106
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/config.js",
|
107
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/constructs.js",
|
108
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/encoding.js",
|
109
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/encoding_other.js",
|
110
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/event.js",
|
111
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/exports.js",
|
112
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/functions_anon.js",
|
113
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/functions_nested.js",
|
114
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/global.js",
|
115
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/globals.js",
|
116
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/ignore.js",
|
117
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/inner.js",
|
118
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/jsdoc_test.js",
|
119
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/lend.js",
|
120
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/memberof.js",
|
121
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/memberof_constructor.js",
|
122
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/module.js",
|
123
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/name.js",
|
124
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/namespace_nested.js",
|
125
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/nocode.js",
|
126
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/oblit_anon.js",
|
127
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/overview.js",
|
128
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/param_inline.js",
|
129
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/params_optional.js",
|
130
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype.js",
|
131
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype_nested.js",
|
132
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype_oblit.js",
|
133
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype_oblit_constructor.js",
|
134
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/public.js",
|
135
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/scripts/code.js",
|
136
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/scripts/notcode.txt",
|
137
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/shared.js",
|
138
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/shared2.js",
|
139
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/shortcuts.js",
|
140
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/static_this.js",
|
141
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/synonyms.js",
|
142
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/tosource.js",
|
143
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/variable_redefine.js",
|
144
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/changes.txt",
|
145
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/conf/sample.conf",
|
146
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/build.xml",
|
147
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/build_1.4.xml",
|
148
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/classes/js.jar",
|
149
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/src/JsDebugRun.java",
|
150
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/src/JsRun.java",
|
151
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/jsdebug.jar",
|
152
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/jsrun.jar",
|
153
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/jsrun.sh",
|
154
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/allclasses.tmpl",
|
155
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/allfiles.tmpl",
|
156
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/class.tmpl",
|
157
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/index.tmpl",
|
158
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/publish.js",
|
159
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/static/default.css",
|
160
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/static/header.html",
|
161
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/static/index.html",
|
162
|
-
"xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/symbol.tmpl",
|
163
|
-
"xulapp/chrome/content/vendor/xpcomcore/lib/file.js",
|
164
|
-
"xulapp/chrome/content/vendor/xpcomcore/lib/kernel.js",
|
165
|
-
"xulapp/chrome/content/vendor/xpcomcore/test/file_test.js",
|
166
|
-
"xulapp/chrome/content/vendor/xpcomcore/test/fixtures/love.js",
|
167
|
-
"xulapp/chrome/content/vendor/xpcomcore/test/fixtures/mad_love.js",
|
168
|
-
"xulapp/chrome/content/vendor/xpcomcore/test/fixtures/mad_world.js",
|
169
|
-
"xulapp/chrome/content/vendor/xpcomcore/test/fixtures/syntax_error.js",
|
170
|
-
"xulapp/chrome/content/vendor/xpcomcore/test/kernel_test.js",
|
171
|
-
"xulapp/components/bootstrap.js",
|
172
|
-
"xulapp/defaults/preferences/prefs.js",
|
30
|
+
"test/test_helper.rb",
|
31
|
+
"test/xultestrunner_test.rb",
|
32
|
+
"xpcomcore/app/application.ini",
|
33
|
+
"xpcomcore/app/chrome/chrome.manifest",
|
34
|
+
"xpcomcore/app/chrome/content/xul/main_window.xul",
|
35
|
+
"xpcomcore/app/components/bootstrapper.js",
|
36
|
+
"xpcomcore/app/defaults/preferences/prefs.js",
|
173
37
|
"xultestrunner.gemspec"
|
174
38
|
]
|
175
39
|
s.homepage = %q{http://github.com/gabrielg/xultestrunner}
|
176
40
|
s.rdoc_options = ["--charset=UTF-8"]
|
177
41
|
s.require_paths = ["lib"]
|
178
|
-
s.rubygems_version = %q{1.3.
|
42
|
+
s.rubygems_version = %q{1.3.5}
|
179
43
|
s.summary = %q{XUL based test runner for running your JS unit tests.}
|
44
|
+
s.test_files = [
|
45
|
+
"test/test_helper.rb",
|
46
|
+
"test/xultestrunner_test.rb"
|
47
|
+
]
|
180
48
|
|
181
49
|
if s.respond_to? :specification_version then
|
182
50
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
183
51
|
s.specification_version = 3
|
184
52
|
|
185
53
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
54
|
+
s.add_runtime_dependency(%q<xpcomcore-rubygem>, [">= 0.5.3"])
|
186
55
|
else
|
56
|
+
s.add_dependency(%q<xpcomcore-rubygem>, [">= 0.5.3"])
|
187
57
|
end
|
188
58
|
else
|
59
|
+
s.add_dependency(%q<xpcomcore-rubygem>, [">= 0.5.3"])
|
189
60
|
end
|
190
61
|
end
|