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

Total Result: pass


Test cases:
No Case Name Check NoGood KnownBug Description Remark
1 createAndGetThreadLocalTransaction_AlreadExists 2 0 0 既にスレッド・ローカルなトランザクションが作成済みの場合。
0 empty. 0 incomplete.
2 createAndGetThreadLocalTransaction_InLocalThread 18 0 0 スレッド・ローカルなトランザクションをローカルなスレッド内で操作。
0 empty. 0 incomplete.
3 createAndGetThreadLocalTransaction_InOtherThread 13 0 0 スレッド・ローカルなトランザクションを別のスレッド内で操作。
0 empty. 0 incomplete.
4 createAndGetThreadLocalTransaction_trClass_Null 1 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
5 createAndGetThreadSafeTransaction_key_AlreadExists 3 0 0 既に指定されたキーに対するトランザクションが作成済みの場合。
0 empty. 0 incomplete.
6 createAndGetThreadSafeTransaction_key_InOtherThreads 14 0 0 スレッド・セーフなトランザクションを別のスレッド内で操作。
0 empty. 0 incomplete.
7 createAndGetThreadSafeTransaction_trClass_Null 2 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
8 createThreadSafeTransaction_key_FailToCreate 4 0 0 スレッド・セーフなトランザクションの作成に失敗した場合。
0 empty. 0 incomplete.
Total 57 0 0 0 cases are empty. 0 cases are incomplete.

Coverage:
No Method Name Lines Passed Coverage
1 ts.query.QueryTransactionManager
1.1 createThreadLocalTransaction 1 1 100 %
1.2 <clinit> 2 2 100 %
1.3 createThreadSafeTransaction 11 11 100 %
1.4 <init> 1 0 0 %
1.5 access$300 1 1 100 %
1.6 getThreadLocalTransaction 1 1 100 %
1.7 createThreadSafeTransaction 1 1 100 %
1.8 access$200 1 1 100 %
1.9 createThreadLocalTransaction 8 8 100 %
1.10 getThreadSafeTransaction 1 1 100 %
2 ts.query.QueryTransactionManager$Error
2.1 valueOf 1 1 100 %
2.2 values 1 1 100 %
2.3 <clinit> 7 7 100 %
2.4 <init> 1 1 100 %
3 ts.query.QueryTransactionManager$ThreadLocalTransaction
3.1 <init> 3 3 100 %
3.2 getState 4 4 100 %
3.3 <init> 1 1 100 %
3.4 begin 2 2 100 %
3.5 begin 2 2 100 %
3.6 addConnectionFactory 2 2 100 %
3.7 end 4 4 100 %
3.8 getBeginTimeMillis 1 1 100 %
3.9 commit 2 2 100 %
3.10 getConnection 1 1 100 %
3.11 getLimitTimeMillis 1 1 100 %
3.12 getInnerTransaction 4 4 100 %
3.13 rollback 2 2 100 %
4 ts.query.QueryTransactionManager$ThreadSafeTransaction
4.1 begin 2 2 100 %
4.2 getConnection 1 1 100 %
4.3 getBeginTimeMillis 1 1 100 %
4.4 <init> 4 4 100 %
4.5 end 4 4 100 %
4.6 <init> 1 1 100 %
4.7 rollback 2 2 100 %
4.8 getInnerTransaction 6 6 100 %
4.9 commit 2 2 100 %
4.10 addConnectionFactory 2 2 100 %
4.11 getState 5 4 80 %
4.12 begin 2 2 100 %
4.13 getLimitTimeMillis 1 1 100 %
Total Coverage 96 94 97 %
Unpassed Lines:
94 475