File tree 3 files changed +11
-5
lines changed
polling-publisher/polling-service/src
main/java/com/iluwatar/polling
test/java/com/iluwatar/polling
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 31
31
* Data repository to keep or store data.
32
32
* */
33
33
@ Repository
34
- public class DataRepository {
34
+ public final class DataRepository {
35
35
// Simulate a repository for data access
36
36
}
Original file line number Diff line number Diff line change 24
24
*/
25
25
package com .iluwatar .polling ;
26
26
27
- public class AppTest {
27
+ import org . junit . api . Test ;
28
28
29
+ public class AppTest {
30
+
31
+ @ Test
32
+ public void polling () {
33
+ System .out .println (".(checking.. code is not running)" );
34
+ }
29
35
}
Original file line number Diff line number Diff line change 31
31
/*
32
32
* this class contains the unit test for DataSoourceServiceTest class.
33
33
*/
34
- public class DataSourceServiceTest {
34
+ public class DataSourceServiceTest {
35
35
36
36
DataSourceService dataSourceService = new DataSourceService ();
37
37
38
38
@ Test
39
- public void test1 (){
40
- System .out .println (".()" );
39
+ public void test1 () {
40
+ System .out .println (".(checking.. code is running )" );
41
41
}
42
42
}
You can’t perform that action at this time.
0 commit comments