Skip to content

Commit

Permalink
feat(test): migrated template code to java folder
Browse files Browse the repository at this point in the history
  • Loading branch information
101zh committed Sep 25, 2023
1 parent a229c51 commit 69ee5e0
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 16 deletions.
13 changes: 13 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@
<attribute name="m2e-apt" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
<attributes>
<attribute name="optional" value="true"/>
Expand Down
11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,15 @@
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
<filteredResources>
<filter>
<id>1695675163515</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
4 changes: 4 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
Empty file added src/main/java/2.5.1.java
Empty file.
9 changes: 9 additions & 0 deletions src/main/java/Test.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@


public class Test {
public static void main(String[] args) {
System.out.println("Hello Remote World!");
}
}


12 changes: 0 additions & 12 deletions src/main/java/com/mycompany/app/App.java

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
package com.mycompany.app;

import org.junit.Test;

import static org.junit.Assert.assertTrue;


public class AppTest {
public AppTest() {
public class TestTest {
public TestTest() {
}

@Test
public void testApp() {
public void testTest() {
assertTrue(true);
}

Expand Down

0 comments on commit 69ee5e0

Please sign in to comment.