るりまサーチ

最速Rubyリファレンスマニュアル検索!
5328件ヒット [1-100件を表示] (0.119秒)
トップページ > クエリ:t[x] > クエリ:Error[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

キーワード

検索結果

<< 1 2 3 ... > >>

test/unit (26024.0)

ユニットテストを行うためのライブラリです。

...参照してください。

* Test::Unit - Ruby用単体テストフレームワーク: https://test-unit.github.io/

なお、2.2.0より前のtest/unit は当時バンドルしていた minitest/unit を使って再実装し
ていましたが、上記のtest/unitと完全な互換性がある...
...ィングフレームワークの歴史(2014年版) https://www.clear-code.com/blog/2014/11/6.html
* RubyKaigi 2015:The history of testing framework in Ruby https://www.clear-code.com/blog/2015/12/12.html

=== 使い方

T
est::Unit は以下のように使います。

まずテスト対象...
...ruby test_foo.rb

Loaded suite test_foo
Started
F.
Finished in 0.022223 seconds.

1) Failure:
t
est_bar(TC_Foo) [test_foo.rb:16]:
<"bar"> expected but was
<"foo">.

2 tests, 2 assertions, 1 failures, 0 errors, 0 skips

t
est_bar...

Timeout::Error (21012.0)

timeout で定義される例外クラスです。 関数 timeout がタイムアウトすると発生します。

...timeout で定義される例外クラスです。
関数 timeout がタイムアウトすると発生します。

t
imeout を使うライブラリを作成する場合は、ユーザが指定した
t
imeout を捕捉しないようにライブラリ内で Timeout::Error のサブクラスを
定義...
...'timeout.rb'
class Foo
FooTimeoutError = Class.new(Timeout::Error)
def longlongtime_method
T
imeout.timeout(100, FooTimeoutError) {
...
}
end
end

==> main.rb <==
require 'foo'
T
imeout.timeout...
...(5) {
Foo.new.longlongtime_method
}...

Date::Error (21000.0)

不正な入力に対して発生します。

不正な入力に対して発生します。

GetoptLong::Error (21000.0)

このライブラリで発生する例外の基底クラスです。

このライブラリで発生する例外の基底クラスです。

Net::IMAP::Error (21000.0)

すべての IMAP 例外クラスのスーパークラス。

すべての IMAP 例外クラスのスーパークラス。

絞り込み条件を変える

OpenSSL::PKey::EC::Point::Error (21000.0)

OpenSSL::PKey::EC::Point 関連のエラーを表す例外クラスです。

...OpenSSL::PKey::EC::Point 関連のエラーを表す例外クラスです。...

PStore::Error (21000.0)

PStore の中で発生する例外です。

...PStore の中で発生する例外です。...

StringScanner::Error (21000.0)

スキャン中に発生したエラーをあらわす例外です。

スキャン中に発生したエラーをあらわす例外です。

WEBrick::HTTPStatus::Error (21000.0)

HTTP のステータスコードエラーの親クラスです。

...HTTP のステータスコードエラーの親クラスです。...

Win32::Registry::Error (21000.0)

絞り込み条件を変える

<< 1 2 3 ... > >>