Skip to content

Commit

Permalink
Fixed unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
Duckelekuuk committed Aug 23, 2023
1 parent 2e8a9e6 commit ef98424
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 111 deletions.
24 changes: 1 addition & 23 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,11 @@ target/
!**/src/test/**/target/

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
.idea/
*.iws
*.iml
*.ipr

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/

Expand Down
8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/encodings.xml

This file was deleted.

19 changes: 0 additions & 19 deletions .idea/misc.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

35 changes: 4 additions & 31 deletions rpcnis-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
<version>1.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>20</maven.compiler.source>
<maven.compiler.target>20</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.plugin.validation>verbose</maven.plugin.validation>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand All @@ -22,12 +23,6 @@
<version>5.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-runner</artifactId>
<version>1.10.0</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.npcnis</groupId>
Expand All @@ -41,31 +36,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
<configuration>
<additionalClasspathElements>
<additionalClasspathElement>src/test/java/</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
<version>3.1.2</version>
</plugin>
</plugins>
</build>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.22.0</version>
</plugin>
</plugins>
</reporting>

</project>
8 changes: 8 additions & 0 deletions rpcnis-core/src/main/java/com/npcnis/core/Penis.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.npcnis.core;

public class Penis {

public static void main(String[] args) {
System.out.println("Test");
}
}
14 changes: 14 additions & 0 deletions rpcnis-core/src/test/java/com/npcnis/cor/PenisTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.npcnis.cor;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertTrue;

public class PenisTest {

@Test
public void testPenis() {
assertTrue(true);
}

}
13 changes: 0 additions & 13 deletions rpcnis-core/src/test/java/tests/PenisTest.java

This file was deleted.

0 comments on commit ef98424

Please sign in to comment.