writer.write("fid2=2|brent"); writer.newLine();
writer.write("fid3=3|dave"); writer.newLine();
writer.write("fid4=4|justin"); writer.newLine();
writer.write("fid5=5|");
writer.close();
store = new PropertyDataStore( file, "propertyTestData" );
file = new File( dir ,"dots.in.name.properties");
if( file.exists()){
file.delete();
}
writer = new BufferedWriter( new FileWriter( file ) );
writer.write("_=id:Integer,name:String"); writer.newLine();
writer.write("fid1=1|jody"); writer.newLine();
writer.write("fid2=2|brent"); writer.newLine();
writer.write("fid3=3|dave"); writer.newLine();
writer.write("fid4=4|justin");
writer.close();
storeDots = new PropertyDataStore( file, "propertyTestData" );
file = new File( dir ,"multiline.properties");
if( file.exists()){
file.delete();
}
writer = new BufferedWriter( new FileWriter( file ) );
writer.write("_=id:Integer,name:String"); writer.newLine();
writer.write("fid1=1|jody \\"); writer.newLine();
writer.write(" garnett"); writer.newLine();
writer.write("fid2=2|brent"); writer.newLine();
writer.write("fid3=3|dave"); writer.newLine();
writer.write("fid4=4|justin\\\n");
writer.close();
storeMultiline = new PropertyDataStore( file, "propertyTestData" );
file = new File( dir ,"table.properties");
if( file.exists()){
file.delete();
}
writer = new BufferedWriter( new FileWriter( file ) );
writer.write("_=description:String,name:String"); writer.newLine();
writer.write("GenericEntity.f004=description-f004|name-f004"); writer.newLine();
writer.write("GenericEntity.f003=description-f003|<null>"); writer.newLine();
writer.write("GenericEntity.f007=description-f007|"); writer.newLine();
writer.write(" GenericEntity.f009=description-f009| "); writer.newLine();
writer.close();
storeTable = new PropertyDataStore( file, "propertyTestData" );
super.setUp();
}