Commit 88743a95 authored by Stephen Bennett's avatar Stephen Bennett

Initial commit of boilerplate code

parent 35a4898e
<project xmlns="" xmlns:xsi=""
package com.alfresco;
import java.util.List;
* Hello world!
public class App {
public static void main( String[] args ) {
List<String[]> rows = new MovieDatabaseReader().readMovieDatabase();
package com.alfresco;
import java.util.List;
public class MovieDatabaseReader {
private static final String MOVIE_DATABASE_CSV = "/movie_metadata.csv";
public List<String[]> readMovieDatabase() {
CSVReader reader = new CSVReader(new InputStreamReader(MovieDatabaseReader.class.getResourceAsStream(MOVIE_DATABASE_CSV)));
try {
return reader.readAll();
} catch (IOException e) {
throw new RuntimeException("Failed to read movie database", e);
This diff is collapsed.
package com.alfresco;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
public class AppTest {
* Rigourous Test :-)
public void testApp()
assertTrue( true );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment