更新到cache
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>1.5.10.RELEASE</version>
|
||||
<version>2.0.4.RELEASE</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
|
||||
|
||||
@ -30,4 +30,4 @@ logging:
|
||||
ROOT: INFO
|
||||
com:
|
||||
xncoding: DEBUG
|
||||
file: E:/logs/app.log
|
||||
file: D:/logs/app.log
|
||||
|
||||
@ -9,8 +9,8 @@ import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.context.embedded.LocalServerPort;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.boot.web.server.LocalServerPort;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
import static org.hamcrest.MatcherAssert.assertThat;
|
||||
@ -98,15 +98,14 @@ public class ApplicationTests {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 方式4. 客户端代码生成方式
|
||||
*/
|
||||
@Test
|
||||
public void cl4() {
|
||||
CommonService_Service c = new CommonService_Service();
|
||||
com.xncoding.webservice.client.User user = c.getCommonServiceImplPort().getUser("Tom");
|
||||
assertThat(user.getName(), is("Tom"));
|
||||
}
|
||||
// /**
|
||||
// * 方式4. 客户端代码生成方式
|
||||
// */
|
||||
// @Test
|
||||
// public void cl4() {
|
||||
// CommonService_Service c = new CommonService_Service();
|
||||
// com.xncoding.webservice.client.User user = c.getCommonServiceImplPort().getUser("Tom");
|
||||
// assertThat(user.getName(), is("Tom"));
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user