This commit is contained in:
2019-04-12 01:00:32 +08:00
parent 14795814e3
commit cf63a3d072
8 changed files with 44 additions and 172 deletions

View File

@@ -11,6 +11,7 @@ import net.tccn.user.User;
import org.junit.Test;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -150,4 +151,22 @@ public class RunTest<T> {
user.save();
}
@Test
public void t() {
System.out.println(MetaKit.nextAlias());
}
@Test
public void kvTest() {
Map map = new HashMap<>();
map.put("name", "xxxx");
map.put("age", 12);
map.put("abx", 123);
UserBean user = Kv.toBean(map, UserBean.class);
System.out.println(user);
}
}