xultestrunner 0.2.9 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. data/.document +5 -0
  2. data/.gitignore +4 -1
  3. data/LICENSE +17 -18
  4. data/README.rdoc +18 -0
  5. data/Rakefile +65 -40
  6. data/VERSION +1 -1
  7. data/bin/xultest +1 -12
  8. data/lib/xultestrunner.rb +1 -1
  9. data/test/test_helper.rb +9 -0
  10. data/test/xultestrunner_test.rb +7 -0
  11. data/xpcomcore/app/application.ini +12 -0
  12. data/xpcomcore/app/chrome/chrome.manifest +1 -0
  13. data/xpcomcore/app/chrome/content/xul/main_window.xul +6 -0
  14. data/xpcomcore/app/components/bootstrapper.js +70 -0
  15. data/xpcomcore/app/defaults/preferences/prefs.js +7 -0
  16. data/xultestrunner.gemspec +21 -150
  17. metadata +27 -153
  18. data/.gitmodules +0 -3
  19. data/README +0 -17
  20. data/xulapp/application.ini +0 -9
  21. data/xulapp/chrome/chrome.manifest +0 -2
  22. data/xulapp/chrome/content/interface/boot.xul +0 -20
  23. data/xulapp/chrome/content/interface/testharness.html +0 -30
  24. data/xulapp/chrome/content/lib/xultestcase.js +0 -140
  25. data/xulapp/chrome/content/lib/xultestrunner.js +0 -120
  26. data/xulapp/chrome/content/vendor/prototype/LICENSE +0 -16
  27. data/xulapp/chrome/content/vendor/prototype/prototype.js +0 -4874
  28. data/xulapp/chrome/content/vendor/scriptaculous/LICENSE +0 -20
  29. data/xulapp/chrome/content/vendor/scriptaculous/test.css +0 -90
  30. data/xulapp/chrome/content/vendor/scriptaculous/unittest.js +0 -566
  31. data/xulapp/chrome/content/vendor/xpcomcore/LICENSE +0 -21
  32. data/xulapp/chrome/content/vendor/xpcomcore/README +0 -27
  33. data/xulapp/chrome/content/vendor/xpcomcore/Rakefile +0 -83
  34. data/xulapp/chrome/content/vendor/xpcomcore/VERSION.yml +0 -5
  35. data/xulapp/chrome/content/vendor/xpcomcore/bootstrapper.js +0 -32
  36. data/xulapp/chrome/content/vendor/xpcomcore/components/XPCOMCore.js +0 -120
  37. data/xulapp/chrome/content/vendor/xpcomcore/doc/files.html +0 -241
  38. data/xulapp/chrome/content/vendor/xpcomcore/doc/index.html +0 -243
  39. data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/Error.html +0 -256
  40. data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/Kernel.html +0 -1030
  41. data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/LoadError.html +0 -319
  42. data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/SelfConceptError.html +0 -319
  43. data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/_global_.html +0 -316
  44. data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/src/lib_file.js.html +0 -53
  45. data/xulapp/chrome/content/vendor/xpcomcore/doc/symbols/src/lib_kernel.js.html +0 -251
  46. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/README.txt +0 -186
  47. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Chain.js +0 -102
  48. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Dumper.js +0 -144
  49. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Hash.js +0 -84
  50. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Link.js +0 -153
  51. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Namespace.js +0 -10
  52. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Opt.js +0 -134
  53. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Reflection.js +0 -26
  54. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/String.js +0 -93
  55. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame/Testrun.js +0 -129
  56. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/frame.js +0 -33
  57. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/FOODOC.js +0 -26
  58. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC/DomReader.js +0 -159
  59. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC/XMLDoc.js +0 -16
  60. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC/XMLParse.js +0 -292
  61. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/handlers/XMLDOC.js +0 -26
  62. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/DocComment.js +0 -200
  63. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/DocTag.js +0 -294
  64. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/JsDoc.js +0 -126
  65. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/JsPlate.js +0 -109
  66. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Lang.js +0 -144
  67. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Parser.js +0 -145
  68. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/PluginManager.js +0 -33
  69. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Symbol.js +0 -645
  70. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/SymbolSet.js +0 -241
  71. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/TextStream.js +0 -41
  72. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Token.js +0 -18
  73. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/TokenReader.js +0 -332
  74. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/TokenStream.js +0 -133
  75. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Util.js +0 -32
  76. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC/Walker.js +0 -474
  77. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/lib/JSDOC.js +0 -104
  78. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/main.js +0 -111
  79. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/commentSrcJson.js +0 -20
  80. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/frameworkPrototype.js +0 -16
  81. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/functionCall.js +0 -10
  82. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/publishSrcHilite.js +0 -62
  83. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/symbolLink.js +0 -10
  84. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/tagParamConfig.js +0 -31
  85. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/plugins/tagSynonyms.js +0 -43
  86. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/run.js +0 -348
  87. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/t/TestDoc.js +0 -144
  88. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/t/runner.js +0 -13
  89. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/addon.js +0 -24
  90. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/anon_inner.js +0 -14
  91. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/augments.js +0 -31
  92. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/augments2.js +0 -26
  93. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/borrows.js +0 -46
  94. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/borrows2.js +0 -23
  95. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/config.js +0 -22
  96. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/constructs.js +0 -18
  97. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/encoding.js +0 -10
  98. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/encoding_other.js +0 -12
  99. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/event.js +0 -54
  100. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/exports.js +0 -14
  101. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/functions_anon.js +0 -39
  102. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/functions_nested.js +0 -33
  103. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/global.js +0 -13
  104. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/globals.js +0 -25
  105. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/ignore.js +0 -10
  106. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/inner.js +0 -16
  107. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/jsdoc_test.js +0 -477
  108. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/lend.js +0 -33
  109. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/memberof.js +0 -19
  110. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/memberof_constructor.js +0 -17
  111. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/module.js +0 -17
  112. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/name.js +0 -19
  113. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/namespace_nested.js +0 -23
  114. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/nocode.js +0 -13
  115. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/oblit_anon.js +0 -20
  116. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/overview.js +0 -20
  117. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/param_inline.js +0 -37
  118. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/params_optional.js +0 -8
  119. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype.js +0 -17
  120. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype_nested.js +0 -9
  121. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype_oblit.js +0 -13
  122. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/prototype_oblit_constructor.js +0 -24
  123. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/public.js +0 -10
  124. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/scripts/code.js +0 -5
  125. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/scripts/notcode.txt +0 -5
  126. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/shared.js +0 -42
  127. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/shared2.js +0 -2
  128. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/shortcuts.js +0 -22
  129. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/static_this.js +0 -13
  130. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/synonyms.js +0 -31
  131. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/tosource.js +0 -23
  132. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test/variable_redefine.js +0 -14
  133. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/app/test.js +0 -325
  134. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/changes.txt +0 -96
  135. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/conf/sample.conf +0 -31
  136. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/build.xml +0 -36
  137. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/build_1.4.xml +0 -36
  138. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/classes/js.jar +0 -0
  139. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/src/JsDebugRun.java +0 -21
  140. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/java/src/JsRun.java +0 -21
  141. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/jsdebug.jar +0 -0
  142. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/jsrun.jar +0 -0
  143. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/jsrun.sh +0 -52
  144. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/allclasses.tmpl +0 -17
  145. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/allfiles.tmpl +0 -56
  146. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/class.tmpl +0 -646
  147. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/index.tmpl +0 -39
  148. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/publish.js +0 -200
  149. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/static/default.css +0 -162
  150. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/static/header.html +0 -2
  151. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/static/index.html +0 -19
  152. data/xulapp/chrome/content/vendor/xpcomcore/etc/jsdoc-toolkit/templates/jsdoc/symbol.tmpl +0 -35
  153. data/xulapp/chrome/content/vendor/xpcomcore/lib/file.js +0 -46
  154. data/xulapp/chrome/content/vendor/xpcomcore/lib/kernel.js +0 -244
  155. data/xulapp/chrome/content/vendor/xpcomcore/test/file_test.js +0 -16
  156. data/xulapp/chrome/content/vendor/xpcomcore/test/fixtures/love.js +0 -1
  157. data/xulapp/chrome/content/vendor/xpcomcore/test/fixtures/mad_love.js +0 -1
  158. data/xulapp/chrome/content/vendor/xpcomcore/test/fixtures/mad_world.js +0 -1
  159. data/xulapp/chrome/content/vendor/xpcomcore/test/fixtures/syntax_error.js +0 -1
  160. data/xulapp/chrome/content/vendor/xpcomcore/test/kernel_test.js +0 -88
  161. data/xulapp/components/bootstrap.js +0 -93
  162. data/xulapp/defaults/preferences/prefs.js +0 -14
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
data/.gitignore CHANGED
@@ -1,2 +1,5 @@
1
+ *.sw?
1
2
  .DS_Store
2
- *.gem
3
+ coverage
4
+ rdoc
5
+ pkg
data/LICENSE CHANGED
@@ -1,21 +1,20 @@
1
- The MIT License
1
+ Copyright (c) 2009 ggironda
2
2
 
3
- Copyright (c) <2009> <Gabriel Gironda>
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
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
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
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
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
- require 'uuidtools'
4
- require 'pathname'
5
-
6
- Jeweler::Tasks.new do |s|
7
- s.name = "xultestrunner"
8
- s.executables = "xultest"
9
- s.summary = "XUL based test runner for running your JS unit tests."
10
- s.email = "contact@gironda.org"
11
- s.homepage = "http://github.com/gabrielg/xultestrunner"
12
- s.description = "XUL based test runner for running your JS unit tests."
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
- application_ini_path = (Pathname(__FILE__).parent + "xulapp/application.ini").expand_path
20
-
21
- desc "Writes out a random UUID for the Build ID when we release to the XUL application's application.ini"
22
- task :write_xul_build_id do
23
- build_id = UUIDTools::UUID.random_create.to_s
24
- ini_contents = application_ini_path.read
25
- application_ini_path.open('w') do |f|
26
- f << ini_contents.sub(/^BuildID=.*$/, "BuildID=#{build_id}")
27
- end
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
- desc "Writes out the gem version to the XUL application's application.ini"
31
- task :write_xul_version do
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
- desc "Commits the application ini before a release"
40
- task :commit_application_ini do
41
- system("git", "add", application_ini_path.to_s)
42
- system("git", "commit", "-m", "Bumping application.ini", application_ini_path.to_s)
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.2.9
1
+ 0.3.0
data/bin/xultest CHANGED
@@ -1,13 +1,2 @@
1
1
  #!/usr/bin/env ruby
2
- require 'pathname'
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("There isn't much here, buddy. Just us lonely old Ruby files.")
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.')
@@ -0,0 +1,9 @@
1
+ require 'rubygems'
2
+ require 'test/unit'
3
+
4
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
5
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
+ require 'xultestrunner'
7
+
8
+ class Test::Unit::TestCase
9
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class XultestrunnerTest < Test::Unit::TestCase
4
+ def test_something_for_real
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ [App]
2
+ Name=XULTestRunner
3
+ Version=0.3.0
4
+ BuildID=aac9a8db-3c4c-43a3-84a8-cb1979f87657
5
+ ID=XULTestRunner@conflagrationjs.org
6
+ Vendor=Conflagration JS
7
+
8
+ [Gecko]
9
+ MinVersion=1.9.0
10
+
11
+ [XPCOMCore]
12
+ MinVersion=0.5.1
@@ -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);
@@ -5,186 +5,57 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{xultestrunner}
8
- s.version = "0.2.9"
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-05}
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
- ".gitignore",
23
- ".gitmodules",
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
- "xulapp/application.ini",
31
- "xulapp/chrome/chrome.manifest",
32
- "xulapp/chrome/content/interface/boot.xul",
33
- "xulapp/chrome/content/interface/testharness.html",
34
- "xulapp/chrome/content/lib/xultestcase.js",
35
- "xulapp/chrome/content/lib/xultestrunner.js",
36
- "xulapp/chrome/content/vendor/prototype/LICENSE",
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.4}
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