mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 11:12:23 +00:00
Fixed most reported issues by SonarCloud.
This commit is contained in:
1 parent
e7e3ace01f
commit
31471acb69
190 files changed
+1426
-661
No files matched your search
@@ -38,6 +38,11 @@
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
@@ -88,6 +88,7 @@ public class World {
|
||||
* pattern.
|
||||
*/
|
||||
private void render() {
|
||||
// Does Nothing
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,11 +25,12 @@ package com.iluwatar.updatemethod;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
|
||||
|
||||
public class AppTest {
|
||||
|
||||
@Test
|
||||
public void testMain() {
|
||||
String[] args = {};
|
||||
App.main(args);
|
||||
public void shouldExecuteApplicationWithoutException() {
|
||||
assertDoesNotThrow(() -> App.main(new String[]{}));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user