Skip to content

Commit 4638705

Browse files
修正
1 parent 539aebc commit 4638705

14 files changed

+976
-41
lines changed

Diff for: pom.xml

+37-41
Original file line numberDiff line numberDiff line change
@@ -9,51 +9,47 @@
99
<version>1.0-SNAPSHOT</version>
1010

1111
<dependencies>
12-
<!-- 导入Mysql数据库链接jar包 -->
13-
<dependency>
14-
<groupId>mysql</groupId>
15-
<artifactId>mysql-connector-java</artifactId>
16-
<version>5.1.30</version>
17-
</dependency>
18-
19-
<dependency>
20-
<groupId>org.projectlombok</groupId>
21-
<artifactId>lombok</artifactId>
22-
<optional>true</optional>
23-
</dependency>
24-
<!-- 日志文件管理包 -->
25-
<!-- log start -->
26-
<dependency>
27-
<groupId>log4j</groupId>
28-
<artifactId>log4j</artifactId>
29-
<version>1.2.17</version>
30-
</dependency>
31-
<dependency>
32-
<groupId>commons-lang</groupId>
33-
<artifactId>commons-lang</artifactId>
34-
<version>2.6</version>
35-
</dependency>
36-
37-
<dependency>
38-
<groupId>org.springframework</groupId>
39-
<artifactId>spring-context</artifactId>
40-
<version>4.3.4.RELEASE</version>
41-
</dependency>
42-
43-
<dependency>
44-
<groupId>junit</groupId>
45-
<artifactId>junit</artifactId>
46-
</dependency>
47-
48-
<dependency>
49-
<groupId>com.alibaba</groupId>
50-
<artifactId>druid</artifactId>
51-
<version>1.1.5</version>
52-
</dependency>
12+
<!-- 导入Mysql数据库链接jar包 -->
13+
<dependency>
14+
<groupId>mysql</groupId>
15+
<artifactId>mysql-connector-java</artifactId>
16+
<version>5.1.30</version>
17+
</dependency>
5318

19+
<dependency>
20+
<groupId>org.projectlombok</groupId>
21+
<artifactId>lombok</artifactId>
22+
<optional>true</optional>
23+
</dependency>
24+
<!-- 日志文件管理包 -->
25+
<!-- log start -->
26+
<dependency>
27+
<groupId>log4j</groupId>
28+
<artifactId>log4j</artifactId>
29+
<version>1.2.17</version>
30+
</dependency>
31+
<dependency>
32+
<groupId>commons-lang</groupId>
33+
<artifactId>commons-lang</artifactId>
34+
<version>2.6</version>
35+
</dependency>
5436

37+
<dependency>
38+
<groupId>org.springframework</groupId>
39+
<artifactId>spring-context</artifactId>
40+
<version>4.3.4.RELEASE</version>
41+
</dependency>
5542

43+
<dependency>
44+
<groupId>junit</groupId>
45+
<artifactId>junit</artifactId>
46+
</dependency>
5647

48+
<dependency>
49+
<groupId>com.alibaba</groupId>
50+
<artifactId>druid</artifactId>
51+
<version>1.1.5</version>
52+
</dependency>
5753

5854
<dependency>
5955
<groupId>org.projectlombok</groupId>

Diff for: src/test/java/com/bean/LocalUserTest.java

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
package com.bean;
2+
3+
import org.junit.Test;
4+
import org.junit.Before;
5+
import org.junit.After;
6+
7+
/**
8+
* LocalUser Tester.
9+
*
10+
* @author <Authors name>
11+
* @since <pre>05/04/2019</pre>
12+
* @version 1.0
13+
*/
14+
public class LocalUserTest {
15+
16+
@Before
17+
public void before() throws Exception {
18+
}
19+
20+
@After
21+
public void after() throws Exception {
22+
}
23+
24+
/**
25+
*
26+
* Method: getId()
27+
*
28+
*/
29+
@Test
30+
public void testGetId() throws Exception {
31+
//TODO: Test goes here...
32+
}
33+
34+
/**
35+
*
36+
* @throws Exception
37+
*/
38+
@Test
39+
public void testSetId() throws Exception {
40+
//TODO: Test goes here...
41+
}
42+
43+
/**
44+
*
45+
* Method: getUserName()
46+
*
47+
*/
48+
@Test
49+
public void testGetUserName() throws Exception {
50+
//TODO: Test goes here...
51+
}
52+
53+
/**
54+
*
55+
* Method: setUserName(String userName)
56+
*
57+
*/
58+
@Test
59+
public void testSetUserName() throws Exception {
60+
//TODO: Test goes here...
61+
}
62+
63+
/**
64+
*
65+
* Method: getPassword()
66+
*
67+
*/
68+
@Test
69+
public void testGetPassword() throws Exception {
70+
//TODO: Test goes here...
71+
}
72+
73+
/**
74+
*
75+
* Method: setPassword(String password)
76+
*
77+
*/
78+
@Test
79+
public void testSetPassword() throws Exception {
80+
//TODO: Test goes here...
81+
}
82+
83+
/**
84+
*
85+
* Method: getAge()
86+
*
87+
*/
88+
@Test
89+
public void testGetAge() throws Exception {
90+
//TODO: Test goes here...
91+
}
92+
93+
/**
94+
*
95+
* Method: setAge(int age)
96+
*
97+
*/
98+
@Test
99+
public void testSetAge() throws Exception {
100+
//TODO: Test goes here...
101+
}
102+
103+
104+
}

Diff for: src/test/java/com/bean/OrderTest.java

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
package com.bean;
2+
3+
import lombok.extern.java.Log;
4+
import org.junit.Test;
5+
import org.junit.Before;
6+
import org.junit.After;
7+
8+
/**
9+
* Order Tester.
10+
*
11+
* @author <Authors name>
12+
* @since <pre>05/07/2019</pre>
13+
* @version 1.0
14+
*/
15+
@Log
16+
public class OrderTest {
17+
18+
@Before
19+
public void before() throws Exception {
20+
}
21+
22+
@After
23+
public void after() throws Exception {
24+
}
25+
26+
/**
27+
*
28+
* Method: getPhoneNumber()
29+
*
30+
*/
31+
@Test
32+
public void testGetPhoneNumber() throws Exception {
33+
//TODO: Test goes here...
34+
log.info("test");
35+
}
36+
37+
/**
38+
*
39+
* Method: setPhoneNumber(String phoneNumber)
40+
*
41+
*/
42+
@Test
43+
public void testSetPhoneNumber() throws Exception {
44+
//TODO: Test goes here...
45+
}
46+
47+
/**
48+
*
49+
* Method: getDoneCode()
50+
*
51+
*/
52+
@Test
53+
public void testGetDoneCode() throws Exception {
54+
//TODO: Test goes here...
55+
}
56+
57+
/**
58+
*
59+
* Method: setDoneCode(String doneCode)
60+
*
61+
*/
62+
@Test
63+
public void testSetDoneCode() throws Exception {
64+
//TODO: Test goes here...
65+
}
66+
67+
/**
68+
*
69+
* Method: getDate()
70+
*
71+
*/
72+
@Test
73+
public void testGetDate() throws Exception {
74+
//TODO: Test goes here...
75+
}
76+
77+
/**
78+
*
79+
* Method: setDate(String date)
80+
*
81+
*/
82+
@Test
83+
public void testSetDate() throws Exception {
84+
//TODO: Test goes here...
85+
}
86+
87+
/**
88+
*
89+
* Method: equals(Object o)
90+
*
91+
*/
92+
@Test
93+
public void testEquals() throws Exception {
94+
//TODO: Test goes here...
95+
}
96+
97+
/**
98+
*
99+
* Method: hashCode()
100+
*
101+
*/
102+
@Test
103+
public void testHashCode() throws Exception {
104+
//TODO: Test goes here...
105+
}
106+
107+
108+
}

Diff for: src/test/java/com/bit/BitDemoTest.java

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
package com.bit;
2+
3+
import org.junit.Test;
4+
import org.junit.Before;
5+
import org.junit.After;
6+
7+
/**
8+
* BitDemo Tester.
9+
*
10+
* @author <Authors name>
11+
* @since <pre>08/31/2022</pre>
12+
* @version 1.0
13+
*/
14+
public class BitDemoTest {
15+
16+
@Before
17+
public void before() throws Exception {
18+
}
19+
20+
@After
21+
public void after() throws Exception {
22+
}
23+
24+
/**
25+
*
26+
* Method: andDemo()
27+
*
28+
*/
29+
@Test
30+
public void testAndDemo() throws Exception {
31+
//TODO: Test goes here...
32+
}
33+
34+
/**
35+
*
36+
* Method: orDemo()
37+
*
38+
*/
39+
@Test
40+
public void testOrDemo() throws Exception {
41+
//TODO: Test goes here...
42+
}
43+
44+
/**
45+
*
46+
* Method: xorDemo()
47+
*
48+
*/
49+
@Test
50+
public void testXorDemo() throws Exception {
51+
//TODO: Test goes here...
52+
}
53+
54+
/**
55+
*
56+
* Method: reverseDemo()
57+
*
58+
*/
59+
@Test
60+
public void testReverseDemo() throws Exception {
61+
//TODO: Test goes here...
62+
}
63+
64+
/**
65+
*
66+
* Method: leftDemo()
67+
*
68+
*/
69+
@Test
70+
public void testLeftDemo() throws Exception {
71+
//TODO: Test goes here...
72+
}
73+
74+
/**
75+
*
76+
* Method: rightDemo()
77+
*
78+
*/
79+
@Test
80+
public void testRightDemo() throws Exception {
81+
//TODO: Test goes here...
82+
}
83+
84+
85+
}

0 commit comments

Comments
 (0)