Package io.debezium.relational.history
Class AbstractDatabaseHistoryTest
- java.lang.Object
-
- io.debezium.relational.history.AbstractDatabaseHistoryTest
-
- Direct Known Subclasses:
FileDatabaseHistoryTest,MemoryDatabaseHistoryTest
public abstract class AbstractDatabaseHistoryTest extends Object
- Author:
- Randall Hauch
-
-
Field Summary
Fields Modifier and Type Field Description protected Tablesallprotected DatabaseHistoryhistoryprotected DdlParserparserprotected Map<String,Object>source1protected Map<String,Object>source2protected Tablest0protected Tablest1protected Tablest2protected Tablest3protected Tablest4protected Tablestables
-
Constructor Summary
Constructors Constructor Description AbstractDatabaseHistoryTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidafterEach()voidbeforeEach()protected abstract DatabaseHistorycreateHistory()protected Map<String,Object>position(String filename, long position, int entry)protected voidrecord(long pos, int entry, String ddl, Tables... update)protected Tablesrecover(long pos, int entry)protected Map<String,Object>server(String serverName)voidshouldRecordChangesAndRecoverToVariousPoints()
-
-
-
Method Detail
-
beforeEach
public void beforeEach()
-
afterEach
public void afterEach()
-
createHistory
protected abstract DatabaseHistory createHistory()
-
recover
protected Tables recover(long pos, int entry)
-
shouldRecordChangesAndRecoverToVariousPoints
public void shouldRecordChangesAndRecoverToVariousPoints()
-
-