Skip to content

Commit 42b9917

Browse files
committed
🛂 📄 🔍
1 parent 6f4779b commit 42b9917

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

javaCodeTest/src/test/java/JavaTest1.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,4 +422,10 @@ void t25() {
422422
System.out.println(availableProcessors);
423423

424424
}
425+
426+
@Test
427+
void t26() {
428+
429+
}
430+
425431
}

toolTest/common/src/test/java/UnitTest.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,21 @@
3737
public class UnitTest {
3838

3939

40+
@Test
41+
void t13() {
42+
T13object t13object = new T13object();
43+
System.out.println(JSON.toJSONString(t13object));
44+
System.out.println(t13object.isFlag());
45+
t13object.setFlag(true);
46+
System.out.println(t13object.isFlag());
47+
}
48+
@Data
49+
class T13object {
50+
private boolean flag;
51+
}
52+
53+
54+
4055
@Test
4156
void t12() throws JsonProcessingException {
4257

0 commit comments

Comments
 (0)