Search in sources :

Example 16 with Batch

use of org.jumpmind.symmetric.io.data.Batch in project symmetric-ds by JumpMind.

the class XmlPublisherFilterTest method setUp.

@Before
public void setUp() {
    context = new DataContext(new Batch(BatchType.LOAD, 1111, "default", BinaryEncoding.BASE64, "54321", "00000", false));
    table = Table.buildTable(TABLE_TEST, new String[] { "ID1", "ID2" }, new String[] { "ID1", "ID2", "DATA1", "DATA2", "DATA3" });
}
Also used : DataContext(org.jumpmind.symmetric.io.data.DataContext) Batch(org.jumpmind.symmetric.io.data.Batch) Before(org.junit.Before)

Aggregations

Batch (org.jumpmind.symmetric.io.data.Batch)16 Table (org.jumpmind.db.model.Table)9 CsvData (org.jumpmind.symmetric.io.data.CsvData)8 DataContext (org.jumpmind.symmetric.io.data.DataContext)8 Column (org.jumpmind.db.model.Column)4 IOException (java.io.IOException)3 IoException (org.jumpmind.exception.IoException)3 OutgoingBatch (org.jumpmind.symmetric.model.OutgoingBatch)3 LinkedHashMap (java.util.LinkedHashMap)2 DataProcessor (org.jumpmind.symmetric.io.data.DataProcessor)2 IStagedResource (org.jumpmind.symmetric.io.stage.IStagedResource)2 Node (org.jumpmind.symmetric.model.Node)2 Statistics (org.jumpmind.util.Statistics)2 Test (org.junit.Test)2 XmlPullParserException (org.xmlpull.v1.XmlPullParserException)2 OutputStreamWriter (java.io.OutputStreamWriter)1 ArrayList (java.util.ArrayList)1 HashMap (java.util.HashMap)1 ExecutorService (java.util.concurrent.ExecutorService)1 Element (org.jdom.Element)1