初始化

This commit is contained in:
2024-08-22 16:17:42 +08:00
commit bcf26cd8a9
12 changed files with 658 additions and 0 deletions

View File

@ -0,0 +1,13 @@
package com.nkkj.ups;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class UpsApplicationTests {
@Test
void contextLoads() {
}
}

View File

@ -0,0 +1,26 @@
//package com.nkkj.ups.test;
//
//import com.baomidou.mybatisplus.core.toolkit.Assert;
//import org.junit.jupiter.api.Test;
//import org.junit.runner.RunWith;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.junit4.SpringRunner;
//
//import java.util.List;
//@RunWith(SpringRunner.class)
//@SpringBootTest
//public class SampleTest {
//
// @Autowired
// private UserMapper userMapper;
//
// @Test
// public void testSelect() {
// System.out.println(("----- selectAll method test ------"));
// List<User> userList = userMapper.selectList(null);
// Assert.isTrue(5 == userList.size(), "太短");
// userList.forEach(System.out::println);
// }
//
//}