| | |
| | | package com.dsh; |
| | | |
| | | import com.dsh.account.controller.CoachTypeController; |
| | | |
| | | import org.junit.jupiter.api.Test; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | |
| | | import java.util.List; |
| | | |
| | | @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = AccountApplication.class) |
| | | class AccountApplicationTests { |
| | | |
| | | @Autowired |
| | | private CoachTypeController controller; |
| | | |
| | | @Test |
| | | void contextLoads() { |
| | | System.out.println("==============="+controller.list()); |
| | | } |
| | | |
| | | } |
| | | //package com.dsh; |
| | | // |
| | | //import com.dsh.account.controller.CoachTypeController; |
| | | // |
| | | //import org.junit.jupiter.api.Test; |
| | | //import org.springframework.beans.factory.annotation.Autowired; |
| | | //import org.springframework.boot.test.context.SpringBootTest; |
| | | // |
| | | //import java.util.List; |
| | | // |
| | | //@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = AccountApplication.class) |
| | | //class AccountApplicationTests { |
| | | // |
| | | // @Autowired |
| | | // private CoachTypeController controller; |
| | | // |
| | | // |
| | | // @Test |
| | | // void contextLoads() { |
| | | // System.out.println(System.getProperty("java.version")); |
| | | // System.out.println(System.getProperty("java.compiler")); |
| | | // System.out.println(System.getProperty("java.vm.specification.version")); |
| | | // System.out.println(System.getProperty("java.specification.version")); |
| | | // |
| | | // } |
| | | // |
| | | //} |