Fixed most reported issues by SonarCloud.
This commit is contained in:
@ -21,10 +21,13 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
package com.iluwatar.leaderfollowers;
|
||||
package com;
|
||||
|
||||
import com.iluwatar.leaderfollowers.App;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
|
||||
|
||||
/**
|
||||
*
|
||||
* Application test
|
||||
@ -33,9 +36,8 @@ import org.junit.Test;
|
||||
public class AppTest {
|
||||
|
||||
@Test
|
||||
public void test() throws InterruptedException {
|
||||
String[] args = {};
|
||||
App.main(args);
|
||||
public void shouldExecuteApplicationWithoutException() {
|
||||
assertDoesNotThrow(() -> App.main(new String[]{}));
|
||||
}
|
||||
|
||||
}
|
@ -21,8 +21,10 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
package com.iluwatar.leaderfollowers;
|
||||
package com;
|
||||
|
||||
import com.iluwatar.leaderfollowers.Task;
|
||||
import com.iluwatar.leaderfollowers.TaskHandler;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
@ -21,8 +21,10 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
package com.iluwatar.leaderfollowers;
|
||||
package com;
|
||||
|
||||
import com.iluwatar.leaderfollowers.Task;
|
||||
import com.iluwatar.leaderfollowers.TaskSet;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
@ -21,8 +21,11 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
package com.iluwatar.leaderfollowers;
|
||||
package com;
|
||||
|
||||
import com.iluwatar.leaderfollowers.TaskHandler;
|
||||
import com.iluwatar.leaderfollowers.TaskSet;
|
||||
import com.iluwatar.leaderfollowers.WorkCenter;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
Reference in New Issue
Block a user