| Test cases: |
| No |
Case Name |
Check |
NoGood |
KnownBug |
Description |
Remark |
|
| 1 |
constructor |
6 |
0 |
0 |
デフォルト・コンストラクタ。
|
0 empty.
0 incomplete.
|
| 2 |
constructor_connId |
19 |
0 |
0 |
接続IDを引数にとるコンストラクタの確認。
|
0 empty.
0 incomplete.
|
| 3 |
constructor_connId_Null |
4 |
0 |
0 |
引数がヌルや空文字列の場合。
|
0 empty.
0 incomplete.
|
| 4 |
create |
4 |
0 |
0 |
IQueryConnectionオブジェクトを作成するメソッドの確認。
|
0 empty.
0 incomplete.
|
| 5 |
create_ClassNameIsDifferent |
1 |
0 |
0 |
設定されたクラスと戻り値のクラスが異なる場合。
|
0 empty.
0 incomplete.
|
| 6 |
create_ClassNameIsEmpty |
2 |
0 |
0 |
クラス名が空の場合。
|
0 empty.
0 incomplete.
|
| 7 |
create_ClassNotFound |
3 |
0 |
0 |
設定された名前のクラスが存在しない場合。
|
0 empty.
0 incomplete.
|
| 8 |
create_ConstructorNotFound |
2 |
0 |
0 |
指定されたクラスに要求されるコンストラクタが存在しない場合。
|
0 empty.
0 incomplete.
|
| 9 |
create_FailToCreate |
2 |
0 |
0 |
IQueryConnectionオブジェクトの作成に失敗した場合。
|
0 empty.
0 incomplete.
|
| 10 |
create_tran |
4 |
0 |
0 |
IQueryConnectionオブジェクトを作成するメソッドの確認。
|
0 empty.
0 incomplete.
|
| 11 |
create_tran_ClassNameIsDifferent |
1 |
0 |
0 |
設定されたクラスと戻り値のクラスが異なる場合。
|
0 empty.
0 incomplete.
|
| 12 |
create_tran_ClassNameIsEmpty |
2 |
0 |
0 |
クラス名が空の場合。
|
0 empty.
0 incomplete.
|
| 13 |
create_tran_ClassNotFound |
3 |
0 |
0 |
設定された名前のクラスが存在しない場合。
|
0 empty.
0 incomplete.
|
| 14 |
create_tran_ConstructorNotFound |
2 |
0 |
0 |
指定されたクラスに要求されるコンストラクタが存在しない場合。
|
0 empty.
0 incomplete.
|
| 15 |
create_tran_FailToCreate |
2 |
0 |
0 |
IQueryConnectionオブジェクトの作成に失敗した場合。
|
0 empty.
0 incomplete.
|
| 16 |
executeCommand_args_config_FileTypeIsProp |
1 |
0 |
0 |
接続設定ファイルのサンプルを出力するメソッドの確認(Prop)。
|
0 empty.
0 incomplete.
|
| 17 |
executeCommand_args_config_FileTypeIsXml |
1 |
0 |
0 |
接続設定ファイルのサンプルを出力するメソッドの確認(XML)。
|
0 empty.
0 incomplete.
|
| 18 |
executeCommand_args_config_IllegalArgsCount |
5 |
0 |
0 |
引数の配列の要素数が不正な場合。
|
0 empty.
0 incomplete.
|
| 19 |
executeCommand_args_config_IllegalEncoding |
1 |
0 |
0 |
出力ファイルの文字エンコーディングが不正な場合。
|
0 empty.
0 incomplete.
|
| 20 |
executeCommand_args_config_IllegalOutputFileType |
1 |
0 |
0 |
出力ファイルの形式が不正な場合。
|
0 empty.
0 incomplete.
|
| 21 |
executeCommand_args_config_Null |
1 |
0 |
0 |
引数がヌルの場合。
|
0 empty.
0 incomplete.
|
| 22 |
executeCommand_args_config_OutputFilePathIsBad |
1 |
0 |
0 |
出力ファイルのパスが不正な場合。 - 指定したパスが既存のディレクトリだった場合。
|
0 empty.
0 incomplete.
|
| 23 |
executeCommand_args_config_ZeroArgs |
1 |
0 |
0 |
引数の配列の要素数がゼロの場合。
|
0 empty.
0 incomplete.
|
| 24 |
getConnectionClass |
4 |
0 |
0 |
コネクション・クラス名の設定と取得の確認。
|
0 empty.
0 incomplete.
|
| 25 |
getLimitSpentTime |
8 |
0 |
0 |
制限時間の設定と取得の確認。
|
0 empty.
0 incomplete.
|
| 26 |
getLimitSpentTime_IllegalLimitSpentTime |
2 |
0 |
0 |
制限時間に不正な値を設定した場合。
|
0 empty.
0 incomplete.
|
| 27 |
loadResource_ConfigFileNotFound |
2 |
0 |
0 |
設定ファイルがXML形式でもJavaプロパティ形式でも存在しなかった場合。
|
0 empty.
0 incomplete.
|
| 28 |
loadResource_FailToLoadConfig_Prop |
2 |
0 |
0 |
Javaプロパティ形式の設定ファイルのロードに失敗した場合。
|
0 empty.
0 incomplete.
|
| 29 |
loadResource_FailToLoadConfig_Xml |
2 |
0 |
0 |
XML形式の設定ファイルのロードに失敗した場合。
|
0 empty.
0 incomplete.
|
| 30 |
loadResource_LoadPropFile |
19 |
0 |
0 |
Javaプロパティ形式の設定ファイルのロードの確認。
|
0 empty.
0 incomplete.
|
| 31 |
loadResource_LoadXmlFile |
19 |
0 |
0 |
XML形式の設定ファイルのロードの確認。
|
0 empty.
0 incomplete.
|
| 32 |
outputSamplePropEntries_pw_Inheritance |
3 |
0 |
0 |
プロパティ・エントリを出力するメソッドの継承の確認。
|
0 empty.
0 incomplete.
|
| 33 |
outputSampleProp_pw |
2 |
0 |
0 |
プロパティ形式の接続設定ファイルの出力メソッドの確認。
|
0 empty.
0 incomplete.
|
| 34 |
outputSampleProp_pw_Null |
1 |
0 |
0 |
引数がヌルの場合。
|
0 empty.
0 incomplete.
|
| 35 |
outputSampleXmlEntries_pw_Inheritance |
3 |
0 |
0 |
XMLエントリを出力するメソッドの継承の確認。
|
0 empty.
0 incomplete.
|
| 36 |
outputSampleXml_pw |
2 |
0 |
0 |
XML形式の接続設定ファイルの出力メソッドの確認。
|
0 empty.
0 incomplete.
|
| 37 |
outputSampleXml_pw_Null |
2 |
0 |
0 |
引数がヌルの場合。
|
0 empty.
0 incomplete.
|
|
| Total |
140 |
0 |
0 |
0 cases are empty.
0 cases are incomplete.
|
|
|
| Coverage: |
| No |
Method Name |
Lines |
Passed |
Coverage |
|
|
| 1
| ts.query.QueryConnectionConfig
|
| 1.1 |
getConnectionId |
1 |
1 |
100 % |
|
| 1.2 |
getLimitSpentTime |
4 |
4 |
100 % |
|
| 1.3 |
access$000 |
1 |
1 |
100 % |
|
| 1.4 |
newTypedGetter |
1 |
1 |
100 % |
|
| 1.5 |
executeCommand |
38 |
38 |
100 % |
|
| 1.6 |
typedGetter |
1 |
1 |
100 % |
|
| 1.7 |
outputSampleXmlEntries |
1 |
1 |
100 % |
|
| 1.8 |
outputSampleXml |
24 |
24 |
100 % |
|
| 1.9 |
outputSampleProp |
17 |
17 |
100 % |
|
| 1.10 |
getResource |
1 |
1 |
100 % |
|
| 1.11 |
outputSamplePropEntries |
1 |
1 |
100 % |
|
| 1.12 |
loadResource |
16 |
16 |
100 % |
|
| 1.13 |
<init> |
10 |
10 |
100 % |
|
| 1.14 |
getConnectionClass |
1 |
1 |
100 % |
|
| 1.15 |
create |
16 |
16 |
100 % |
|
| 1.16 |
<init> |
5 |
5 |
100 % |
|
| 1.17 |
<clinit> |
1 |
1 |
100 % |
|
| 1.18 |
create |
15 |
15 |
100 % |
|
| 2
| ts.query.QueryConnectionConfig$1
|
| 2.1 |
getList |
1 |
1 |
100 % |
|
| 2.2 |
getList |
1 |
1 |
100 % |
|
| 2.3 |
get |
1 |
1 |
100 % |
|
| 2.4 |
<init> |
1 |
1 |
100 % |
|
| 2.5 |
get |
1 |
1 |
100 % |
|
| 3
| ts.query.QueryConnectionConfig$Error
|
| 3.1 |
<init> |
1 |
1 |
100 % |
|
| 3.2 |
values |
1 |
1 |
100 % |
|
| 3.3 |
valueOf |
1 |
1 |
100 % |
|
| 3.4 |
<clinit> |
8 |
8 |
100 % |
|
|
| Total Coverage |
163 |
163 |
100 % |
|
|
|
| Unpassed Lines: |
| |