File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
src/test/unit/java/com/redis/kafka/connect Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
package com .redis .kafka .connect ;
2
2
3
- import com .redis .kafka .connect .sink .RedisSinkTask ;
3
+ import java .util .HashMap ;
4
+
4
5
import org .apache .kafka .common .config .ConfigDef ;
5
- import org .apache .kafka .common .utils .AppInfoParser ;
6
6
import org .junit .jupiter .api .Assertions ;
7
7
import org .junit .jupiter .api .Test ;
8
8
9
- import java .util .HashMap ;
9
+ import com .redis .kafka .connect .common .VersionProvider ;
10
+ import com .redis .kafka .connect .sink .RedisSinkTask ;
10
11
11
12
class RedisSinkConnectorTest {
12
13
@@ -32,7 +33,7 @@ void testTaskConfigs() {
32
33
33
34
@ Test
34
35
void testVersion () {
35
- Assertions .assertEquals (AppInfoParser .getVersion (), new RedisSinkConnector ().version ());
36
+ Assertions .assertEquals (VersionProvider .getVersion (), new RedisSinkConnector ().version ());
36
37
}
37
38
38
39
}
Original file line number Diff line number Diff line change 8
8
9
9
import org .apache .kafka .common .config .ConfigDef ;
10
10
import org .apache .kafka .common .config .ConfigValue ;
11
- import org .apache .kafka .common .utils .AppInfoParser ;
12
11
import org .junit .jupiter .api .Assertions ;
13
12
import org .junit .jupiter .api .Test ;
14
13
14
+ import com .redis .kafka .connect .common .VersionProvider ;
15
15
import com .redis .kafka .connect .source .RedisSourceConfig ;
16
16
import com .redis .kafka .connect .source .RedisSourceTask ;
17
17
@@ -62,7 +62,7 @@ void testKeyReaderTaskConfig() {
62
62
63
63
@ Test
64
64
void testVersion () {
65
- Assertions .assertEquals (AppInfoParser .getVersion (), new RedisSourceConnector ().version ());
65
+ Assertions .assertEquals (VersionProvider .getVersion (), new RedisSourceConnector ().version ());
66
66
}
67
67
68
68
@ Test
You can’t perform that action at this time.
0 commit comments