Functional data import from Yahoo Finance news using YQL (Yahoo Query Language) and XPATH. Data is stuffed into MySQL database cs6601 on woodyfolsom.net.

This commit is contained in:
Woody Folsom
2012-04-07 18:59:39 -04:00
parent a46e790059
commit d700d97124
46 changed files with 610 additions and 482 deletions

View File

@@ -0,0 +1,11 @@
package net.woodyfolsom.cs6601.p3;
import org.junit.Test;
public class HeadlinePullerTest {
@Test
public void testGetStartDate() {
}
}

View File

@@ -0,0 +1,27 @@
package net.woodyfolsom.cs6601.p3.dao;
import static org.junit.Assert.assertNotNull;
import net.woodyfolsom.cs6601.p3.svc.HeadlineService;
import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class MySQLHeadlineDaoImplTest {
private static HeadlineService headlineSvc;
@BeforeClass
public static void setUp() {
ApplicationContext context=new ClassPathXmlApplicationContext(new String[]{"/AppContext.xml"});
headlineSvc = (HeadlineService) context
.getBean("mySQLHeadlineSvc");
}
@Test
public void testSelect() {
assertNotNull(headlineSvc);
}
}