100+ results results for 'Test::Unit::TestCase repo:technicalpickles/flockup' (1052 ms)
137 "require('test/unit/testcase')", 138 "print Test::Unit::TestCase.new('name').size", 139 };test_partial_mock.rb git://github.com/IronLanguages/main.git | Ruby | 362 lines
15 16class TestStubbing < Test::Unit::TestCase 17 include FlexMock::TestCasestate_context_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 441 lines
11 12class StateContextTest < Test::Unit::TestCase 13 def setup 29 30class StateContextTransitionTest < Test::Unit::TestCase 31 def setup 132 133class StateContextWithMatchingTransitionTest < Test::Unit::TestCase 134 def setup 158 159class StateContextProxyTest < Test::Unit::TestCase 160 def setup 183 184class StateContextProxyWithoutConditionsTest < Test::Unit::TestCase 185 def setuptest_prime.rb git://github.com/ruby/ruby.git | Ruby | 288 lines
5 6class TestPrime < Test::Unit::TestCase 7 # The first 100 prime numbers 149 150 class TestPseudoPrimeGenerator < Test::Unit::TestCase 151 def test_upper_bound 171 172 class TestTrialDivisionGenerator < Test::Unit::TestCase 173 # The first 100 prime numbers 205 206 class TestGenerator23 < Test::Unit::TestCase 207 def test_rewind 215 216 class TestInteger < Test::Unit::TestCase 217 def test_prime_divisioncallback_inheritance_test.rb git://github.com/IronLanguages/main.git | Ruby | 151 lines
84 85class BasicCallbacksTest < Test::Unit::TestCase 86 def setup 105 106class InheritedCallbacksTest < Test::Unit::TestCase 107 def setup 126 127class InheritedCallbacksTest2 < Test::Unit::TestCase 128 def setup 141 142class DynamicInheritedCallbacks < Test::Unit::TestCase 143 def test_callbacks_looks_to_the_superclass_before_runningruby-templates.el git://github.com/jimweirich/emacs-setup.git | Emacs Lisp | 561 lines
46 '( 47 "class " (p "Test Class Name: " tcname) " < Test::Unit::TestCase" n 48 ntestcase.rb git://github.com/IronLanguages/main.git | Ruby | 484 lines
36 # Example: 37 # class TestMyClass < Test::Unit::TestCase 38 # class << self 132 # Here is an example test case: 133 # class TestMyClass < Test::Unit::TestCase 134 # class << self 168 # Here is an example test case: 169 # class TestMyClass < Test::Unit::TestCase 170 # class << self 342 # code: 343 # class TestMyClass < Test::Unit::TestCase 344 # def setup 375 # code: 376 # class TestMyClass < Test::Unit::TestCase 377 # def teardowncontext_test.rb git://github.com/IronLanguages/main.git | Ruby | 373 lines
176 177class ShouldMatcherTest < Test::Unit::TestCase 178 class FakeMatcher 214 def create_test_suite(&definition) 215 test_class = Class.new(Test::Unit::TestCase, &definition) 216 test_class.suitetest_iterator.rb git://github.com/ruby/ruby.git | Ruby | 507 lines
13 14class TestIterator < Test::Unit::TestCase 15 def test_yield_at_toplevelauthorization_test.rb git://github.com/IronLanguages/main.git | Ruby | 245 lines
2 3class AuthorizationTest < Test::Unit::TestCase 4 Response = Struct.new(:code)test_ipaddr.rb git://github.com/ruby/ruby.git | Ruby | 391 lines
4 5class TC_IPAddr < Test::Unit::TestCase 6 def test_s_new 204 205class TC_Operator < Test::Unit::TestCase 206test_encodings.rb git://github.com/ruby/ruby.git | Ruby | 350 lines
5 6class TestCSVEncodings < Test::Unit::TestCase 7 extend DifferentOFStc_timezone_melbourne.rb git://github.com/IronLanguages/main.git | Ruby | 114 lines
6 7class TCTimezoneMelbourne < Test::Unit::TestCase 8 def test_2004test_functions.rb git://github.com/ruby/ruby.git | Ruby | 226 lines
6module REXMLTests 7 class FunctionsTester < Test::Unit::TestCase 8 include REXMLtc_data_timezone_info.rb git://github.com/IronLanguages/main.git | Ruby | 283 lines
6 7class TCDataTimezoneInfo < Test::Unit::TestCase 8path_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 485 lines
2 3class PathByDefaultTest < Test::Unit::TestCase 4 def setup 54 55class PathTest < Test::Unit::TestCase 56 def setup 67 68class PathWithoutTransitionsTest < Test::Unit::TestCase 69 def setup 89 90class PathWithTransitionsTest < Test::Unit::TestCase 91 def setup 141 142class PathWithDuplicatesTest < Test::Unit::TestCase 143 def setuptest_cgi_util.rb git://github.com/ruby/ruby.git | Ruby | 193 lines
7 8class CGIUtilTest < Test::Unit::TestCase 9 include CGI::Utilexecution_test.rb git://github.com/capistrano/capistrano.git | Ruby | 175 lines
4 5class ConfigurationExecutionTest < Test::Unit::TestCase 6 class MockConfigobject_and_class_ext_test.rb git://github.com/IronLanguages/main.git | Ruby | 169 lines
73 74class ObjectInstanceVariableTest < Test::Unit::TestCase 75 def setup 136 137class ObjectTryTest < Test::Unit::TestCase 138 def setupstate_collection_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 352 lines
2 3class StateCollectionByDefaultTest < Test::Unit::TestCase 4 def setup 21 22class StateCollectionTest < Test::Unit::TestCase 23 def setup 94 95class StateCollectionStringTest < Test::Unit::TestCase 96 def setup 128 129class StateCollectionWithNamespaceTest < Test::Unit::TestCase 130 def setup 147 148class StateCollectionWithCustomStateValuesTest < Test::Unit::TestCase 149 def setupnamespace_dsl_test.rb git://github.com/capistrano/capistrano.git | Ruby | 311 lines
3 4class ConfigurationNamespacesDSLTest < Test::Unit::TestCase 5 class MockConfigtest_scanf.rb git://github.com/ruby/ruby.git | Ruby | 305 lines
14 15class TestStringScanf < Test::Unit::TestCase;end 16class TestIOScanf < Test::Unit::TestCase;endatom_feed_test.rb git://github.com/bborn/communityengine.git | Ruby | 86 lines
1require File.dirname(__FILE__) + '/test_helper' 2class AtomFeedTest < Test::Unit::TestCase 3 attr_reader :requesttest_basic.rb git://github.com/eventmachine/eventmachine.git | Ruby | 321 lines
2 3class TestBasic < Test::Unit::TestCase 4 def setupmarshaltestlib.rb git://github.com/ruby/ruby.git | Ruby | 439 lines
3module MarshalTestLib 4 # include this module to a Test::Unit::TestCase and define encode(o) and 5 # decode(s) methods. e.g.context.rb git://github.com/IronLanguages/main.git | Ruby | 434 lines
30 # 31 # class UserTest < Test::Unit::TestCase 32 # 108 # 109 # class UserControllerTest < Test::Unit::TestCase 110 # context "the index action" do 148 # 149 # class UserTest < Test::Unit::TestCase 150 # context "A User instance" do 165 # 166 # class UserTest < Test::Unit::TestCase 167 # context "A User instance" do 213 # 214 # class UserTest < Test::Unit::TestCase 215 # subject { User.first }utils.rb git://github.com/ruby/ruby.git | Ruby | 397 lines
150 151class OpenSSL::TestCase < Test::Unit::TestCase 152 include OpenSSL::TestUtilsevent_collection_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 398 lines
2 3class EventCollectionByDefaultTest < Test::Unit::TestCase 4 def setup 27 28class EventCollectionTest < Test::Unit::TestCase 29 def setup 57 58class EventStringCollectionTest < Test::Unit::TestCase 59 def setup 87 88class EventCollectionWithEventsWithTransitionsTest < Test::Unit::TestCase 89 def setup 162 163class EventCollectionWithMultipleEventsTest < Test::Unit::TestCase 164 def setuptest_document.rb git://github.com/ruby/ruby.git | Ruby | 417 lines
7module REXMLTests 8 class TestDocument < Test::Unit::TestCase 9 def test_version_attributes_to_s 35 36 class EntityExpansionLimitTest < Test::Unit::TestCase 37 def setup 205 206 class WriteTest < Test::Unit::TestCase 207 def setup 330 331 class BomTest < Test::Unit::TestCase 332 class HaveEncodingTest < selfbase_test.rb git://github.com/IronLanguages/main.git | Ruby | 319 lines
122 123class ControllerInstanceTests < Test::Unit::TestCase 124 def setupformat_test.rb git://github.com/IronLanguages/main.git | Ruby | 113 lines
4 5class FormatTest < Test::Unit::TestCase 6 def setuptest_mem_cache.rb git://github.com/IronLanguages/main.git | Ruby | 1259 lines
47 48class Test::Unit::TestCase 49 def requirement(bool, msg) 113 114class TestMemCache < Test::Unit::TestCase 115test-main.rb git://github.com/IronLanguages/main.git | Ruby | 722 lines
36 37class MainTest < Test::Unit::TestCase 38test-erubis.rb git://github.com/IronLanguages/main.git | Ruby | 884 lines
15 16class ErubisTest < Test::Unit::TestCase 17tc_text_format.rb git://github.com/IronLanguages/main.git | Ruby | 475 lines
5 6class TestText__Format < Test::Unit::TestCase 7 attr_accessor :format_otest_should_receive.rb git://github.com/IronLanguages/main.git | Ruby | 1101 lines
33 34class TestFlexMockShoulds < Test::Unit::TestCase 35 include FlexMock::TestCaseassertions.rb git://github.com/IronLanguages/main.git | Ruby | 1335 lines
15 # Test::Unit::Assertions contains the standard Test::Unit assertions. 16 # Assertions is included in Test::Unit::TestCase. 17 #test-diff.rb git://github.com/IronLanguages/main.git | Ruby | 519 lines
1class TestUnitDiff < Test::Unit::TestCase 2 def test_binary_search_rangestest-testcase.rb git://github.com/IronLanguages/main.git | Ruby | 545 lines
126 check("Should have one test", suite.size == 1) 127 check("Should have the default test", suite.tests.first.name == "default_test(Test::Unit::TestCase)") 128 454 455 test_case = Class.new(Test::Unit::TestCase) do 456 include test_module 472 def test_defined_order 473 test_case = Class.new(Test::Unit::TestCase) do 474 def test_zmacros.rb git://github.com/IronLanguages/main.git | Ruby | 458 lines
6 # 7 # class UserTest < Test::Unit::TestCase 8 # should_validate_presence_of :name, :phone_numbertc_timezone.rb git://github.com/IronLanguages/main.git | Ruby | 850 lines
7 8class TCTimezone < Test::Unit::TestCase 9tc_timezone_period.rb git://github.com/IronLanguages/main.git | Ruby | 509 lines
6 7class TCTimezonePeriod < Test::Unit::TestCase 8tc_time_or_datetime.rb git://github.com/IronLanguages/main.git | Ruby | 423 lines
6 7class TCTimeOrDateTime < Test::Unit::TestCase 8 def test_initialize_timegemutilities.rb git://github.com/IronLanguages/main.git | Ruby | 589 lines
49 50class RubyGemTestCase < MiniTest::Unit::TestCase 51integration_test.rb git://github.com/IronLanguages/main.git | Ruby | 525 lines
4 5class SessionTest < Test::Unit::TestCase 6 StubApp = lambda { |env| 167 168class IntegrationTestTest < Test::Unit::TestCase 169 def setupselector_test.rb git://github.com/IronLanguages/main.git | Ruby | 630 lines
9 10class SelectorTest < Test::Unit::TestCase 11 #routing_test.rb git://github.com/IronLanguages/main.git | Ruby | 1915 lines
14# See RFC 3986, section 3.3 for allowed path characters. 15class UriReservedCharactersRoutingTest < Test::Unit::TestCase 16 def setup 68 69class LegacyRouteSetTests < Test::Unit::TestCase 70 attr_reader :rsstring_ext_test.rb git://github.com/IronLanguages/main.git | Ruby | 516 lines
10 11class StringInflectionsTest < Test::Unit::TestCase 12 include InflectorTestCases 274 275class StringBehaviourTest < Test::Unit::TestCase 276 def test_acts_like_string 322=end 323class TestGetTextString < Test::Unit::TestCase 324 def test_sprintfhash_ext_test.rb git://github.com/IronLanguages/main.git | Ruby | 1001 lines
7 8class HashExtTest < Test::Unit::TestCase 9 def setuptime_with_zone_test.rb git://github.com/IronLanguages/main.git | Ruby | 869 lines
4 5class TimeWithZoneTest < Test::Unit::TestCase 6date_time_ext_test.rb git://github.com/IronLanguages/main.git | Ruby | 370 lines
3 4class DateTimeExtCalculationsTest < Test::Unit::TestCase 5 def test_to_sdependencies_test.rb git://github.com/IronLanguages/main.git | Ruby | 852 lines
17 18class DependenciesTest < Test::Unit::TestCase 19 def teardown 335 assert ActiveSupport::Dependencies.qualified_const_defined?("::Object::Kernel") 336 assert ActiveSupport::Dependencies.qualified_const_defined?("::Test::Unit::TestCase") 337 endmultibyte_chars_test.rb git://github.com/IronLanguages/main.git | Ruby | 703 lines
10 11class MultibyteCharsTest < Test::Unit::TestCase 12 include MultibyteTestHelpers 97 98class MultibyteCharsUTF8BehaviourTest < Test::Unit::TestCase 99 include MultibyteTestHelpersbase_test.rb git://github.com/IronLanguages/main.git | Ruby | 1117 lines
12 13class BaseTest < Test::Unit::TestCase 14 def setuptest_yaml.rb git://github.com/IronLanguages/main.git | Ruby | 1287 lines
14 15class YAML_Unit_Tests < Test::Unit::TestCase 16 #test_application.rb git://github.com/IronLanguages/main.git | Ruby | 676 lines
17###################################################################### 18class TestApplication < Test::Unit::TestCase 19 include CaptureStdout 294###################################################################### 295class TestApplicationOptions < Test::Unit::TestCase 296 include CaptureStdouttest_filelist.rb git://github.com/IronLanguages/main.git | Ruby | 624 lines
8 9class TestFileList < Test::Unit::TestCase 10 FileList = Rake::FileListpt_testcase.rb git://github.com/IronLanguages/main.git | Ruby | 4418 lines
34 35class ParseTreeTestCase < MiniTest::Unit::TestCase 36 attr_accessor :processor # to be defined by subclassspec.rb git://github.com/IronLanguages/main.git | Ruby | 663 lines
399 400 def context(name, superclass=Test::Unit::TestCase, klass=Test::Spec::TestCase, &block) 401 (Test::Spec::CONTEXTS[self.name + "\t" + name] ||= klass.new(name, self, superclass)).add(&block) 403 404 def xcontext(name, superclass=Test::Unit::TestCase, &block) 405 context(name, superclass, Test::Spec::DisabledTestCase, &block) 499 500 def initialize(name, parent=nil, superclass=Test::Unit::TestCase) 501 @testcase = Class.new(superclass) { 643module Kernel 644 def context(name, superclass=Test::Unit::TestCase, klass=Test::Spec::TestCase, &block) # :doc: 645 (Test::Spec::CONTEXTS[name] ||= klass.new(name, nil, superclass)).add(&block) 647 648 def xcontext(name, superclass=Test::Unit::TestCase, &block)rcodetools.el git://github.com/rmm5t/dotfiles.git | Emacs Lisp | 430 lines
93 (re-search-forward "# => *$" e t))))))) 94 (cond ((in-block "^class.+< Test::Unit::TestCase$") 95 (format "%s --unittest %s" xmpfilter-command-name option)) 370 (with-temp-buffer 371 (insert "class TestFoo < Test::Unit::TestCase\n") 372 (xmpfilter-command "--rails")))) 385 (with-temp-buffer 386 (insert "class TestFoo < Test::Unit::TestCase\n" 387 " def test_0\n"mongo_mapper_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 2026 lines
9module MongoMapperTest 10 class BaseTestCase < Test::Unit::TestCase 11 def default_testactive_model_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 1245 lines
12module ActiveModelTest 13 class BaseTestCase < Test::Unit::TestCase 14 def default_testmongoid_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 2309 lines
18module MongoidTest 19 class BaseTestCase < Test::Unit::TestCase 20 def default_testdata_mapper_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 2194 lines
15module DataMapperTest 16 class BaseTestCase < Test::Unit::TestCase 17 def default_testsequel_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 1896 lines
10module SequelTest 11 class BaseTestCase < Test::Unit::TestCase 12 def default_testcallback_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 704 lines
2 3class CallbackTest < Test::Unit::TestCase 4 def test_should_raise_exception_if_invalid_type_specified 54 55class CallbackByDefaultTest < Test::Unit::TestCase 56 def setup 78 79class CallbackWithMethodArgumentTest < Test::Unit::TestCase 80 def setup 95 96class CallbackWithMultipleMethodArgumentsTest < Test::Unit::TestCase 97 def setup 123 124class CallbackWithDoMethodTest < Test::Unit::TestCase 125 def setupmachine_collection_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 603 lines
2 3class MachineCollectionByDefaultTest < Test::Unit::TestCase 4 def setup 12 13class MachineCollectionStateInitializationTest < Test::Unit::TestCase 14 def setup 112 113class MachineCollectionFireTest < Test::Unit::TestCase 114 def setup 191 192class MachineCollectionFireWithTransactionsTest < Test::Unit::TestCase 193 def setup 265 266class MachineCollectionFireWithValidationsTest < Test::Unit::TestCase 267 def setupevent_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 1196 lines
2 3class EventByDefaultTest < Test::Unit::TestCase 4 def setup 60 61class EventTest < Test::Unit::TestCase 62 def setup 93 94class EventWithHumanNameTest < Test::Unit::TestCase 95 def setup 105 106class EventWithDynamicHumanNameTest < Test::Unit::TestCase 107 def setup 129 130class EventWithConflictingHelpersBeforeDefinitionTest < Test::Unit::TestCase 131 def setuptransition_collection_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 2168 lines
2 3class TransitionCollectionTest < Test::Unit::TestCase 4 def test_should_raise_exception_if_invalid_option_specified 27 28class TransitionCollectionByDefaultTest < Test::Unit::TestCase 29 def setup 49 50class TransitionCollectionEmptyWithoutBlockTest < Test::Unit::TestCase 51 def setup 61 62class TransitionCollectionEmptyWithBlockTest < Test::Unit::TestCase 63 def setup 83 84class TransitionCollectionInvalidTest < Test::Unit::TestCase 85 def setuptransition_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 1558 lines
2 3class TransitionTest < Test::Unit::TestCase 4 def setup 97 98class TransitionWithInvalidNodesTest < Test::Unit::TestCase 99 def setup 125 126class TransitionWithDynamicToValueTest < Test::Unit::TestCase 127 def setup 143 144class TransitionLoopbackTest < Test::Unit::TestCase 145 def setup 160 161class TransitionWithDifferentStatesTest < Test::Unit::TestCase 162 def setupmachine_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 3407 lines
2 3class MachineByDefaultTest < Test::Unit::TestCase 4 def setup 185 186class MachineWithCustomNameTest < Test::Unit::TestCase 187 def setup 241 242class MachineWithoutInitializationTest < Test::Unit::TestCase 243 def setup 271 272class MachineWithStaticInitialStateTest < Test::Unit::TestCase 273 def setup 330 331class MachineWithDynamicInitialStateTest < Test::Unit::TestCase 332 def setupbranch_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 969 lines
2 3class BranchTest < Test::Unit::TestCase 4 def setup 29 30class BranchWithNoRequirementsTest < Test::Unit::TestCase 31 def setup 64 65class BranchWithFromRequirementTest < Test::Unit::TestCase 66 def setup 108 109class BranchWithMultipleFromRequirementsTest < Test::Unit::TestCase 110 def setup 127 128class BranchWithFromMatcherRequirementTest < Test::Unit::TestCase 129 def setupstate_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 1101 lines
2 3class StateByDefaultTest < Test::Unit::TestCase 4 def setup 42 43class StateTest < Test::Unit::TestCase 44 def setup 85 86class StateWithoutNameTest < Test::Unit::TestCase 87 def setup 123 124class StateWithNameTest < Test::Unit::TestCase 125 def setup 165 166class StateWithNilValueTest < Test::Unit::TestCase 167 def setupstate_machine_test.rb git://github.com/pluginaweek/state_machine.git | Ruby | 1066 lines
243 244class VehicleTest < Test::Unit::TestCase 245 def setup 261 262class VehicleUnsavedTest < Test::Unit::TestCase 263 def setup 440 441class VehicleParkedTest < Test::Unit::TestCase 442 def setup 491 492class VehicleIdlingTest < Test::Unit::TestCase 493 def setup 548 549class VehicleFirstGearTest < Test::Unit::TestCase 550 def setuptest_post.rb git://github.com/mojombo/jekyll.git | Ruby | 457 lines
2 3class TestPost < Test::Unit::TestCase 4 def setup_post(file)test_autoload.rb git://github.com/ruby/ruby.git | Ruby | 466 lines
4 5class TestAutoload < Test::Unit::TestCase 6 def test_autoload_sotest_parsing.rb git://github.com/KirinDave/fuzed.git | Ruby | 595 lines
3 4class TestParsing < Test::Unit::TestCase 5 # Wed Aug 16 14:00:00 UTC 2006tc_base.rb http://beef.googlecode.com/svn/trunk/ | Ruby | 341 lines
20 21class TC_Filter < Test::Unit::TestCase 22unit.rb git://github.com/ruby/ruby.git | Ruby | 682 lines
199 if options.delete(:gc_stress) 200 MiniTest::Unit::TestCase.class_eval do 201 oldrun = instance_method(:run)test_bigdecimal.rb git://github.com/ruby/ruby.git | Ruby | 1910 lines
4 5class TestBigDecimal < Test::Unit::TestCase 6 include TestBigDecimalBasetest_dbm.rb git://github.com/ruby/ruby.git | Ruby | 634 lines
13 14 class TestDBM_RDONLY < Test::Unit::TestCase 15 def TestDBM_RDONLY.uname_s 68 69 class TestDBM < Test::Unit::TestCase 70 def setup 564 565 class TestDBM2 < Test::Unit::TestCase 566 def setuptest_matrix.rb git://github.com/ruby/ruby.git | Ruby | 815 lines
7 8class TestMatrix < Test::Unit::TestCase 9 def setuptest_parser_events.rb git://github.com/ruby/ruby.git | Ruby | 1548 lines
9 10class TestRipper::ParserEvents < Test::Unit::TestCase 11test_json.rb git://github.com/ruby/ruby.git | Ruby | 461 lines
21 22class TC_JSON < Test::Unit::TestCase 23 include JSONtest_generic.rb git://github.com/ruby/ruby.git | Ruby | 1048 lines
5 6class URI::TestGeneric < Test::Unit::TestCase 7 def setuptest_pathname.rb git://github.com/ruby/ruby.git | Ruby | 1450 lines
9 10class TestPathname < Test::Unit::TestCase 11 def self.define_assertion(name, linenum, &block)test_io_m17n.rb git://github.com/ruby/ruby.git | Ruby | 2747 lines
7 8class TestIO_M17N < Test::Unit::TestCase 9 ENCS = [test_hash.rb git://github.com/ruby/ruby.git | Ruby | 1852 lines
5 6class TestHash < Test::Unit::TestCase 7test_literal.rb git://github.com/ruby/ruby.git | Ruby | 603 lines
4 5class TestRubyLiteral < Test::Unit::TestCase 6test_string.rb git://github.com/ruby/ruby.git | Ruby | 3202 lines
3 4class TestString < Test::Unit::TestCase 5 ENUMERATOR_WANTARRAY = RUBY_VERSION >= "3.0.0"test_enumerator.rb git://github.com/ruby/ruby.git | Ruby | 883 lines
3 4class TestEnumerator < Test::Unit::TestCase 5 def setuptest_regexp.rb git://github.com/ruby/ruby.git | Ruby | 1309 lines
4 5class TestRegexp < Test::Unit::TestCase 6 def setuptest_object.rb git://github.com/ruby/ruby.git | Ruby | 1002 lines
4 5class TestObject < Test::Unit::TestCase 6 def setuptest_transcode.rb git://github.com/ruby/ruby.git | Ruby | 2268 lines
6 7class TestTranscode < Test::Unit::TestCase 8 def test_errorstest_rubyoptions.rb git://github.com/ruby/ruby.git | Ruby | 1076 lines
8 9class TestRubyOptions < Test::Unit::TestCase 10 NO_JIT_DESCRIPTION =test_complex.rb git://github.com/ruby/ruby.git | Ruby | 1145 lines
5 6class Complex_Test < Test::Unit::TestCase 7test_dir_m17n.rb git://github.com/ruby/ruby.git | Ruby | 449 lines
5 6class TestDir_M17N < Test::Unit::TestCase 7 def with_tmpdirtest_marshal.rb git://github.com/ruby/ruby.git | Ruby | 783 lines
5 6class TestMarshal < Test::Unit::TestCase 7 include MarshalTestLibtest_parse.rb git://github.com/ruby/ruby.git | Ruby | 1180 lines
5 6class TestParse < Test::Unit::TestCase 7 def setuptest_array.rb git://github.com/ruby/ruby.git | Ruby | 3231 lines
6 7class TestArray < Test::Unit::TestCase 8 def setuptest_require.rb git://github.com/ruby/ruby.git | Ruby | 861 lines
6 7class TestRequire < Test::Unit::TestCase 8 def test_load_error_pathtest_assignment.rb git://github.com/ruby/ruby.git | Ruby | 788 lines
3 4class TestAssignment < Test::Unit::TestCase 5 def test_assigntest_integer.rb git://github.com/ruby/ruby.git | Ruby | 662 lines
3 4class TestInteger < Test::Unit::TestCase 5 BDSIZE = 0x4000000000000000.coerce(0)[0].sizetest_range.rb git://github.com/ruby/ruby.git | Ruby | 963 lines
7 8class TestRange < Test::Unit::TestCase 9 def test_newtest_file_exhaustive.rb git://github.com/ruby/ruby.git | Ruby | 1726 lines
7 8class TestFileExhaustive < Test::Unit::TestCase 9 DRIVE = Dir.pwd[%r'\A(?:[a-z]:|//[^/]+/[^/]+)'i]test_time.rb git://github.com/ruby/ruby.git | Ruby | 1282 lines
6 7class TestTime < Test::Unit::TestCase 8 def setuptest_optimization.rb git://github.com/ruby/ruby.git | Ruby | 848 lines
4 5class TestRubyOptimization < Test::Unit::TestCase 6 def assert_redefine_method(klass, method, code, msg = nil)test_exception.rb git://github.com/ruby/ruby.git | Ruby | 1209 lines
4 5class TestException < Test::Unit::TestCase 6 def test_exception_rescuedtest_symbol.rb git://github.com/ruby/ruby.git | Ruby | 602 lines
3 4class TestSymbol < Test::Unit::TestCase 5 # [ruby-core:3573]test_dir.rb git://github.com/ruby/ruby.git | Ruby | 558 lines
6 7class TestDir < Test::Unit::TestCase 8test_pack.rb git://github.com/ruby/ruby.git | Ruby | 872 lines
4 5class TestPack < Test::Unit::TestCase 6 def test_packtest_rational.rb git://github.com/ruby/ruby.git | Ruby | 1062 lines
5 6class Rational_Test < Test::Unit::TestCase 7test_m17n_comb.rb git://github.com/ruby/ruby.git | Ruby | 1659 lines
5 6class TestM17NComb < Test::Unit::TestCase 7 def assert_encoding(encname, actual, message=nil)test_class.rb git://github.com/ruby/ruby.git | Ruby | 686 lines
3 4class TestClass < Test::Unit::TestCase 5 # ------------------test_module.rb git://github.com/ruby/ruby.git | Ruby | 2622 lines
6 7class TestModule < Test::Unit::TestCase 8 def _wrap_assertion 208 assert_operator(Object, :===, self) 209 assert_operator(Test::Unit::TestCase, :===, self) 210 assert_operator(TestModule, :===, self)test_settracefunc.rb git://github.com/ruby/ruby.git | Ruby | 2295 lines
3 4class TestSetTraceFunc < Test::Unit::TestCase 5 def setuptest_m17n.rb git://github.com/ruby/ruby.git | Ruby | 1715 lines
4 5class TestM17N < Test::Unit::TestCase 6 def assert_encoding(encname, actual, message=nil)test_econv.rb git://github.com/ruby/ruby.git | Ruby | 943 lines
3 4class TestEncodingConverter < Test::Unit::TestCase 5 def check_ec(edst, esrc, eres, dst, src, ec, off, len, opts=nil)test_bignum.rb git://github.com/ruby/ruby.git | Ruby | 797 lines
7 8class TestBignum < Test::Unit::TestCase 9 FIXNUM_MIN = RbConfig::LIMITS['FIXNUM_MIN']test_sprintf.rb git://github.com/ruby/ruby.git | Ruby | 546 lines
3 4class TestSprintf < Test::Unit::TestCase 5 def test_positionaltest_argf.rb git://github.com/ruby/ruby.git | Ruby | 1084 lines
7 8class TestArgf < Test::Unit::TestCase 9 def setuptest_io.rb git://github.com/ruby/ruby.git | Ruby | 3974 lines
13 14class TestIO < Test::Unit::TestCase 15 module Featuretest_process.rb git://github.com/ruby/ruby.git | Ruby | 2495 lines
8 9class TestProcess < Test::Unit::TestCase 10 RUBY = EnvUtil.rubybintest_thread.rb git://github.com/ruby/ruby.git | Ruby | 1392 lines
6 7class TestThread < Test::Unit::TestCase 8 class Thread < ::Threadtest_rand.rb git://github.com/ruby/ruby.git | Ruby | 594 lines
3 4class TestRand < Test::Unit::TestCase 5 def assert_random_int(ws, m, init = 0)test_time_tz.rb git://github.com/ruby/ruby.git | Ruby | 784 lines
4 5class TestTimeTZ < Test::Unit::TestCase 6 has_right_tz = truetest_syntax.rb git://github.com/ruby/ruby.git | Ruby | 1617 lines
3 4class TestSyntax < Test::Unit::TestCase 5 using Module.new {test_enum.rb git://github.com/ruby/ruby.git | Ruby | 1161 lines
5 6class TestEnumerable < Test::Unit::TestCase 7 def setuptest_method.rb git://github.com/ruby/ruby.git | Ruby | 1290 lines
4 5class TestMethod < Test::Unit::TestCase 6 def setuptest_float.rb git://github.com/ruby/ruby.git | Ruby | 980 lines
3 4class TestFloat < Test::Unit::TestCase 5 include EnvUtiltest_proc.rb git://github.com/ruby/ruby.git | Ruby | 1617 lines
3 4class TestProc < Test::Unit::TestCase 5 def setuptest_inadvertent_creation.rb git://github.com/ruby/ruby.git | Ruby | 495 lines
5module Test_Symbol 6 class TestInadvertent < Test::Unit::TestCase 7 include NonInternedtest_httpserver.rb git://github.com/ruby/ruby.git | Ruby | 543 lines
6 7class TestWEBrickHTTPServer < Test::Unit::TestCase 8 empty_log = Object.newtest_httprequest.rb git://github.com/ruby/ruby.git | Ruby | 476 lines
5 6class TestWEBrickHTTPRequest < Test::Unit::TestCase 7 def teardowntest_httpproxy.rb git://github.com/ruby/ruby.git | Ruby | 466 lines
13 14class TestWEBrickHTTPProxy < Test::Unit::TestCase 15 def teardowntest_erb.rb git://github.com/ruby/ruby.git | Ruby | 717 lines
6 7class TestERB < Test::Unit::TestCase 8 class MyError < RuntimeError ; end 90 91class TestERBCore < Test::Unit::TestCase 92 def setuptest_fileutils.rb git://github.com/ruby/ruby.git | Ruby | 1831 lines
11 12class TestFileUtils < Test::Unit::TestCase 13 include Test::Unit::FileAssertionstest_gdbm.rb git://github.com/ruby/ruby.git | Ruby | 734 lines
12 13 class TestGDBM_RDONLY < Test::Unit::TestCase 14 def TestGDBM_RDONLY.uname_s 57 58 class TestGDBM < Test::Unit::TestCase 59 SYSTEM = TestGDBM_RDONLY::SYSTEMtest_stringscanner.rb git://github.com/ruby/ruby.git | Ruby | 772 lines
9 10class TestStringScanner < Test::Unit::TestCase 11 def create_string_scanner(string, *args)test_objspace.rb git://github.com/ruby/ruby.git | Ruby | 506 lines
8 9class TestObjSpace < Test::Unit::TestCase 10 def test_memsize_oftest_open-uri.rb git://github.com/ruby/ruby.git | Ruby | 912 lines
10 11class TestOpenURI < Test::Unit::TestCase 12test_http.rb git://github.com/ruby/ruby.git | Ruby | 1228 lines
7 8class TestNetHTTP < Test::Unit::TestCase 9test_imap.rb git://github.com/ruby/ruby.git | Ruby | 843 lines
5 6class IMAPTest < Test::Unit::TestCase 7 CA_FILE = File.expand_path("../fixtures/cacert.pem", __dir__)test_contrib.rb git://github.com/ruby/ruby.git | Ruby | 586 lines
10module REXMLTests 11 class ContribTester < Test::Unit::TestCase 12 include REXMLTestUtilstest_validation_rng.rb git://github.com/ruby/ruby.git | Ruby | 794 lines
7module REXMLTests 8 class RNGValidation < Test::Unit::TestCase 9 include REXMLtest_xpath.rb git://github.com/ruby/ruby.git | Ruby | 0 lines
4 5class XPathTester < Test::Unit::TestCase 6 include REXMLTestUtilstest_core.rb git://github.com/ruby/ruby.git | Ruby | 1469 lines
15module REXMLTests 16 class Tester < Test::Unit::TestCase 17 include REXMLTestUtilstest_coverage.rb git://github.com/ruby/ruby.git | Ruby | 743 lines
6 7class TestCoverage < Test::Unit::TestCase 8 def test_result_without_starttest_stringio.rb git://github.com/ruby/ruby.git | Ruby | 815 lines
6 7class TestStringIO < Test::Unit::TestCase 8 include TestEOFtest_zlib.rb git://github.com/ruby/ruby.git | Ruby | 1243 lines
12if defined? Zlib 13 class TestZlibDeflate < Test::Unit::TestCase 14 def test_initialize 247 248 class TestZlibInflate < Test::Unit::TestCase 249 def test_class_inflate_dictionary 447 448 class TestZlibGzipFile < Test::Unit::TestCase 449 def test_to_iotest_table.rb git://github.com/ruby/ruby.git | Ruby | 620 lines
5 6class TestCSVTable < Test::Unit::TestCase 7 extend DifferentOFStest_date_strftime.rb git://github.com/ruby/ruby.git | Ruby | 439 lines
4 5class TestDateStrftime < Test::Unit::TestCase 6test_date_base.rb git://github.com/ruby/ruby.git | Ruby | 444 lines
10 11class TestDateBase < Test::Unit::TestCase 12test_addrinfo.rb git://github.com/ruby/ruby.git | Ruby | 696 lines
9 10class TestSocketAddrinfo < Test::Unit::TestCase 11 HAS_UNIXSOCKET = defined?(UNIXSocket) && /cygwin/ !~ RUBY_PLATFORMtest_unix.rb git://github.com/ruby/ruby.git | Ruby | 715 lines
13 14class TestSocket_UNIXSocket < Test::Unit::TestCase 15 def test_fd_passingtest_socket.rb git://github.com/ruby/ruby.git | Ruby | 754 lines
11 12class TestSocket < Test::Unit::TestCase 13 def test_socket_newtest_yaml.rb git://github.com/ruby/ruby.git | Ruby | 1415 lines
15module Syck 16class YAML_Unit_Tests < Test::Unit::TestCase 17 def setuptest_minitest_unit.rb git://github.com/ruby/ruby.git | Ruby | 1779 lines
74 exception = begin 75 MiniTest::Unit::TestCase.new('fake tc').flunk 76 rescue MiniTest::Assertion => failure 160 def test_passed_eh_teardown_good 161 test_class = Class.new MiniTest::Unit::TestCase do 162 def teardown; assert true; end 171 def test_passed_eh_teardown_skipped 172 test_class = Class.new MiniTest::Unit::TestCase do 173 def teardown; assert true; end 182 def test_passed_eh_teardown_flunked 183 test_class = Class.new MiniTest::Unit::TestCase do 184 def teardown; flunk; end 225 assert_throws :inherited_hook do 226 Class.new MiniTest::Unit::TestCase 227 endtest_time.rb git://github.com/ruby/ruby.git | Ruby | 579 lines
5 6class TestTimeExtension < Test::Unit::TestCase # :nodoc: 7 def test_rfc822test_set.rb git://github.com/ruby/ruby.git | Ruby | 929 lines
4 5class TC_Set < Test::Unit::TestCase 6 class Set2 < Settest_class_parser.rb git://github.com/simongregory/actionscript3-tmbundle.git | Ruby | 596 lines
71 72class TestClassMemberParsing < Test::Unit::TestCase 73 162 163class TestInterfaceMemberParsing < Test::Unit::TestCase 164 include ClassParserHelpers 215 216class TestClassTypeDetection < Test::Unit::TestCase 217 402 403class TestHelvectorClassMemberParsing < Test::Unit::TestCase 404connections_test.rb git://github.com/capistrano/capistrano.git | Ruby | 421 lines
3 4class ConfigurationConnectionsTest < Test::Unit::TestCase 5 class MockConfigtest_nifty_scaffold_generator.rb git://github.com/ryanb/nifty-generators.git | Ruby | 534 lines
2 3class TestNiftyScaffoldGenerator < Test::Unit::TestCase 4 include NiftyGenerators::TestHelperattachment_test.rb http://tniemelailmo2.googlecode.com/svn/trunk/ | Ruby | 781 lines
7 8class AttachmentTest < Test::Unit::TestCase 9 should "return the path based on the url by default" dotest_validations.rb git://github.com/jnunemaker/mongomapper.git | Ruby | 550 lines
2 3class ValidationsTest < Test::Unit::TestCase 4 context "Validations" dotest_embedded_document.rb git://github.com/jnunemaker/mongomapper.git | Ruby | 683 lines
12 13class EmbeddedDocumentTest < Test::Unit::TestCase 14 context "EmbeddedDocuments" dotest_many_documents_proxy.rb git://github.com/jnunemaker/mongomapper.git | Ruby | 805 lines
3 4class ManyDocumentsProxyTest < Test::Unit::TestCase 5 def setuptest_querying.rb git://github.com/jnunemaker/mongomapper.git | Ruby | 898 lines
2 3class QueryingTesting < Test::Unit::TestCase 4 def setuptest_identity_map.rb git://github.com/jnunemaker/mongomapper.git | Ruby | 513 lines
2 3class IdentityMapTest < Test::Unit::TestCase 4 def assert_in_map(*resources)test_property_inspector.rb git://github.com/simongregory/actionscript3-tmbundle.git | Ruby | 544 lines
25 26class TestPropertyInspector < Test::Unit::TestCase 27testcase.rb http://ruby-activeldap.googlecode.com/svn/trunk/ | Ruby | 540 lines
38 # Example: 39 # class TestMyClass < Test::Unit::TestCase 40 # class << self 137 # Here is an example test case: 138 # class TestMyClass < Test::Unit::TestCase 139 # class << self 173 # Here is an example test case: 174 # class TestMyClass < Test::Unit::TestCase 175 # class << self 356 # code: 357 # class TestMyClass < Test::Unit::TestCase 358 # def setup 391 # code: 392 # class TestMyClass < Test::Unit::TestCase 393 # def cleanuptest_readline_history.rb git://github.com/ruby/ruby.git | Ruby | 287 lines
254 255class TestReadlineHistory < Test::Unit::TestCase 256 include BasetestReadlineHistory 271 272class TestRelineAsReadlineHistory < Test::Unit::TestCase 273 include BasetestReadlineHistoryconnection_test.rb git://github.com/mongodb/mongo-ruby-driver.git | Ruby | 361 lines
5 6class TestConnection < Test::Unit::TestCase 7test-load.rb git://github.com/IronLanguages/main.git | Ruby | 443 lines
6 7class TestUnitCollectorLoad < Test::Unit::TestCase 8 def setup 8 def setup 9 @previous_descendants = Test::Unit::TestCase::DESCENDANTS.dup 10 Test::Unit::TestCase::DESCENDANTS.clear 29module #{@temporary_test_cases_module_name} 30 class TestCase1 < Test::Unit::TestCase 31 def test1_1 43module #{@temporary_test_cases_module_name} 44 class TestCase2 < Test::Unit::TestCase 45 def test2 54module #{@temporary_test_cases_module_name} 55 class NoLoadTestCase3 < Test::Unit::TestCase 56 def test3test_dns.rb git://github.com/ruby/ruby.git | Ruby | 317 lines
7 8class TestResolvDNS < Test::Unit::TestCase 9 def setupspec.rb git://github.com/ruby/ruby.git | Ruby | 523 lines
85 86class MiniTest::Spec < MiniTest::Unit::TestCase 87 ## 158 # 159 # Equivalent to MiniTest::Unit::TestCase#setup. 160 171 # 172 # Equivalent to MiniTest::Unit::TestCase#teardown. 173test_mime_type.rb git://github.com/IronLanguages/main.git | Ruby | 357 lines
18module TestMIME 19 class TestType < Test::Unit::TestCase #:nodoc: 20 def setuptest_pstore.rb git://github.com/ruby/ruby.git | Ruby | 150 lines
5 6class PStoreTest < Test::Unit::TestCase 7 def setupcustom_methods_test.rb git://github.com/IronLanguages/main.git | Ruby | 102 lines
5 6class CustomMethodsTest < Test::Unit::TestCase 7 def setuptest_modifiers.rb git://github.com/jnunemaker/mongomapper.git | Ruby | 432 lines
2 3class ModifierTest < Test::Unit::TestCase 4 def setuprefresh_test.rb git://github.com/mongodb/mongo-ruby-driver.git | Ruby | 176 lines
4 5class ReplicaSetRefreshTest < Test::Unit::TestCase 6tc_namespaces.rb git://github.com/shouldly/shouldly.git | Ruby | 210 lines
6 7class TestNamespaces < Test::Unit::TestCase 8 def setuptest_fixnum.rb git://github.com/ruby/ruby.git | Ruby | 352 lines
3 4class TestFixnum < Test::Unit::TestCase 5 def setuptest-fixture.rb git://github.com/IronLanguages/main.git | Ruby | 288 lines
1class TestUnitFixture < Test::Unit::TestCase 2 module EmptyModule 139 def assert_setup_customizable(expected, parent, options) 140 test_case = Class.new(parent || Test::Unit::TestCase) do 141 yield(self, :before) if block_given? 202 def assert_teardown_customizable(expected, parent, options) 203 test_case = Class.new(parent || Test::Unit::TestCase) do 204 yield(self, :before) if block_given? 264 exception = assert_raise(ArgumentError) do 265 Class.new(Test::Unit::TestCase) do 266 def test_nothingtc_sax_parser.rb git://github.com/shouldly/shouldly.git | Ruby | 320 lines
70 71class TestSaxParser < Test::Unit::TestCase 72 def saxtest_filetc_timezone_offset_info.rb git://github.com/IronLanguages/main.git | Ruby | 117 lines
6 7class TCTimezoneOffsetInfo < Test::Unit::TestCase 8libxml_engine_test.rb git://github.com/IronLanguages/main.git | Ruby | 204 lines
10 11class LibxmlEngineTest < Test::Unit::TestCase 12 include ActiveSupporttest_basicsocket.rb git://github.com/ruby/ruby.git | Ruby | 230 lines
9 10class TestSocket_BasicSocket < Test::Unit::TestCase 11 def inet_streamtest_date.rb git://github.com/ruby/ruby.git | Ruby | 166 lines
7 8class TestDate < Test::Unit::TestCase 9 def test_range_infinite_floatcommand_test.rb git://github.com/capistrano/capistrano.git | Ruby | 305 lines
4 5class CommandTest < Test::Unit::TestCase 6 def test_command_should_open_channels_on_all_sessionstest_protected.rb git://github.com/jnunemaker/mongomapper.git | Ruby | 202 lines
2 3class ProtectedTest < Test::Unit::TestCase 4 context 'A document with protected attributes' dotest_entity.rb git://github.com/ruby/ruby.git | Ruby | 207 lines
8module REXMLTests 9 class EntityTester < Test::Unit::TestCase 10 def test_parse_general_declGETTING_STARTED.md git://github.com/thoughtbot/factory_girl.git | Markdown | 1758 lines
138```ruby 139class Test::Unit::TestCase 140 include FactoryBot::Syntax::Methods 161```ruby 162class Minitest::Unit::TestCase 163 include FactoryBot::Syntax::Methodstc_country.rb git://github.com/IronLanguages/main.git | Ruby | 156 lines
7 8class TCCountry < Test::Unit::TestCase 9 def test_get_validlibxmlsax_engine_test.rb git://github.com/IronLanguages/main.git | Ruby | 195 lines
10 11class LibXMLSAXEngineTest < Test::Unit::TestCase 12 include ActiveSupport