class DummyTestCaseNormal < RUNIT::TestCase
  def test_1
    assert(true)
    assert(true)
  end
end

class DummyTestCaseFailure < RUNIT::TestCase
  def test_1
    assert(true)
    assert(false)
  end
end

class DummyTestCaseError < RUNIT::TestCase
  def setup
    raise ScriptError
  end
  def test_1
    assert(true)
  end
end

class DummyTestCaseTestRunningTime < RUNIT::TestCase
  def test_1
    sleep(1)
    assert(true)
  end
end

class DummyTestCaseWithError < RUNIT::TestCase
  def test1
    raise StandardError
  end
end

class DummyTestCaseWithMultiError < RUNIT::TestCase
  def test1
    raise StandardError
  end
  def test2
    raise StandardError
  end
  def test3
    raise StandardError
  end
end

class DummyTestCaseWithMultiFailure < RUNIT::TestCase
  def test1
    assert(false)
  end
  def test2
    assert(false)
  end
  def test3
    assert(false)
  end
end

class DummyTestCaseTestRunningTimeEmptyTest < RUNIT::TestCase
end

class DummyTestCaseMultiTest < RUNIT::TestCase
  def test_1
    assert(true)
    assert(true)
  end
  def test_2
    assert(true)
  end
  def test_3
    assert(true)
    assert(false)
    assert(true)
  end
end

class DummyTestSkipAssertTest < RUNIT::TestCase
  def test_assert
    assert(false)
    assert(true)
    assert(5 == 5)
  end
end

class DummyTestDecorator
  include RUNIT::EXT::TestDecorator
end

class DummyTestTestDecorated < RUNIT::TestCase
  @@DecoratedCalled = 0
  def decorated(decorator)
    @@DecoratedCalled += 1
  end
  def DummyTestTestDecorated.decorated
    @@DecoratedCalled
  end
  def test_foo
  end
end

class DummyTestTestDecoratedWithoutDecorated < RUNIT::TestCase
  @@DecoratedCalled = 0
  def DummyTestTestDecoratedWithoutDecorated.decorated
    @@DecoratedCalled
  end
  def test_foo
  end
end

class DummyEmptyTest < RUNIT::TestCase
end
