1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package org.xwiki.filter.test.integration; |
21 |
|
|
22 |
|
import java.util.HashMap; |
23 |
|
|
24 |
|
import org.xwiki.filter.utils.FilterStreamConstants; |
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
@version |
29 |
|
@since |
30 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (9) |
Complexity: 3 |
Complexity Density: 0.5 |
|
31 |
|
public class InputTestConfiguration extends HashMap<String, String> implements Cloneable |
32 |
|
{ |
33 |
|
public final String typeId; |
34 |
|
|
35 |
|
public final String buffer; |
36 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
37 |
22 |
public InputTestConfiguration(String typeId, String buffer)... |
38 |
|
{ |
39 |
22 |
this.typeId = typeId; |
40 |
22 |
this.buffer = buffer; |
41 |
|
} |
42 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
43 |
32 |
public InputTestConfiguration(InputTestConfiguration other)... |
44 |
|
{ |
45 |
32 |
super(other); |
46 |
|
|
47 |
32 |
this.typeId = other.typeId; |
48 |
32 |
this.buffer = other.buffer; |
49 |
|
} |
50 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
22 |
public void setEncoding(String encoding)... |
52 |
|
{ |
53 |
22 |
put(FilterStreamConstants.PROPERTY_ENCODING, encoding); |
54 |
|
} |
55 |
|
} |