package cn.edu.whu.boot;

import cn.edu.whu.boot.collection.service.IBaseService;
import cn.edu.whu.boot.common.utils.collection.OtherUtil;
import com.alibaba.fastjson.JSON;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.messaging.simp.SimpMessagingTemplate;
import org.springframework.test.context.junit4.SpringRunner;

import java.io.File;
import java.io.FileInputStream;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@RunWith(SpringRunner.class)
@SpringBootTest
public class BootApplicationTests {

	@Autowired
	public IBaseService baseService;

	@Test
	public void contextLoads(){}

	@Test
	public void test() throws Exception{
//		File file = new File("D:\\TimFile\\1\\仙桃行政村测试.dbf");
//		System.out.println(OtherUtil.getShpFileCodingByDbf(file));
	}
}