The result of function test: `ts.util.resource.AbstractResourceTest'

Total Result: pass


Test cases:
No Case Name Check NoGood KnownBug Description Remark
1 constructor 6 0 0 デフォルトコンストラクタの確認。
0 empty. 0 incomplete.
2 constructor_str 7 0 0 デフォルトコンストラクタの確認。
0 empty. 0 incomplete.
3 copy_constructor 10 0 0 コピーコンストラクタの確認。
0 empty. 0 incomplete.
4 copy_constructor_1 1 0 0 0 empty. 0 incomplete.
5 getNameOfKeyElement 2 0 0 キー要素から要素名を取得するメソッドの確認。
引数のキーが属性を含まない場合
0 empty. 0 incomplete.
6 getNameOfKeyElement_1 2 0 0 引数のキーが属性を含んでいる場合
0 empty. 0 incomplete.
7 getNameOfKeyElement_2 1 0 0 引数がヌルの場合
0 empty. 0 incomplete.
8 getNameOfKeyElement_3 1 0 0 引数が空文字列の場合
0 empty. 0 incomplete.
9 listAttributesOfKeyElement 1 0 0 キー要素から属性のリストを取得するメソッドの確認。
引数が空文字の場合
0 empty. 0 incomplete.
10 listAttributesOfKeyElement_1 1 0 0 引数がヌルの場合
0 empty. 0 incomplete.
11 listAttributesOfKeyElement_2 4 0 0 属性を持たない要素の場合
0 empty. 0 incomplete.
12 listAttributesOfKeyElement_3 25 0 0 属性を持つ要素の場合
0 empty. 0 incomplete.
13 load_path 2 0 0 リソースファイルをロードするメソッドの確認。
0 empty. 0 incomplete.
14 save_path 1 0 0 リソースファイルを保存するメソッドの確認。
0 empty. 0 incomplete.
15 save_path_1 1 0 0 保存中に例外が発生した場合。
0 empty. 0 incomplete.
16 setAttributeMatchMark 2 0 0 キー属性の名前と値の対応マークを設定するメソッドの確認。
0 empty. 0 incomplete.
17 setAttributeMatchMark_str 5 0 0 キー属性の名前と値の対応マークを設定するメソッドの確認。
0 empty. 0 incomplete.
18 setAttributeParenthesis 4 0 0 キー属性を囲む括弧を設定するメソッドの確認。
0 empty. 0 incomplete.
19 setAttributeParenthesis_str 12 0 0 キー属性を囲む括弧を設定するメソッドの確認。
0 empty. 0 incomplete.
20 setAttributeSeparator 2 0 0 キー属性のセパレータを設定するメソッドの確認。
0 empty. 0 incomplete.
21 setAttributeSeparator_str 6 0 0 キー属性のセパレータを設定するメソッドの確認。
0 empty. 0 incomplete.
22 setElementSeparator 2 0 0 キー要素セパレータを設定するメソッドの確認。
0 empty. 0 incomplete.
23 setElementSeparator_str 6 0 0 キー要素セパレータを設定するメソッドの確認。
0 empty. 0 incomplete.
24 splitKey 29 0 0 キーを要素に分離するメソッドの確認。
0 empty. 0 incomplete.
25 splitKey_1 1 0 0 引数がヌルの場合
0 empty. 0 incomplete.
26 splitKey_2 1 0 0 キーが空文字列の場合
0 empty. 0 incomplete.
27 splitKey_3 2 0 0 要素が閉じ括弧で終了してない場合
0 empty. 0 incomplete.
28 splitKey_5 2 0 0 属性の括弧が開いたまま要素が終了する場合
0 empty. 0 incomplete.
29 splitKey_6 6 0 0 要素名が空の場合
0 empty. 0 incomplete.
30 splitKey_7 12 0 0 属性名が空の場合
0 empty. 0 incomplete.
31 splitKey_8 4 0 0 属性に複数の等号が含まれている場合
0 empty. 0 incomplete.
32 splitKey_9 2 0 0 属性に等号が一つも含まれていない場合
0 empty. 0 incomplete.
Total 163 0 0 0 cases are empty. 0 cases are incomplete.

Coverage:
No Method Name Lines Passed Coverage
1 ts.util.resource.AbstractResource
1.1 getElementSeparator 1 1 100 %
1.2 getAttributeMatchMark 1 1 100 %
1.3 attributeParenthesis 1 1 100 %
1.4 setElementSeparator 2 2 100 %
1.5 attributeSeparator 1 1 100 %
1.6 listAttributesOfKeyElement 27 27 100 %
1.7 setElementSeparator 5 5 100 %
1.8 <init> 14 14 100 %
1.9 getAttributeSeparator 1 1 100 %
1.10 setAttributeSeparator 5 5 100 %
1.11 attributeMatchMark 1 1 100 %
1.12 getPath 1 1 100 %
1.13 save 6 6 100 %
1.14 elementSeparator 1 1 100 %
1.15 setAttributeParenthesis 3 3 100 %
1.16 setAttributeMatchMark 2 2 100 %
1.17 splitKey 59 59 100 %
1.18 getOutputStream 2 2 100 %
1.19 getAttributeParenthesis 4 4 100 %
1.20 <init> 6 6 100 %
1.21 getInputStream 2 2 100 %
1.22 <clinit> 1 1 100 %
1.23 setAttributeParenthesis 9 9 100 %
1.24 load 7 7 100 %
1.25 setAttributeSeparator 2 2 100 %
1.26 setAttributeMatchMark 5 5 100 %
1.27 getNameOfKeyElement 3 3 100 %
Total Coverage 167 167 100 %
Unpassed Lines: