文件名称:unit-test-sample-initial
文件大小:83KB
文件格式:ZIP
更新时间:2024-08-03 07:56:51
Java
你需要什么 JDK 1.7 + 构建应用程序 sh gradlew build 运行应用程序 java -jar build/lib/*.war 生成Eclipse设置 sh gradlew eclipse 采样控制器 @RestController public class CustomerRestController { @Autowired private CustomerService customerService; @RequestMapping ( value = " /rest/customers/{sn} " , method = RequestMethod . GET ) public Customer getCustomer ( @PathVariable ( " sn " ) String sn ) { return customerServ
【文件预览】:
unit-test-sample-initial-master
----gradlew(5KB)
----src()
--------integrationtest()
--------test()
--------main()
----gradle()
--------jacoco.gradle(690B)
--------jdepend.gradle(87B)
--------wrapper()
--------sonar.gradle(752B)
--------integrationtest.gradle(590B)
--------pmd.gradle(158B)
----README.md(509B)
----gradlew.bat(2KB)
----.gitignore(58B)
----build.gradle(1KB)