package com.taykey.twitterlocationparser.populatedb;

import org.junit.Test;

import com.taykey.twitterlocationparser.dao.MemLocationDao;
import com.taykey.twitterlocationparser.populatedb.DefaultPupulateDB;

public class TestPopulateDb {

    @Test
    public void loadCitiesTest() {
	MemLocationDao memLocationDao = new MemLocationDao();
	DefaultPupulateDB pupulateDB = new DefaultPupulateDB(memLocationDao);
	pupulateDB.loadLocations("data/countries_v3.csv");
	pupulateDB.loadLocations("data/states_v3.csv");
	pupulateDB.loadLocations("data/cities_v3.csv");
    }
}

@@ -445,21 +445,18 @@
 ountries
-_v3.c
+.t
 sv%22);%0A%09p
@@ -491,21 +491,18 @@
 a/states
-_v3.c
+.t
 sv%22);%0A%09p
@@ -541,13 +541,10 @@
 ties
-_v3.c
+.t
 sv%22)

update TestPopulateDb