100+ results results for 'Test::Unit::TestCase repo:warburg/warburg' (208 ms)
6 7class UsersControllerTest < Test::Unit::TestCase 8 fixtures :allStdlibTest.java http://xruby.googlecode.com/svn/trunk/ | Java | 428 lines
137 "require('test/unit/testcase')", 138 "print Test::Unit::TestCase.new('name').size", 139 };test_parser.rb http://openappdotorg.googlecode.com/svn/trunk/ | Ruby | 348 lines
6 7class TestParser < Test::Unit::TestCase 8 def test_set_attrsnapshot_transaction_test.rb http://wondercap.googlecode.com/svn/trunk/ | Ruby | 260 lines
8 9class SnapshotTransactionCleanerFindUnfinishedDeploymentsMethodTest < Test::Unit::TestCase 10 def setup 43 44class SnapshotTransactionCleanerCleanUnfinishedSnapshotTest < Test::Unit::TestCase 45 def setup 91 92class SnapshotTransactionDeployNewSnapshotMethodTest < Test::Unit::TestCase 93 def setup 182 183class SnapshotTransactionDeploySingleDeploymentMethodTest < Test::Unit::TestCase 184 def setuptest_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 setupacts_as_taggable_test.rb http://pizzaboxroom.googlecode.com/svn/trunk/ | Ruby | 297 lines
2 3class ActsAsTaggableOnSteroidsTest < Test::Unit::TestCase 4 fixtures :tags, :taggings, :posts, :users, :photos, :subscriptions, :magazines 285 286class ActsAsTaggableOnSteroidsFormTest < Test::Unit::TestCase 287 fixtures :tags, :taggings, :posts, :users, :photostest_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 DifferentOFSdb_translation_test.rb http://pmsaas.googlecode.com/svn/trunk/ | Ruby | 375 lines
2 3class TranslationTest < Test::Unit::TestCase 4 self.use_instantiated_fixtures = truetc_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 setuparray_ext_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 194 lines
3 4class ArrayExtToParamTests < Test::Unit::TestCase 5 def test_string_array 15 16class ArrayExtToSentenceTests < Test::Unit::TestCase 17 def test_plain_array_to_sentence 41 42class ArrayExtToSTests < Test::Unit::TestCase 43 def test_to_s_db 54 55class ArrayExtGroupingTests < Test::Unit::TestCase 56 def test_group_by_with_perfect_fit 95 96class ArraySplitTests < Test::Unit::TestCase 97 def test_split_with_empty_arraystate_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 setupmixin_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 485 lines
23 24class ListTest < Test::Unit::TestCase 25 fixtures :mixins 182 183class TreeTest < Test::Unit::TestCase 184 fixtures :mixins 280 281class TreeTestWithoutOrder < Test::Unit::TestCase 282 fixtures :mixins 292 293class TouchTest < Test::Unit::TestCase 294 fixtures :mixins 359 360class ListSubTest < Test::Unit::TestCase 361 fixtures :mixinsmarshaltestlib.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 }your_data_controller_test.rb http://rubytime.googlecode.com/svn/trunk/ | Ruby | 216 lines
8 9class YourDataControllerTest < Test::Unit::TestCase 10 fixtures :activities, :users, :projects, :clients, :rolesesutest.rb http://atmos-ruby.googlecode.com/svn/trunk/ | Ruby | 511 lines
30 31class Esutest < Test::Unit::TestCase 32 def initialize( id )tc_numeric.rb http://everyday-script-with-ruby.googlecode.com/svn/trunk/ | Ruby | 441 lines
9 10class TC_Numeric < Test::Unit::TestCase 11 def test_even 30# Part of Austin Ziegler's code; see copyright notice above. 31class TC_FormatNumber < Test::Unit::TestCase 32 def test_integertest_SNMEX.rb http://rubyforjason.googlecode.com/svn/trunk/ | Ruby | 409 lines
3 4class Test_SNMEX < Test::Unit::TestCase 5test_java_name.rb https://code.google.com/p/javaclass-rb/ | Ruby | 250 lines
3 4class TestString < Test::Unit::TestCase 5 18 19 class TestPackageLogic < Test::Unit::TestCase 20 include JavaClass::PackageLogic 53 54 class TestSimpleNameLogic < Test::Unit::TestCase 55 include JavaClass::SimpleNameLogic 80 81 class TestJavaQualifiedName < Test::Unit::TestCase 82 153 154 class TestJavaVMName < Test::Unit::TestCase 155model_test.rb http://friendster-rails-api.googlecode.com/svn/trunk/ | Ruby | 154 lines
14 15class ModelTest < Test::Unit::TestCase 16TexTest.html http://string-latex.googlecode.com/svn/trunk/ | HTML | 367 lines
52 53 <p class="link">Test::Unit::TestCase</p> 54test_RMtx4.rb https://code.google.com/p/ruby-math-3d/ | Ruby | 739 lines
1class TC_RMtx4 < Test::Unit::TestCase 2xml_parser_test.rb https://code.google.com/p/xbrlware/ | Ruby | 223 lines
1require File.dirname(__FILE__) + '/../../test_helper.rb' 2class TestXmlParser < Test::Unit::TestCase 3instance_test.rb https://code.google.com/p/xbrlware/ | Ruby | 423 lines
2 3class TestXbrlInstance < Test::Unit::TestCase 4versioned_test.rb http://wookiewiki.googlecode.com/svn/trunk/ | Ruby | 239 lines
4 5class VersionedTest < Test::Unit::TestCase 6 fixtures :pages, :page_versions, :locked_pages, :locked_pages_revisionsengine_test.rb http://huisrekening.googlecode.com/svn/trunk/ | Ruby | 371 lines
11 12class EngineTest < Test::Unit::TestCase 13OBJ_Builds.pm https://code.google.com/p/bugzilla4intranet/ | Perl | 161 lines
28 29use base qw(Test::Unit::TestCase); 30utils.rb git://github.com/ruby/ruby.git | Ruby | 397 lines
150 151class OpenSSL::TestCase < Test::Unit::TestCase 152 include OpenSSL::TestUtilsRelationTest.rb http://ss2011-prp1.googlecode.com/svn/trunk/ | Ruby | 245 lines
3 4class RelationTest < Test::Unit::TestCase 5event_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 setupstory_teller_test.rb http://multimedia-storyteller.googlecode.com/svn/trunk/ | Ruby | 662 lines
4 5class StoryTellerTest < Test::Unit::TestCase 6parser_test.rb http://mongrel-esi.googlecode.com/svn/trunk/ | Ruby | 516 lines
4$run_sample_once = false 5class ParseOutputTest < Test::Unit::TestCase 6 include TestServertest_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 < selftest_transcode.rb http://android-ruby.googlecode.com/svn/trunk/ | Ruby | 1808 lines
4require 'test/unit' 5class TestTranscode < Test::Unit::TestCase 6 def test_errorsbase_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_yaml.rb http://rubyworks.googlecode.com/svn/trunk/ | Ruby | 1293 lines
12 13class YAML_Unit_Tests < Test::Unit::TestCase 14 #asset_tag_helper_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 375 lines
2 3class AssetTagHelperTest < Test::Unit::TestCase 4 include ActionView::Helpers::TagHelpertext_helper_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 375 lines
3 4class TextHelperTest < Test::Unit::TestCase 5 include ActionView::Helpers::TextHelperfilters_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 854 lines
2 3class FilterTest < Test::Unit::TestCase 4 class TestController < ActionController::Baserequest_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 771 lines
2 3class RequestTest < Test::Unit::TestCase 4 def setup 362 363class UrlEncodedRequestParameterParsingTest < Test::Unit::TestCase 364 def setupresources_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 731 lines
27 28class ResourcesTest < Test::Unit::TestCase 29 def test_should_arrange_actionsrouting_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 1996 lines
16# See RFC 3986, section 3.3 for allowed path characters. 17class UriReservedCharactersRoutingTest < Test::Unit::TestCase 18 def setup 46 47class LegacyRouteSetTests < Test::Unit::TestCase 48 attr_reader :rseager_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 394 lines
9 10class EagerAssociationTest < Test::Unit::TestCase 11 fixtures :posts, :comments, :authors, :categories, :categories_posts,join_model_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 507 lines
12 13class AssociationsJoinModelTest < Test::Unit::TestCase 14 self.use_transactional_fixtures = falsefinder_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 568 lines
9 10class FinderTest < Test::Unit::TestCase 11 fixtures :companies, :topics, :entrants, :developers, :developers_projects, :posts, :comments, :accounts, :authorsbase_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 1719 lines
61 62class BasicsTest < Test::Unit::TestCase 63 fixtures :topics, :companies, :developers, :projects, :computers, :accountsvalidations_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 1198 lines
23 24class ValidationsTest < Test::Unit::TestCase 25 fixtures :topics, :developersassociations_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 1847 lines
17 18class AssociationsTest < Test::Unit::TestCase 19 fixtures :accounts, :companies, :developers, :projects, :developers_projects, 71 72class AssociationProxyTest < Test::Unit::TestCase 73 fixtures :authors, :posts, :categorizations, :categories, :developers, :projects, :developers_projects 111 112class HasOneAssociationsTest < Test::Unit::TestCase 113 fixtures :accounts, :companies, :developers, :projects, :developers_projects 421 422class HasManyAssociationsTest < Test::Unit::TestCase 423 fixtures :accounts, :companies, :developers, :projects,wiki_syntax_test.rb http://chrisroos.googlecode.com/svn/trunk/ | Ruby | 543 lines
10 11class WikiSyntaxHtmlEscapingTest < Test::Unit::TestCase 12 18 19class WikiSyntaxParagraphTest < Test::Unit::TestCase 20 46 47class WikiSyntaxTypefaceTest < Test::Unit::TestCase 48 106 107class WikiSyntaxCodeTest < Test::Unit::TestCase 108 146 147class WikiSyntaxHeadingsTest < Test::Unit::TestCase 148statemodelcreator__tests.rb http://errfix.googlecode.com/svn/trunk/ | Ruby | 602 lines
29 30class StateModelCreator__tests < Test::Unit::TestCase 31test_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 #string_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_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)file_analyser_test.rb http://multimedia-storyteller.googlecode.com/svn/trunk/ | Ruby | 267 lines
5 6class FileAnalyserTest < Test::Unit::TestCase 7test_database_meta_data.rb http://rubeus.googlecode.com/svn/trunk/ | Ruby | 258 lines
6# Test for lib/rubeus/extensions/java/sql/database_meta_data.rb 7class TestDatabaseMetaData < Test::Unit::TestCase 8 include TestSqlHelpertest_autoload.rb git://github.com/ruby/ruby.git | Ruby | 466 lines
4 5class TestAutoload < Test::Unit::TestCase 6 def test_autoload_sorender_test.rb http://monkeycharger.googlecode.com/svn/trunk/ | Ruby | 429 lines
173 174class RenderTest < Test::Unit::TestCase 175 def setuptest_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 REXMLTestUtils