wxr 2022-11-23修改baseTest文件

main
wangxuanran 2022-11-23 13:12:45 +08:00
parent 565a2e47f6
commit f3a4c4877c
3 changed files with 15 additions and 10 deletions

View File

@ -0,0 +1,4 @@
serverName=ecology
rootPath=F:\wxr\e9-project-ebu7-dev1\src\main\resources\resources
systemFilePath=F:\wxr\e9-project-ebu7-dev1\src\main\resources\file
logPath=F:\wxr\e9-project-ebu7-dev1\src\main\resources\log

View File

@ -1,6 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="propertyPlaceholderConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations" value="classpath:application.properties" />
</bean>
<bean id="basetest" class="basetest.BaseTestConfig">
<property name="serverName" value="${serverName}"/>
<property name="rootPath" value="${rootPath}"/>
<property name="systemFilePath" value="${systemFilePath}"/>
<property name="logPath" value="${logPath}"/>
</bean>
</beans>

View File

@ -1,19 +1,12 @@
package xuanran.wang.traffic_bank.waco_first;
import baseTest.BaseTest;
import basetest.BaseTest;
import com.alibaba.fastjson.JSONObject;
import org.dom4j.Attribute;
import org.dom4j.Document;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
import org.junit.Test;
import weaver.xuanran.wang.traffic_bank.waco_first.entity.Info;
import weaver.xuanran.wang.traffic_bank.waco_first.service.WacoDataPushOAService;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* <h1></h1>