PageRenderTime 551ms queryTime 293ms sortTime 15ms getByIdsTime 69ms findMatchingLines 47ms

100+ results results for 'Test::Unit::TestCase repo:jwalton/antlr3' (551 ms)

Not the results you expected?
users_controller_test.rb http://irkensrailsspace.googlecode.com/svn/trunk/ | Ruby | 407 lines
                    
6
                    
7class UsersControllerTest < Test::Unit::TestCase
                    
8  fixtures :all
                    
                
TestParse.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 503 lines
                    
8
                    
9class TestParse < Test::Unit::TestCase
                    
10
                    
                
StdlibTest.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_x509crl.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 253 lines
                    
9
                    
10class OpenSSL::TestX509CRL < Test::Unit::TestCase
                    
11  def setup
                    
                
spec.rb https://gitlab.com/klauer/ruby | Ruby | 328 lines
                    
64  # Defines a test class subclassing from either
                    
65  # MiniTest::Unit::TestCase or from the surrounding describe's class.
                    
66
                    
100
                    
101class MiniTest::Spec < MiniTest::Unit::TestCase
                    
102  @@describe_stack = []
                    
135  #
                    
136  # Equivalent to MiniTest::Unit::TestCase#setup.
                    
137
                    
147  #
                    
148  # Equivalent to MiniTest::Unit::TestCase#teardown.
                    
149
                    
                
test_json.rb https://gitlab.com/klauer/ruby | Ruby | 401 lines
                    
25
                    
26class TC_JSON < Test::Unit::TestCase
                    
27  include JSON
                    
                
test_integer.rb https://gitlab.com/lfauts/ruby | Ruby | 348 lines
                    
3
                    
4class TestInteger < Test::Unit::TestCase
                    
5  BDSIZE = 0x4000000000000000.coerce(0)[0].size
                    
                
test_parser.rb http://openappdotorg.googlecode.com/svn/trunk/ | Ruby | 348 lines
                    
6
                    
7class TestParser < Test::Unit::TestCase
                    
8  def test_set_attr
                    
                
test_filehandler.rb https://gitlab.com/lfauts/ruby | Ruby | 324 lines
                    
6
                    
7class WEBrick::TestFileHandler < Test::Unit::TestCase
                    
8  def teardown
                    
                
test_settracefunc.rb https://gitlab.com/klauer/ruby | Ruby | 373 lines
                    
2
                    
3class TestSetTraceFunc < Test::Unit::TestCase
                    
4  def setup
                    
                
test_fileutils.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 262 lines
                    
6
                    
7class Rake::TestFileUtils < Test::Unit::TestCase
                    
8  include FileCreation
                    
                
test_logger.rb https://gitlab.com/klauer/ruby | Ruby | 527 lines
                    
5
                    
6class TestLoggerSeverity < Test::Unit::TestCase
                    
7  def test_enum
                    
18
                    
19class TestLogger < Test::Unit::TestCase
                    
20  include Logger::Severity
                    
266
                    
267class TestLogDevice < Test::Unit::TestCase
                    
268  class LogExcnRaiser
                    
479
                    
480class TestLoggerApplication < Test::Unit::TestCase
                    
481  def setup
                    
                
test_httprequest.rb https://gitlab.com/klauer/ruby | Ruby | 380 lines
                    
4
                    
5class TestWEBrickHTTPRequest < Test::Unit::TestCase
                    
6  def test_parse_09
                    
                
test_utf16.rb https://gitlab.com/klauer/ruby | Ruby | 384 lines
                    
2
                    
3class TestUTF16 < Test::Unit::TestCase
                    
4  def encdump(obj)
                    
                
tsort.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 290 lines
                    
263
                    
264  class TSortTest < Test::Unit::TestCase # :nodoc:
                    
265    def test_dag
                    
                
test_date_new.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 271 lines
                    
3
                    
4class TestDateNew < Test::Unit::TestCase
                    
5
                    
                
test_sax.rb https://gitlab.com/klauer/ruby | Ruby | 278 lines
                    
4
                    
5class SAX2Tester < Test::Unit::TestCase
                    
6  include REXMLTestUtils
                    
                
test_json.rb https://gitlab.com/jun-a/Bemake | Ruby | 553 lines
                    
23
                    
24class TestJSON < Test::Unit::TestCase
                    
25  include JSON
                    
                
test-main.rb https://gitlab.com/jun-a/Bemake | Ruby | 752 lines
                    
48
                    
49class MainTest < Test::Unit::TestCase
                    
50
                    
                
test-erubis.rb https://gitlab.com/jun-a/Bemake | Ruby | 887 lines
                    
15
                    
16class ErubisTest < Test::Unit::TestCase
                    
17
                    
                
test_markupbuilder.rb https://gitlab.com/jun-a/Bemake | Ruby | 611 lines
                    
17
                    
18class TestMarkup < Test::Unit::TestCase
                    
19  def setup
                    
212
                    
213class TestAttributeEscaping < Test::Unit::TestCase
                    
214
                    
250
                    
251class TestNameSpaces < Test::Unit::TestCase
                    
252  def setup
                    
302
                    
303class TestDeclarations < Test::Unit::TestCase
                    
304  def setup
                    
359
                    
360class TestSpecialMarkup < Test::Unit::TestCase
                    
361  def setup
                    
                
base_test.rb https://gitlab.com/meetly/torquebox | Ruby | 1087 lines
                    
8
                    
9class BaseTest < Test::Unit::TestCase
                    
10  def setup
                    
                
selector_test.rb https://gitlab.com/meetly/torquebox | Ruby | 628 lines
                    
8
                    
9class SelectorTest < Test::Unit::TestCase
                    
10  #
                    
                
routing_test.rb https://gitlab.com/meetly/torquebox | Ruby | 1381 lines
                    
23# See RFC 3986, section 3.3 for allowed path characters.
                    
24class UriReservedCharactersRoutingTest < Test::Unit::TestCase
                    
25  def setup
                    
62
                    
63class SegmentTest < Test::Unit::TestCase
                    
64  def test_first_segment_should_interpolate_for_structure
                    
82
                    
83class StaticSegmentTest < Test::Unit::TestCase
                    
84  def test_interpolation_chunk_should_respect_raw
                    
331
                    
332class ControllerSegmentTest < Test::Unit::TestCase
                    
333  def test_regexp_should_only_match_possible_controllers
                    
376
                    
377class RouteBuilderTest < Test::Unit::TestCase
                    
378  def builder
                    
                
integration_test.rb https://gitlab.com/meetly/torquebox | Ruby | 526 lines
                    
2
                    
3class SessionTest < Test::Unit::TestCase
                    
4  StubApp = lambda { |env|
                    
192
                    
193class IntegrationTestTest < Test::Unit::TestCase
                    
194  def setup
                    
                
filters_test.rb https://gitlab.com/meetly/torquebox | Ruby | 885 lines
                    
3# FIXME: crashes Ruby 1.9
                    
4class FilterTest < Test::Unit::TestCase
                    
5  class TestController < ActionController::Base
                    
                
services_test.rb https://gitlab.com/meetly/geocoder | Ruby | 423 lines
                    
3
                    
4class ServicesTest < Test::Unit::TestCase
                    
5
                    
                
snapshot_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 setup
                    
                
test_configure_proxy.rb https://gitlab.com/wilane/fluentd | Ruby | 386 lines
                    
4module Fluent::Config
                    
5  class TestConfigureProxy < ::Test::Unit::TestCase
                    
6    setup do
                    
                
routing_test.rb https://gitlab.com/OBSERVER-DLL/sinatra | Ruby | 1175 lines
                    
24
                    
25class RoutingTest < Test::Unit::TestCase
                    
26  %w[get put post delete options patch].each do |verb|
                    
                
helpers_test.rb https://gitlab.com/OBSERVER-DLL/sinatra | Ruby | 1751 lines
                    
3
                    
4class HelpersTest < Test::Unit::TestCase
                    
5  def test_default
                    
                
test_nifty_scaffold_generator.rb https://gitlab.com/x33n/Real-Estates-Software | Ruby | 538 lines
                    
2
                    
3class TestNiftyScaffoldGenerator < Test::Unit::TestCase
                    
4  include NiftyGenerators::TestHelper
                    
                
test_nifty_admin_scaffold_generator.rb https://gitlab.com/x33n/Real-Estates-Software | Ruby | 538 lines
                    
2
                    
3class TestNiftyAdminScaffoldGenerator < Test::Unit::TestCase
                    
4  include NiftyGenerators::TestHelper
                    
                
properties_test.rb https://gitlab.com/Blueprint-Marketing/rdom | Ruby | 355 lines
                    
3
                    
4class PropertiesTest < Test::Unit::TestCase
                    
5  TEST_ALL_ELEMENTS_PROPERTIES = false
                    
                
node_test.rb https://gitlab.com/Blueprint-Marketing/rdom | Ruby | 390 lines
                    
2
                    
3class NodeTest < Test::Unit::TestCase
                    
4  attr_reader :window, :document, :body, :div
                    
                
events_test.rb https://gitlab.com/Blueprint-Marketing/rdom | Ruby | 500 lines
                    
2
                    
3class EventsTest < Test::Unit::TestCase
                    
4  attr_reader :window, :document
                    
                
test.rb https://gitlab.com/sgruhier/scout-plugins | Ruby | 343 lines
                    
5
                    
6class OverviewWithAlertsTest < Test::Unit::TestCase
                    
7
                    
                
test.rb https://gitlab.com/sgruhier/scout-plugins | Ruby | 575 lines
                    
4require 'open-uri'
                    
5class ElasticsearchClusterNodeStatusTest < Test::Unit::TestCase
                    
6  def setup
                    
                
test_time.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 699 lines
                    
20
                    
21class TestTime < Test::Unit::TestCase
                    
22
                    
                
test_string.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1393 lines
                    
21
                    
22class TestString < Test::Unit::TestCase
                    
23  IS19 = RUBY_VERSION =~ /1\.9/
                    
                
test_kernel.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 2209 lines
                    
3# FIXME: This has platform-specific bits in it
                    
4class TestKernel < Test::Unit::TestCase
                    
5
                    
                
test_io.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1087 lines
                    
5# FIXME: This needs platform-specific stuff changed
                    
6class TestIO < Test::Unit::TestCase
                    
7  IS19 = RUBY_VERSION =~ /1\.9/
                    
                
test_file.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 736 lines
                    
5# Fixme: needs platform-specific stuff dealt with
                    
6class TestFile < Test::Unit::TestCase
                    
7
                    
                
test_array.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1166 lines
                    
2
                    
3class TestArray < Test::Unit::TestCase
                    
4  IS19 = RUBY_VERSION =~ /1\.9/
                    
                
test_zlib.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 838 lines
                    
10if defined? Zlib
                    
11  class TestZlibDeflate < Test::Unit::TestCase
                    
12    def test_initialize
                    
177
                    
178  class TestZlibInflate < Test::Unit::TestCase
                    
179    def test_initialize
                    
256
                    
257  class TestZlibGzipFile < Test::Unit::TestCase
                    
258    def test_to_io
                    
428
                    
429  class TestZlibGzipReader < Test::Unit::TestCase
                    
430    D0 = "\037\213\010\000S`\017A\000\003\003\000\000\000\000\000\000\000\000\000"
                    
                
test_win32ole_variant.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 661 lines
                    
13
                    
14  class TestWIN32OLE_VARIANT < Test::Unit::TestCase
                    
15
                    
                
test_generic.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 720 lines
                    
3
                    
4class URI::TestGeneric < Test::Unit::TestCase
                    
5  def setup
                    
                
test_yaml.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1413 lines
                    
14module Syck
                    
15class YAML_Unit_Tests < Test::Unit::TestCase
                    
16    def setup
                    
                
test_stringscanner.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 693 lines
                    
7
                    
8class TestStringScanner < Test::Unit::TestCase
                    
9  def test_s_new
                    
                
test_addrinfo.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 619 lines
                    
7
                    
8class TestSocketAddrinfo < Test::Unit::TestCase
                    
9  HAS_UNIXSOCKET = defined?(UNIXSocket) && /cygwin/ !~ RUBY_PLATFORM
                    
                
gemutilities.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 588 lines
                    
49
                    
50class RubyGemTestCase < MiniTest::Unit::TestCase
                    
51
                    
                
test_emoji.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 442 lines
                    
4
                    
5  class TestRenameSJIS < Test::Unit::TestCase
                    
6    def test_shift_jis
                    
12
                    
13  class TestUTF8_BLACK_SUN_WITH_RAYS < Test::Unit::TestCase
                    
14    include Emoji
                    
34
                    
35  class TestDoCoMo < Test::Unit::TestCase
                    
36    include Emoji
                    
116
                    
117  class TestKDDI < Test::Unit::TestCase
                    
118    include Emoji
                    
242
                    
243  class TestSoftBank < Test::Unit::TestCase
                    
244    include Emoji
                    
                
test_transcode.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 914 lines
                    
4require 'test/unit'
                    
5class TestTranscode < Test::Unit::TestCase
                    
6  def test_errors
                    
                
test_time_tz.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 338 lines
                    
2
                    
3class TestTimeTZ < Test::Unit::TestCase
                    
4  def with_tz(tz)
                    
                
test_time.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 756 lines
                    
6
                    
7class TestTime < Test::Unit::TestCase
                    
8  def setup
                    
                
test_string.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1830 lines
                    
7
                    
8class TestString < Test::Unit::TestCase
                    
9
                    
                
test_rubyoptions.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 556 lines
                    
8
                    
9class TestRubyOptions < Test::Unit::TestCase
                    
10  def write_file(filename, content)
                    
                
test_regexp.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 870 lines
                    
3
                    
4class TestRegexp < Test::Unit::TestCase
                    
5  def setup
                    
                
test_rational2.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 959 lines
                    
2
                    
3class Rational_Test2 < Test::Unit::TestCase
                    
4
                    
                
test_rational.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1139 lines
                    
4
                    
5class Rational_Test < Test::Unit::TestCase
                    
6
                    
                
test_rand.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 458 lines
                    
2
                    
3class TestRand < Test::Unit::TestCase
                    
4  def assert_random_int(ws, m, init = 0)
                    
                
test_process.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1333 lines
                    
7
                    
8class TestProcess < Test::Unit::TestCase
                    
9  RUBY = EnvUtil.rubybin
                    
                
test_proc.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 821 lines
                    
2
                    
3class TestProc < Test::Unit::TestCase
                    
4  def setup
                    
                
test_parse.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 828 lines
                    
3
                    
4class TestParse < Test::Unit::TestCase
                    
5  def setup
                    
                
test_pack.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 654 lines
                    
2
                    
3class TestPack < Test::Unit::TestCase
                    
4  def test_pack
                    
                
test_object.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 687 lines
                    
3
                    
4class TestObject < Test::Unit::TestCase
                    
5  def setup
                    
                
test_module.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1223 lines
                    
6
                    
7class TestModule < Test::Unit::TestCase
                    
8  def _wrap_assertion
                    
213    assert(Object === self)
                    
214    assert(Test::Unit::TestCase === self)
                    
215    assert(TestModule === self)
                    
                
test_m17n_comb.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1623 lines
                    
4
                    
5class TestM17NComb < Test::Unit::TestCase
                    
6  def assert_encoding(encname, actual, message=nil)
                    
                
test_m17n.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1423 lines
                    
3
                    
4class TestM17N < Test::Unit::TestCase
                    
5  def assert_encoding(encname, actual, message=nil)
                    
                
test_io_m17n.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1627 lines
                    
5
                    
6class TestIO_M17N < Test::Unit::TestCase
                    
7  ENCS = [
                    
                
test_io.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 2099 lines
                    
11
                    
12class TestIO < Test::Unit::TestCase
                    
13  def have_close_on_exec?
                    
                
test_hash.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 923 lines
                    
3
                    
4class TestHash < Test::Unit::TestCase
                    
5
                    
                
test_file_exhaustive.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 808 lines
                    
4
                    
5class TestFileExhaustive < Test::Unit::TestCase
                    
6  DRIVE = Dir.pwd[%r'\A(?:[a-z]:|//[^/]+/[^/]+)'i]
                    
                
test_econv.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 931 lines
                    
3
                    
4class TestEncodingConverter < Test::Unit::TestCase
                    
5  def check_ec(edst, esrc, eres, dst, src, ec, off, len, opts=nil)
                    
                
test_complex2.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 578 lines
                    
2
                    
3class Complex_Test2 < Test::Unit::TestCase
                    
4
                    
                
test_complex.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1151 lines
                    
4
                    
5class Complex_Test < Test::Unit::TestCase
                    
6
                    
                
test_basicinstructions.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 685 lines
                    
8
                    
9class TestBasicInstructions < Test::Unit::TestCase
                    
10
                    
                
test_assignment.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 695 lines
                    
2
                    
3class TestAssignment < Test::Unit::TestCase
                    
4  def test_assign
                    
                
test_array.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1747 lines
                    
3
                    
4class TestArray < Test::Unit::TestCase
                    
5  def setup
                    
                
test_argf.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 766 lines
                    
6
                    
7class TestArgf < Test::Unit::TestCase
                    
8  def setup
                    
                
test_scanner_events.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 837 lines
                    
11
                    
12class TestRipper::ScannerEvents < Test::Unit::TestCase
                    
13
                    
                
test_parser_events.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1142 lines
                    
9
                    
10class TestRipper::ParserEvents < Test::Unit::TestCase
                    
11
                    
                
test_xpath.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1079 lines
                    
4
                    
5class XPathTester < Test::Unit::TestCase
                    
6  include REXMLTestUtils
                    
                
test_validation_rng.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 790 lines
                    
5
                    
6class RNGValidation < Test::Unit::TestCase
                    
7  include REXML
                    
                
test_core.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1462 lines
                    
13
                    
14class Tester < Test::Unit::TestCase
                    
15  include REXMLTestUtils
                    
                
test_contrib.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 581 lines
                    
8
                    
9class ContribTester < Test::Unit::TestCase
                    
10  include REXMLTestUtils
                    
                
test_rdoc_ri_driver.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1061 lines
                    
9
                    
10class TestRDocRIDriver < MiniTest::Unit::TestCase
                    
11
                    
                
test_rdoc_parser_ruby.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 2135 lines
                    
11
                    
12class TestRDocParserRuby < MiniTest::Unit::TestCase
                    
13
                    
                
test_rdoc_parser_c.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1436 lines
                    
53
                    
54class TestRDocParserC < MiniTest::Unit::TestCase
                    
55
                    
                
test_rdoc_markup_parser.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1486 lines
                    
7
                    
8class TestRDocMarkupParser < MiniTest::Unit::TestCase
                    
9
                    
                
test_filelist.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 625 lines
                    
6
                    
7class Rake::TestFileList < Test::Unit::TestCase
                    
8  FileList = Rake::FileList
                    
                
test_application.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 687 lines
                    
8######################################################################
                    
9class Rake::TestApplication < Test::Unit::TestCase
                    
10  include CaptureStdout
                    
300######################################################################
                    
301class Rake::TestApplicationOptions < Test::Unit::TestCase
                    
302  include CaptureStdout
                    
                
test_pathname.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1299 lines
                    
11
                    
12class TestPathname < Test::Unit::TestCase
                    
13  def self.define_assertion(name, linenum, &block)
                    
                
test_asn1.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 589 lines
                    
2
                    
3class  OpenSSL::TestASN1 < Test::Unit::TestCase
                    
4  def test_decode
                    
                
test_open-uri.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 730 lines
                    
6
                    
7class TestOpenURI < Test::Unit::TestCase
                    
8
                    
                
test_minitest_unit.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1454 lines
                    
16
                    
17class TestMiniTestUnit < MiniTest::Unit::TestCase
                    
18  pwd = Pathname.new(File.expand_path(Dir.pwd))
                    
46    srand 42
                    
47    MiniTest::Unit::TestCase.reset
                    
48    @tu = MiniTest::Unit.new
                    
112    exception = begin
                    
113                  MiniTest::Unit::TestCase.new('fake tc').flunk
                    
114                rescue MiniTest::Assertion => failure
                    
193  def test_run_error
                    
194    tc = Class.new(MiniTest::Unit::TestCase) do
                    
195      def test_something
                    
226  def test_run_error_teardown
                    
227    tc = Class.new(MiniTest::Unit::TestCase) do
                    
228      def test_something
                    
                
test_mini_test.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1020 lines
                    
15
                    
16class TestMiniTest < MiniTest::Unit::TestCase
                    
17  def setup
                    
18    srand 42
                    
19    MiniTest::Unit::TestCase.reset
                    
20    @tu = MiniTest::Unit.new
                    
103    exception = begin
                    
104                  MiniTest::Unit::TestCase.new('fake tc').flunk
                    
105                rescue MiniTest::Assertion => failure
                    
185  def test_class_run_test_suites
                    
186    tc = Class.new(MiniTest::Unit::TestCase) do
                    
187      def test_something
                    
197  def test_run_failing # TODO: add error test
                    
198    tc = Class.new(MiniTest::Unit::TestCase) do
                    
199      def test_something
                    
                
test_gdbm.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 736 lines
                    
12
                    
13  class TestGDBM_RDONLY < Test::Unit::TestCase
                    
14    def TestGDBM_RDONLY.uname_s
                    
59
                    
60  class TestGDBM < Test::Unit::TestCase
                    
61    SYSTEM = TestGDBM_RDONLY::SYSTEM
                    
                
test_fileutils.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1180 lines
                    
8
                    
9class TestFileUtils < Test::Unit::TestCase
                    
10  TMPROOT = "#{Dir.tmpdir}/fileutils.rb.#{$$}"
                    
                
test_switch_hitter.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 577 lines
                    
3
                    
4class TestSH < Test::Unit::TestCase
                    
5
                    
                
test_date_strptime.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 486 lines
                    
3
                    
4class TestDateStrptime < Test::Unit::TestCase
                    
5
                    
                
test_date_parse.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1058 lines
                    
3
                    
4class TestDateParse < Test::Unit::TestCase
                    
5
                    
                
test_date_base.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 442 lines
                    
9
                    
10class TestDateBase < Test::Unit::TestCase
                    
11
                    
                
test_cgi_tag_helper.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 341 lines
                    
5
                    
6class CGITagHelperTest < Test::Unit::TestCase
                    
7
                    
                
test_bigdecimal.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1306 lines
                    
5
                    
6class TestBigDecimal < Test::Unit::TestCase
                    
7  include TestBigDecimalBase
                    
                
test_time.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 407 lines
                    
4
                    
5class TestTimeExtension < Test::Unit::TestCase # :nodoc:
                    
6  def test_rfc822
                    
                
test_yaml.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1292 lines
                    
12
                    
13class YAML_Unit_Tests < Test::Unit::TestCase
                    
14	#
                    
                
test_xsd.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1511 lines
                    
7
                    
8class TestXSD < Test::Unit::TestCase
                    
9  NegativeZero = (-1.0 / (1.0 / 0.0))
                    
                
test_generic.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 704 lines
                    
6
                    
7class TestGeneric < Test::Unit::TestCase
                    
8  def setup
                    
                
test_basetype.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 970 lines
                    
7
                    
8class TestSOAP < Test::Unit::TestCase
                    
9  NegativeZero = (-1.0 / (1.0 / 0.0))
                    
                
test_integer.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 653 lines
                    
2
                    
3class TestInteger < Test::Unit::TestCase
                    
4  VS = [
                    
                
test_file_exhaustive.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 673 lines
                    
4
                    
5class TestFileExhaustive < Test::Unit::TestCase
                    
6  def setup
                    
                
test_array.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1273 lines
                    
2
                    
3class TestArray < Test::Unit::TestCase
                    
4  def test_0_literal
                    
                
test_pathname.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 487 lines
                    
9
                    
10class TestPathname < Test::Unit::TestCase
                    
11  def self.define_assertion(name, &block)
                    
                
test_ssl.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1032 lines
                    
12
                    
13class OpenSSL::TestSSL < Test::Unit::TestCase
                    
14  RUBY = ENV["RUBY"] || File.join(
                    
                
test_pkcs7.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 489 lines
                    
9
                    
10class OpenSSL::TestPKCS7 < Test::Unit::TestCase
                    
11  def setup
                    
                
test_gdbm.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 692 lines
                    
11
                    
12  class TestGDBM < Test::Unit::TestCase
                    
13    def TestGDBM.uname_s
                    
                
test_csv.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1753 lines
                    
22
                    
23class TestCSV < Test::Unit::TestCase
                    
24  file = Tempfile.new("crlf")
                    
                
test_zlib.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 955 lines
                    
5
                    
6class TestZlib < Test::Unit::TestCase
                    
7  def teardown;  File.unlink @filename if @filename; end
                    
560# Test for MAX_WBITS + 16
                    
561class TestZlibDeflateGzip < Test::Unit::TestCase
                    
562  def test_deflate_gzip
                    
                
test_yaml.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1875 lines
                    
13
                    
14class YAML_Unit_Tests < Test::Unit::TestCase
                    
15  #
                    
                
test_numeric.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 577 lines
                    
2
                    
3class TestNumeric < Test::Unit::TestCase
                    
4
                    
297
                    
298class TestNumeric < Test::Unit::TestCase
                    
299
                    
                
test_kernel.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 850 lines
                    
5
                    
6class TestKernel < Test::Unit::TestCase
                    
7  include TestHelper
                    
                
test_integer_overflows.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 668 lines
                    
23
                    
24class VVT < Test::Unit::TestCase
                    
25  BIT_SIZES = [ 30, 31, 32, 33, 62, 63, 64, 65 ]
                    
                
test_higher_javasupport.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 834 lines
                    
8
                    
9class TestHigherJavasupport < Test::Unit::TestCase
                    
10  TestHelper = org.jruby.test.TestHelper
                    
                
test_file.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 1160 lines
                    
8
                    
9class TestFile < Test::Unit::TestCase
                    
10  WINDOWS = RbConfig::CONFIG['host_os'] =~ /Windows|mswin/
                    
                
test_case.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 870 lines
                    
80
                    
81class Gem::TestCase < MiniTest::Unit::TestCase
                    
82
                    
                
unit.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 640 lines
                    
194        if options.delete(:gc_stress)
                    
195          MiniTest::Unit::TestCase.class_eval do
                    
196            oldrun = instance_method(:run)
                    
                
formatter_test_case.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 699 lines
                    
37
                    
38class RDoc::Markup::FormatterTestCase < MiniTest::Unit::TestCase
                    
39
                    
                
assertions.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 622 lines
                    
12    # Test::Unit::Assertions contains the standard Test::Unit assertions.
                    
13    # Assertions is included in Test::Unit::TestCase.
                    
14    #
                    
                
expectation_test.rb https://gitlab.com/essere.lab.public/qualitas.class-corpus | Ruby | 480 lines
                    
7
                    
8class ExpectationTest < Test::Unit::TestCase
                    
9  
                    
                
 

Source

Language