-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update test files and MoneCodeParser.java with no specific cha… (
#882)
- Loading branch information
Showing
10 changed files
with
216 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
jcommon/ai/neo4j/src/test/java/run/mone/neo4j/test/anno/Resource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package run.mone.neo4j.test.anno; | ||
|
||
/** | ||
* @author [email protected] | ||
* @date 2024/8/19 18:20 | ||
*/ | ||
public @interface Resource { | ||
} |
8 changes: 8 additions & 0 deletions
8
jcommon/ai/neo4j/src/test/java/run/mone/neo4j/test/anno/RestController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package run.mone.neo4j.test.anno; | ||
|
||
/** | ||
* @author [email protected] | ||
* @date 2024/8/19 16:51 | ||
*/ | ||
public @interface RestController { | ||
} |
8 changes: 8 additions & 0 deletions
8
jcommon/ai/neo4j/src/test/java/run/mone/neo4j/test/anno/Table.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package run.mone.neo4j.test.anno; | ||
|
||
/** | ||
* @author [email protected] | ||
* @date 2024/8/19 16:50 | ||
*/ | ||
public @interface Table { | ||
} |
21 changes: 21 additions & 0 deletions
21
jcommon/ai/neo4j/src/test/java/run/mone/neo4j/test/m/Cat.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package run.mone.neo4j.test.m; | ||
|
||
import run.mone.neo4j.test.anno.Table; | ||
|
||
/** | ||
* @author [email protected] | ||
* @date 2024/8/19 17:03 | ||
*/ | ||
@Table | ||
public class Cat { | ||
|
||
private int id; | ||
|
||
public int getId() { | ||
return id; | ||
} | ||
|
||
public void setId(int id) { | ||
this.id = id; | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
jcommon/ai/neo4j/src/test/java/run/mone/neo4j/test/m/CatService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package run.mone.neo4j.test.m; | ||
|
||
import run.mone.neo4j.test.anno.RestController; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
/** | ||
* @author [email protected] | ||
* @date 2024/8/19 18:21 | ||
*/ | ||
@RestController | ||
public class CatService { | ||
|
||
private Map<String,String> data = new HashMap<>(); | ||
|
||
|
||
//获取小猫的数量 | ||
//获取小猫的数量 | ||
public int getCatCount() { | ||
return data.size(); | ||
} | ||
|
||
|
||
} |
11 changes: 11 additions & 0 deletions
11
jcommon/ai/neo4j/src/test/java/run/mone/neo4j/test/m/Dog.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package run.mone.neo4j.test.m; | ||
|
||
import run.mone.neo4j.test.anno.Table; | ||
|
||
/** | ||
* @author [email protected] | ||
* @date 2024/8/19 17:03 | ||
*/ | ||
@Table | ||
public class Dog { | ||
} |
11 changes: 11 additions & 0 deletions
11
jcommon/ai/neo4j/src/test/java/run/mone/neo4j/test/m/Person.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package run.mone.neo4j.test.m; | ||
|
||
import run.mone.neo4j.test.anno.Table; | ||
|
||
/** | ||
* @author [email protected] | ||
* @date 2024/8/19 16:51 | ||
*/ | ||
@Table | ||
public class Person { | ||
} |
12 changes: 10 additions & 2 deletions
12
.../src/test/java/run/mone/neo4j/test/A.java → .../run/mone/neo4j/test/m/PersonService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
package run.mone.neo4j.test; | ||
package run.mone.neo4j.test.m; | ||
|
||
import run.mone.neo4j.test.anno.Resource; | ||
import run.mone.neo4j.test.anno.RestController; | ||
|
||
/** | ||
* @author [email protected] | ||
* @date 2024/8/16 10:16 | ||
* AAA | ||
*/ | ||
public class A { | ||
@RestController | ||
public class PersonService { | ||
|
||
|
||
@Resource | ||
private CatService catService; | ||
|
||
|
||
/** | ||
|