You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
import com.storeroom.AppRun;
|
|
import com.storeroom.modules.dictionary.domain.vo.FieldVO;
|
|
import com.storeroom.modules.dictionary.service.FieldService;
|
|
import com.storeroom.modules.security.service.OnlineUserService;
|
|
import org.junit.jupiter.api.Test;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
|
|
import java.lang.reflect.Constructor;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
|
|
public class TestOnlineUserService {
|
|
|
|
@Test
|
|
public void testLogin(){
|
|
Class c= OnlineUserService.class;
|
|
Constructor[] constructors=c.getConstructors();
|
|
|
|
for (Constructor constructor:constructors){
|
|
System.out.println(constructor.getName()+"==>"+constructor.getParameterCount());
|
|
}
|
|
|
|
}
|
|
|
|
// @Autowired
|
|
// private FieldService fieldService;
|
|
//
|
|
// @Test
|
|
// public void dynamicSystemTableTest() {
|
|
// List<Integer> list = new ArrayList<>();
|
|
// list.add(1);
|
|
// list.add(2);
|
|
// List<FieldVO> vo = fieldService.findGroupType(list);
|
|
// System.out.println(vo);
|
|
// }
|
|
}
|