Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
63849339
R
rails
项目概览
张重言
/
rails
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rails
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
63849339
编写于
8月 02, 2019
作者:
R
Rafael Mendonça França
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Revert "You give jruby_skip & rubinius_skip a good name"
This reverts commit
8d2866bb
.
上级
a162fc22
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
78 addition
and
20 deletion
+78
-20
actionmailer/test/abstract_unit.rb
actionmailer/test/abstract_unit.rb
+13
-0
actionpack/test/abstract_unit.rb
actionpack/test/abstract_unit.rb
+13
-0
actionview/test/abstract_unit.rb
actionview/test/abstract_unit.rb
+11
-0
activemodel/test/cases/helper.rb
activemodel/test/cases/helper.rb
+13
-0
activesupport/lib/active_support/test_case.rb
activesupport/lib/active_support/test_case.rb
+0
-2
activesupport/lib/active_support/testing/alternative_runtime_skipper.rb
...lib/active_support/testing/alternative_runtime_skipper.rb
+0
-18
activesupport/test/abstract_unit.rb
activesupport/test/abstract_unit.rb
+13
-0
railties/test/abstract_unit.rb
railties/test/abstract_unit.rb
+15
-0
未找到文件。
actionmailer/test/abstract_unit.rb
浏览文件 @
63849339
...
@@ -34,4 +34,17 @@ def self.root
...
@@ -34,4 +34,17 @@ def self.root
ActionMailer
::
Base
.
delivery_job
=
ActionMailer
::
MailDeliveryJob
ActionMailer
::
Base
.
delivery_job
=
ActionMailer
::
MailDeliveryJob
class
ActiveSupport::TestCase
private
# Skips the current run on Rubinius using Minitest::Assertions#skip
def
rubinius_skip
(
message
=
""
)
skip
message
if
RUBY_ENGINE
==
"rbx"
end
# Skips the current run on JRuby using Minitest::Assertions#skip
def
jruby_skip
(
message
=
""
)
skip
message
if
defined?
(
JRUBY_VERSION
)
end
end
require_relative
"../../tools/test_common"
require_relative
"../../tools/test_common"
actionpack/test/abstract_unit.rb
浏览文件 @
63849339
...
@@ -350,6 +350,19 @@ class CommentsController < ResourcesController; end
...
@@ -350,6 +350,19 @@ class CommentsController < ResourcesController; end
class
AccountsController
<
ResourcesController
;
end
class
AccountsController
<
ResourcesController
;
end
class
ImagesController
<
ResourcesController
;
end
class
ImagesController
<
ResourcesController
;
end
class
ActiveSupport::TestCase
private
# Skips the current run on Rubinius using Minitest::Assertions#skip
def
rubinius_skip
(
message
=
""
)
skip
message
if
RUBY_ENGINE
==
"rbx"
end
# Skips the current run on JRuby using Minitest::Assertions#skip
def
jruby_skip
(
message
=
""
)
skip
message
if
defined?
(
JRUBY_VERSION
)
end
end
class
DrivenByRackTest
<
ActionDispatch
::
SystemTestCase
class
DrivenByRackTest
<
ActionDispatch
::
SystemTestCase
driven_by
:rack_test
driven_by
:rack_test
end
end
...
...
actionview/test/abstract_unit.rb
浏览文件 @
63849339
...
@@ -192,6 +192,17 @@ def stderr_logger
...
@@ -192,6 +192,17 @@ def stderr_logger
class
ActiveSupport::TestCase
class
ActiveSupport::TestCase
parallelize
parallelize
private
# Skips the current run on Rubinius using Minitest::Assertions#skip
def
rubinius_skip
(
message
=
""
)
skip
message
if
RUBY_ENGINE
==
"rbx"
end
# Skips the current run on JRuby using Minitest::Assertions#skip
def
jruby_skip
(
message
=
""
)
skip
message
if
defined?
(
JRUBY_VERSION
)
end
end
end
require_relative
"../../tools/test_common"
require_relative
"../../tools/test_common"
activemodel/test/cases/helper.rb
浏览文件 @
63849339
...
@@ -11,4 +11,17 @@
...
@@ -11,4 +11,17 @@
require
"active_support/testing/autorun"
require
"active_support/testing/autorun"
require
"active_support/core_ext/integer/time"
require
"active_support/core_ext/integer/time"
class
ActiveModel::TestCase
<
ActiveSupport
::
TestCase
private
# Skips the current run on Rubinius using Minitest::Assertions#skip
def
rubinius_skip
(
message
=
""
)
skip
message
if
RUBY_ENGINE
==
"rbx"
end
# Skips the current run on JRuby using Minitest::Assertions#skip
def
jruby_skip
(
message
=
""
)
skip
message
if
defined?
(
JRUBY_VERSION
)
end
end
require_relative
"../../../tools/test_common"
require_relative
"../../../tools/test_common"
activesupport/lib/active_support/test_case.rb
浏览文件 @
63849339
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
require
"active_support/testing/time_helpers"
require
"active_support/testing/time_helpers"
require
"active_support/testing/file_fixtures"
require
"active_support/testing/file_fixtures"
require
"active_support/testing/parallelization"
require
"active_support/testing/parallelization"
require
"active_support/testing/alternative_runtime_skipper"
require
"concurrent/utility/processor_counter"
require
"concurrent/utility/processor_counter"
module
ActiveSupport
module
ActiveSupport
...
@@ -144,7 +143,6 @@ def parallelize_teardown(&block)
...
@@ -144,7 +143,6 @@ def parallelize_teardown(&block)
include
ActiveSupport
::
Testing
::
TimeHelpers
include
ActiveSupport
::
Testing
::
TimeHelpers
include
ActiveSupport
::
Testing
::
FileFixtures
include
ActiveSupport
::
Testing
::
FileFixtures
extend
ActiveSupport
::
Testing
::
Declarative
extend
ActiveSupport
::
Testing
::
Declarative
include
ActiveSupport
::
Testing
::
AlternativeRuntimeSkipper
# test/unit backwards compatibility methods
# test/unit backwards compatibility methods
...
...
activesupport/lib/active_support/testing/alternative_runtime_skipper.rb
已删除
100644 → 0
浏览文件 @
a162fc22
# frozen_string_literal: true
module
ActiveSupport
module
Testing
module
AlternativeRuntimeSkipper
private
# Skips the current run on Rubinius using Minitest::Assertions#skip
def
rubinius_skip
(
message
=
""
)
skip
message
if
RUBY_ENGINE
==
"rbx"
end
# Skips the current run on JRuby using Minitest::Assertions#skip
def
jruby_skip
(
message
=
""
)
skip
message
if
defined?
(
JRUBY_VERSION
)
end
end
end
end
activesupport/test/abstract_unit.rb
浏览文件 @
63849339
...
@@ -25,4 +25,17 @@
...
@@ -25,4 +25,17 @@
# Disable available locale checks to avoid warnings running the test suite.
# Disable available locale checks to avoid warnings running the test suite.
I18n
.
enforce_available_locales
=
false
I18n
.
enforce_available_locales
=
false
class
ActiveSupport::TestCase
private
# Skips the current run on Rubinius using Minitest::Assertions#skip
def
rubinius_skip
(
message
=
""
)
skip
message
if
RUBY_ENGINE
==
"rbx"
end
# Skips the current run on JRuby using Minitest::Assertions#skip
def
jruby_skip
(
message
=
""
)
skip
message
if
defined?
(
JRUBY_VERSION
)
end
end
require_relative
"../../tools/test_common"
require_relative
"../../tools/test_common"
railties/test/abstract_unit.rb
浏览文件 @
63849339
...
@@ -18,4 +18,19 @@ class Application < Rails::Application
...
@@ -18,4 +18,19 @@ class Application < Rails::Application
end
end
end
end
class
ActiveSupport::TestCase
include
ActiveSupport
::
Testing
::
Stream
private
# Skips the current run on Rubinius using Minitest::Assertions#skip
def
rubinius_skip
(
message
=
""
)
skip
message
if
RUBY_ENGINE
==
"rbx"
end
# Skips the current run on JRuby using Minitest::Assertions#skip
def
jruby_skip
(
message
=
""
)
skip
message
if
defined?
(
JRUBY_VERSION
)
end
end
require_relative
"../../tools/test_common"
require_relative
"../../tools/test_common"
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录