Class
TestMail
In:
test/bin/test_mail.rb
Parent:
Test::Unit::TestCase
Methods
setup
teardown
test_main_0101
test_main_0201
test_main_0202
test_main_0203
test_main_0204
test_main_0205
test_main_0206
test_main_0301
Public Instance methods
setup
()
teardown
()
test_main_0101
()
概要
mainメソッドのテスト
条件
引数なし
結果
正常終了
使用方法が表示される。
test_main_0201
()
概要
mainメソッドのテスト
必須引数のチェック
条件
必須引数すべてあり
結果
正常終了
test_main_0202
()
概要
mainメソッドのテスト
必須引数のチェック
条件
必須引数 textなし
結果
正常終了
test_main_0203
()
概要
mainメソッドのテスト
必須引数のチェック
条件
必須引数 from なし
結果
正常終了
test_main_0204
()
概要
mainメソッドのテスト
必須引数のチェック
条件
必須引数 to なし
結果
正常終了
test_main_0205
()
概要
mainメソッドのテスト
必須引数のチェック
条件
必須引数 subject なし
結果
正常終了
test_main_0206
()
概要
mainメソッドのテスト
必須引数のチェック
条件
必須引数 smtp なし
結果
正常終了
test_main_0301
()
概要
mainメソッドのテスト
条件
引数あり
結果
正常終了
SMTPクラスのstartメソッドが呼ばれる。
[Validate]