Class: TestQP
- Inherits:
-
Test::Unit::TestCase
- Object
- Test::Unit::TestCase
- TestQP
- Defined in:
- lib/qp.rb
Instance Method Summary collapse
Instance Method Details
#test_all ⇒ Object
51 52 53 54 55 56 |
# File 'lib/qp.rb', line 51 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 |