The result of function test: `ts.util.text.StringOperationTest'

Total Result: pass

StringOperation クラスの機能試験を実行する。

Test cases:
No Case Name Check NoGood KnownBug Description Remark
1 characterAt 14 0 0 指定されたインデックスの文字を取得。
0 empty. 0 incomplete.
2 characterAt_1 1 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
3 characterAt_2 5 0 0 引数のインデックスが範囲外の場合。
0 empty. 0 incomplete.
4 constructor 1 0 0 デフォルト・コンストラクタ。
0 empty. 0 incomplete.
5 contains 14 0 0 文字列が含まれているかの探索。
0 empty. 0 incomplete.
6 contains_1 4 0 0 文字列が見つからない場合。
0 empty. 0 incomplete.
7 contains_2 2 0 0 引数にヌルが指定された場合。
0 empty. 0 incomplete.
8 endsWith 19 0 0 指定のサフィックスで終了しているかの判定
0 empty. 0 incomplete.
9 endsWith_1 2 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
10 indexOf 14 0 0 文字列の探索。
0 empty. 0 incomplete.
11 indexOf_1 4 0 0 文字列が見つからない場合。
0 empty. 0 incomplete.
12 indexOf_2 2 0 0 引数にヌルが指定された場合。
0 empty. 0 incomplete.
13 indexOf_from 85 0 0 文字列の探索。
0 empty. 0 incomplete.
14 indexOf_from_2 2 0 0 引数にヌルが指定された場合。
0 empty. 0 incomplete.
15 isDigits 4 0 0 数字だけで構成されているかを判定。
0 empty. 0 incomplete.
16 isDigits_1 1 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
17 isEmpty 5 0 0 文字列が空かどうかの判定。
0 empty. 0 incomplete.
18 isEmpty_1 1 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
19 isUnicodeBlock 3 0 0 指定されたUnicode文字ブロックに含まれているか判定。
0 empty. 0 incomplete.
20 isUnicodeBlock_1 2 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
21 isWhitespaces 6 0 0 空白文字からなるかどうかの判定。
0 empty. 0 incomplete.
22 isWhitespaces_1 1 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
23 lastIndexOf 21 0 0 指定した文字列が最後に現れるインデックスの取得。
0 empty. 0 incomplete.
24 lastIndexOf_1 2 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
25 lastIndexOf_From 137 0 0 0 empty. 0 incomplete.
26 lastIndexOf_From_1 2 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
27 offsetByCodePoints 5 0 1 0 empty. 0 incomplete.
28 startsWith 19 0 0 指定のプリフィックスで開始しているかの判定
0 empty. 0 incomplete.
29 startsWith_1 2 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
30 substring 16 0 0 部分文字列の取得。
0 empty. 0 incomplete.
31 substring_1 1 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
32 substring_2 4 0 0 引数のインデックスが範囲外の場合。
0 empty. 0 incomplete.
33 substring_begin_end 25 0 0 部分文字列の取得。
0 empty. 0 incomplete.
34 substring_bgn_end_1 1 0 0 引数がヌルの場合。
0 empty. 0 incomplete.
35 substring_bgn_end_2 6 0 0 引数のインデックスが範囲外の場合。
0 empty. 0 incomplete.
Total 433 0 1 0 cases are empty. 0 cases are incomplete.

Coverage:
No Method Name Lines Passed Coverage
1 ts.util.text.StringOperation
1.1 indexOf 1 1 100 %
1.2 endsWith 3 3 100 %
1.3 <clinit> 1 1 100 %
1.4 isUnicodeBlock 9 9 100 %
1.5 isEmpty 2 2 100 %
1.6 isDigits 7 7 100 %
1.7 lastIndexOf 9 8 88 %
1.8 length 2 2 100 %
1.9 characterAt 4 4 100 %
1.10 substring 2 2 100 %
1.11 contains 3 3 100 %
1.12 offsetByCodePoints 3 2 66 %
1.13 startsWith 3 3 100 %
1.14 indexOf 11 11 100 %
1.15 isWhitespaces 7 7 100 %
1.16 substring 5 5 100 %
1.17 <init> 1 1 100 %
1.18 lastIndexOf 1 1 100 %
Total Coverage 74 72 97 %
Unpassed Lines:
346 423