Class: TestQP
- Inherits:
-
Test::Unit::TestCase
- Object
- Test::Unit::TestCase
- TestQP
- Defined in:
- lib/qp.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#test_all ⇒ Object
56 57 58 59 60 61 |
# File 'lib/qp.rb', line 56 def test_all #assert_match(/testcase.rb:\d\d:_*send_*/, QP.caller_msg(caller(1))) assert_equal("[1, \"a\"]", QP.ar_inspect([1, 'a'])) assert_match(/\d+\.\d/, QP.runtime) #assert_match(/\d+\.\d:testcase.rb:\d\d:_*send_* \[1, 'a'\]/, QP.tp(caller(1), 1, 'a')) end |