1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package org.xwiki.model.reference.test; |
21 |
|
|
22 |
|
import org.xwiki.model.EntityType; |
23 |
|
import org.xwiki.model.reference.EntityReference; |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
@version |
29 |
|
@since |
30 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
31 |
|
public interface TestConstants |
32 |
|
{ |
33 |
|
String DEFAULT_WIKI = "defwiki"; |
34 |
|
|
35 |
|
String DEFAULT_SPACE = "defspace"; |
36 |
|
|
37 |
|
String DEFAULT_PAGE = "defpage"; |
38 |
|
|
39 |
|
String DEFAULT_ATTACHMENT = "deffilename"; |
40 |
|
|
41 |
|
String DEFAULT_OBJECT = "defobject"; |
42 |
|
|
43 |
|
String DEFAULT_OBJECT_PROPERTY = "defobjproperty"; |
44 |
|
|
45 |
|
String DEFAULT_CLASS_PROPERTY = "defclassproperty"; |
46 |
|
|
47 |
|
EntityReference DEFAULT_WIKI_REFERENCE = new EntityReference(DEFAULT_WIKI, EntityType.WIKI); |
48 |
|
|
49 |
|
EntityReference DEFAULT_SPACE_REFERENCE = new EntityReference(DEFAULT_SPACE, EntityType.SPACE); |
50 |
|
|
51 |
|
EntityReference DEFAULT_PAGE_REFERENCE = new EntityReference(DEFAULT_PAGE, EntityType.DOCUMENT); |
52 |
|
|
53 |
|
EntityReference DEFAULT_ATTACHMENT_REFERENCE = new EntityReference(DEFAULT_ATTACHMENT, EntityType.ATTACHMENT); |
54 |
|
|
55 |
|
EntityReference DEFAULT_OBJECT_REFERENCE = new EntityReference(DEFAULT_OBJECT, EntityType.OBJECT); |
56 |
|
|
57 |
|
EntityReference DEFAULT_OBJECT_PROPERTY_REFERENCE = new EntityReference(DEFAULT_OBJECT_PROPERTY, |
58 |
|
EntityType.OBJECT_PROPERTY); |
59 |
|
|
60 |
|
EntityReference DEFAULT_CLASS_PROPERTY_REFERENCE = new EntityReference(DEFAULT_CLASS_PROPERTY, |
61 |
|
EntityType.CLASS_PROPERTY); |
62 |
|
|
63 |
|
} |