diff --git a/src/test/resources/functionDef.ql b/src/test/resources/functionDef.ql deleted file mode 100644 index 2c0aea2b..00000000 --- a/src/test/resources/functionDef.ql +++ /dev/null @@ -1,16 +0,0 @@ -function add(int a,int b){ - return a+b; -}; - -function sub(int a,int b){ - return a - b; -}; - -macro 累加 {qh = qh + 100;}; - -macro initial { - exportDef int qh; - exportAlias a qh; - a = 0; -}; - diff --git a/src/test/resources/includeFunction.ql b/src/test/resources/includeFunction.ql deleted file mode 100644 index 4cb8e9e1..00000000 --- a/src/test/resources/includeFunction.ql +++ /dev/null @@ -1,8 +0,0 @@ -function add(int a,int b){ - return a+b; -}; - -function sub(int a,int b){ - return a - b; -}; - diff --git a/src/test/resources/includeMacro.ql b/src/test/resources/includeMacro.ql deleted file mode 100644 index 30192393..00000000 --- a/src/test/resources/includeMacro.ql +++ /dev/null @@ -1,8 +0,0 @@ -macro 累加 {qh = qh + 100;}; - -macro initial { - exportDef int qh; - exportAlias a qh; - a = 0; -}; - diff --git a/src/test/resources/includeRoot.ql b/src/test/resources/includeRoot.ql deleted file mode 100644 index a123c484..00000000 --- a/src/test/resources/includeRoot.ql +++ /dev/null @@ -1,18 +0,0 @@ - -if(true)then {1==1} else{ 3==3} ; - -include includeFunction; - -exportDef int mm =1000; - -include includeMacro; - -initial; -累加; -累加; -累加; - -mm = mm + 1; -a = a + 1000000; -System.out.println(a); -return add(a,4) + sub(a,9); diff --git a/src/test/resources/lineTest.ql b/src/test/resources/lineTest.ql deleted file mode 100644 index cd733ad0..00000000 --- a/src/test/resources/lineTest.ql +++ /dev/null @@ -1,16 +0,0 @@ -event = new java.util.HashMap(); -auction = new java.util.HashMap(); -list = new ArrayList(); - -if(2>1){ -for(i=0;i<10;i++){ - for(j=0;j<10;a=1/0){ - if(2>1){ - auction.put("title","title"); - } - } -} -} -auction.put("title","title"); -auction.put("category","123456"); -return auction; diff --git a/src/test/resources/log4j.properties b/src/test/resources/log4j.properties deleted file mode 100644 index 2f522396..00000000 --- a/src/test/resources/log4j.properties +++ /dev/null @@ -1,13 +0,0 @@ -log4j.appender.file=org.apache.log4j.DailyRollingFileAppender -log4j.appender.file.File=Test_LOG4j.log -log4j.appender.file.layout=org.apache.log4j.PatternLayout -log4j.appender.file.layout.ConversionPattern=[%d] [%t] (%F:%L) %-5p %c - %m%n -log4j.appender.console=org.apache.log4j.ConsoleAppender -log4j.appender.console.layout=org.apache.log4j.PatternLayout -log4j.appender.console.layout.ConversionPattern=[%d] [%t] (%F:%L) %-5p %c - %m%n -log4j.appender.html=org.apache.log4j.DailyRollingFileAppender -log4j.appender.html.File=Test_LOG4j.log -log4j.appender.html.layout=org.apache.log4j.HTMLLayout -log4j.rootLogger=error,console -log4j.logger.com.ql=debug -log4j.logger.org.springframework=error diff --git a/src/test/resources/main.ql b/src/test/resources/main.ql deleted file mode 100644 index 471eff46..00000000 --- a/src/test/resources/main.ql +++ /dev/null @@ -1,11 +0,0 @@ -initial; -累加; -累加; -累加; - -if(true)then {1==1} else{ 3==3} ; -exportDef int mm =1000; -mm = mm + 1; -a = a + 1000000; -System.out.println(a); -return add(a,4) + sub(a,9); diff --git a/src/test/resources/rating.ql b/src/test/resources/rating.ql deleted file mode 100644 index 75b26bbf..00000000 --- a/src/test/resources/rating.ql +++ /dev/null @@ -1,8 +0,0 @@ -费用科目(物流订单.仓储TP,"仓储费")= 物流订单.重量 * 0.5 ; - -if(物流订单.重量 > 5) then{ - 费用科目(物流订单.物流TP,"运输费")= 3.0 + (物流订单.重量 - 5 ) * 1.5 ; -} else { - 费用科目(物流订单.物流TP,"运输费")= 3.0; -}; -费用科目(物流订单.包装TP,"包装费")= 物流订单.重量 * 2.5 ; diff --git a/src/test/resources/ratingWithProperty.ql b/src/test/resources/ratingWithProperty.ql deleted file mode 100644 index 3f44d6fb..00000000 --- a/src/test/resources/ratingWithProperty.ql +++ /dev/null @@ -1,7 +0,0 @@ -alias 仓储TP 物流订单.仓储TPID; -alias 物流TP 物流订单.物流TPID; -alias 包装TP 物流订单.包装TPID; -仓储费 = 100; -费用.仓储TP.仓储费 = 物流订单.重量 * 0.5 ; -费用.物流TP.运输费= 3.0; -费用.包装TP.包装费= 物流订单.重量 * 2.5 ; diff --git a/src/test/resources/spring-express-config.xml b/src/test/resources/spring-express-config.xml deleted file mode 100644 index a28c3948..00000000 --- a/src/test/resources/spring-express-config.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/src/test/resources/testFunctionParameterType.ql b/src/test/resources/testFunctionParameterType.ql deleted file mode 100644 index 5364db67..00000000 --- a/src/test/resources/testFunctionParameterType.ql +++ /dev/null @@ -1,7 +0,0 @@ -java.util.Map event = new java.util.HashMap(); - -java.util.Map auction = new java.util.HashMap(); -auction.put("title","title"); -auction.put("category","123456"); -event.put("auction",auction); -log.warn(auctionUtil.getText(event.auction.title,event.auction.category));