Changeset 1912
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-http-test/src/test/java/de/ugoe/cs/autoquest/http/eventcore/SOAPEventTypeTest.java
r1910 r1912 228 228 */ 229 229 @Test 230 public void test_ClientName_13() throws Exception { 231 HttpExchange exchange = createDummyExchange(); 232 SOAPMessage dummyMessage = createDummySOAPMessage(); 233 Properties properties = new Properties(); 234 properties.put("clientName.default", "defaultName"); 235 236 SOAPEventType fixture = new SOAPEventType(exchange, dummyMessage, null, properties); 237 238 assertEquals("defaultName", fixture.getClientName()); 239 } 240 241 /** 242 * 243 */ 244 @Test 245 public void test_ClientName_14() throws Exception { 246 HttpExchange exchange = createDummyExchange(); 247 SOAPMessage dummyMessage = createDummySOAPMessage(); 248 Properties properties = new Properties(); 249 properties.put("clientName.default", "defaultName"); 250 properties.put("clientName.receiver.server.receiver:5678", "replacedSender"); 251 252 SOAPEventType fixture = new SOAPEventType(exchange, dummyMessage, null, properties); 253 254 assertEquals("replacedSender", fixture.getClientName()); 255 } 256 257 /** 258 * 259 */ 260 @Test 230 261 public void test_ServiceName_01() throws Exception { 231 262 HttpExchange exchange = createDummyExchange(); -
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/eventcore/SOAPEventType.java
r1910 r1912 145 145 } 146 146 147 if (value == null) { 148 key = "clientName.default"; 149 value = urlNameMap.getProperty(key); 150 } 151 147 152 if (value != null) { 148 153 clientName = value;
Note: See TracChangeset
for help on using the changeset viewer.