@@ -58,24 +58,6 @@ public class SerializationTest {
58
58
public static final ExistWebServer existWebServer = new ExistWebServer (true , false , true , true );
59
59
private static final String PORT_PLACEHOLDER = "${PORT}" ;
60
60
61
- @ Parameterized .Parameters (name = "{0}" )
62
- public static java .util .Collection <Object []> data () {
63
- return Arrays .asList (new Object [][] {
64
- { "local" , "xmldb:exist://" },
65
- { "remote" , "xmldb:exist://localhost:" + PORT_PLACEHOLDER + "/xmlrpc" }
66
- });
67
- }
68
-
69
- @ Parameterized .Parameter
70
- public String apiName ;
71
-
72
- @ Parameterized .Parameter (value = 1 )
73
- public String baseUri ;
74
-
75
- private final String getBaseUri () {
76
- return baseUri .replace (PORT_PLACEHOLDER , Integer .toString (existWebServer .getPort ()));
77
- }
78
-
79
61
private static final String EOL = System .getProperty ("line.separator" );
80
62
81
63
private static final String TEST_COLLECTION_NAME = "xmlrpc-serialization-test" ;
@@ -120,8 +102,26 @@ private final String getBaseUri() {
120
102
"<?xml version=\" 1.1\" encoding=\" ISO-8859-1\" standalone=\" yes\" ?>\n " +
121
103
"<bookmap id=\" bookmap-2\" />" ;
122
104
105
+ @ Parameterized .Parameters (name = "{0}" )
106
+ public static java .util .Collection <Object []> data () {
107
+ return Arrays .asList (new Object [][] {
108
+ { "local" , "xmldb:exist://" },
109
+ { "remote" , "xmldb:exist://localhost:" + PORT_PLACEHOLDER + "/xmlrpc" }
110
+ });
111
+ }
112
+
113
+ @ Parameterized .Parameter
114
+ public String apiName ;
115
+
116
+ @ Parameterized .Parameter (value = 1 )
117
+ public String baseUri ;
118
+
123
119
private Collection testCollection ;
124
120
121
+ private final String getBaseUri () {
122
+ return baseUri .replace (PORT_PLACEHOLDER , Integer .toString (existWebServer .getPort ()));
123
+ }
124
+
125
125
@ Test
126
126
public void wrappedNsTest1 () throws XMLDBException {
127
127
final XQueryService service = testCollection .getService (XQueryService .class );
0 commit comments