The result of function test: `ts.query.DefaultQueryTransactionTest'

Total Result: pass


Test cases:
No Case Name Check NoGood KnownBug Description Remark
1 addConnectionFactory_connId_factory_BadState 3 0 0 トランザクションの状態が適切でない場合。
0 empty. 0 incomplete.
2 addConnectionFactory_connId_factory_Null 1 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
3 begin_timeout 18 0 0 トランザクションを開始するメソッドの確認。
0 empty. 0 incomplete.
4 begin_timeout_Negative 18 0 0 引数が負の場合。
0 empty. 0 incomplete.
5 commit 18 0 0 トランザクションの結果を確定するメソッドの確認。
0 empty. 0 incomplete.
6 constructor 5 0 0 デフォルト・コンストラクタの確認。
0 empty. 0 incomplete.
7 end 25 0 0 トランザクションを終了するメソッドの確認。
0 empty. 0 incomplete.
8 getConnection_connId 22 0 0 コネクションを取得するメソッドの確認。
0 empty. 0 incomplete.
9 getConnection_connId_BadState 4 0 0 トランザクションの状態が不正な場合。
0 empty. 0 incomplete.
10 getConnection_connId_FailToCreate 2 0 0 コネクションの作成に失敗した場合。
0 empty. 0 incomplete.
11 getConnection_connId_NoConnection 5 0 0 引数のIDに対するコネクションが存在しない場合。
0 empty. 0 incomplete.
12 rollback 18 0 0 トランザクションの結果を取り消すメソッドの確認。
0 empty. 0 incomplete.
13 setTimeoutMillis_timeout 32 0 0 デフォルトのタイムアウト値を設定するメソッドの確認。
0 empty. 0 incomplete.
14 setTimeoutMillis_timeout_BadState 14 0 0 トランザクションの状態が適切でない場合。
0 empty. 0 incomplete.
Total 185 0 0 0 cases are empty. 0 cases are incomplete.

Coverage:
No Method Name Lines Passed Coverage
1 ts.query.DefaultQueryTransaction
1.1 begin 2 2 100 %
1.2 getTimeoutMillis 1 1 100 %
1.3 addConnectionFactory 4 4 100 %
1.4 rollback 5 5 100 %
1.5 end 12 12 100 %
1.6 changeState 3 3 100 %
1.7 <init> 8 8 100 %
1.8 setTimeoutMillis 3 3 100 %
1.9 checkState 4 4 100 %
1.10 getBeginTimeMillis 1 1 100 %
1.11 getLimitTimeMillis 1 1 100 %
1.12 getConnection 11 11 100 %
1.13 commit 5 5 100 %
1.14 getState 1 1 100 %
1.15 begin 7 7 100 %
1.16 <clinit> 1 1 100 %
Total Coverage 69 69 100 %
Unpassed Lines: