package test.repo;

import cn.com.countrygarden.bi.main.repository.HsprCommunityRepository;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.List;
import java.util.Map;

/**
 * 系统的项目基础信息表单元测试
 * 
 * @author huangzhengjun
 *
 */
//@RunWith(SpringJUnit4ClassRunner.class)
//@ContextConfiguration(locations = "classpath:/spring/applicationContext.xml")
public class HsprCommunityRepoTest {

	@Autowired
	private HsprCommunityRepository hsprCommunityRepository;

	@Test
	public void testGetAllData() {
		List<Map<String, Object>> allData = hsprCommunityRepository.getAllData();

		System.out.println("allData.size():" + allData.size());
		System.out.println("allData:" + allData.get(0).toString());

	}

}
