Skip to content

Commit cde50c2

Browse files
committed
updated tests
1 parent cfa920f commit cde50c2

File tree

5 files changed

+5
-4
lines changed
  • jcp-tests
    • jcp-test-ant/src/test/resources/src/com/igormaznitsa/dummyproject
    • jcp-test-gradle-5/src/main/java/com/igormaznitsa/jcp/it/gradle
    • jcp-test-gradle-6/src/main/java/com/igormaznitsa/jcp/it/gradle
    • jcp-test-gradle-7/src/main/java/com/igormaznitsa/jcp/it/gradle
    • jcp-test-gradle-8/src/main/java/com/igormaznitsa/jcp/it/gradle

5 files changed

+5
-4
lines changed

jcp-tests/jcp-test-ant/src/test/resources/src/com/igormaznitsa/dummyproject/main.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ public class testmain {
66
//#+
77
// $$public class testmain2 {
88
public String test(){
9+
//#action "hello","world",$call1(1)
910
return "/*$ant.ant.project.name+globalvar+cfg.test$*/";
1011
}
1112
}

jcp-tests/jcp-test-gradle-5/src/main/java/com/igormaznitsa/jcp/it/gradle/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public Main(){
1111
if (!this.getClass().getName().endsWith("MainTwo")) {
1212
throw new Error("Must be MainTwo but detected"+this.getClass().getName());
1313
}
14-
14+
//#action "hello","world",$user2(1,2)
1515
final String test = /*$"\""+some.test.global+someGlobalVar+"\";"$*/ /*-*/ "";
1616

1717
if ("Some Test Global ValueHUZZAA!".equals(test)){

jcp-tests/jcp-test-gradle-6/src/main/java/com/igormaznitsa/jcp/it/gradle/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public Main(){
1111
if (!this.getClass().getName().endsWith("MainTwo")) {
1212
throw new Error("Must be MainTwo but detected"+this.getClass().getName());
1313
}
14-
14+
//#action "test","action",$user3(1,2,3)
1515
final String test = /*$"\""+some.test.global+someGlobalVar+"\";"$*/ /*-*/ "";
1616

1717
if ("Some Test Global ValueHUZZAA!".equals(test)){

jcp-tests/jcp-test-gradle-7/src/main/java/com/igormaznitsa/jcp/it/gradle/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public Main(){
1111
if (!this.getClass().getName().endsWith("MainTwo")) {
1212
throw new Error("Must be MainTwo but detected"+this.getClass().getName());
1313
}
14-
14+
//#action "hello","world",$user1("test"+"one")
1515
final String test = /*$"\""+some.test.global+someGlobalVar+"\";"$*/ /*-*/ "";
1616

1717
if ("Some Test Global ValueHUZZAA!".equals(test)){

jcp-tests/jcp-test-gradle-8/src/main/java/com/igormaznitsa/jcp/it/gradle/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//$public class MainTwo {
55
//#//
66
public class Main {
7-
7+
//#action "hello","world",$user2(1,2)
88
//$$public MainTwo(){
99
//#//
1010
public Main(){

0 commit comments

Comments
 (0)