public void Setup()
 {
     _record = new PrepareLogRecord(0, _corrId, _eventId, 0, "test", 1, new DateTime(2000, 1, 1, 12, 0, 0),
                                    PrepareFlags.None, "Foo", new byte[12], new byte[15]);
     _chunk = Core.TransactionLog.Chunks.TFChunk.CreateNew(_filename, 4096, 0, 0);
     _result = _chunk.TryAppend(_record);
 }
コード例 #2
0
 public void Setup()
 {
     var record = new PrepareLogRecord(15556, _corrId, _eventId, 15556, "test", 1, new DateTime(2000, 1, 1, 12, 0, 0),
                                       PrepareFlags.None, "Foo", new byte[12], new byte[15]);
     _chunk = Core.TransactionLog.Chunks.TFChunk.CreateNew(filename, 20, 0, 0);
     _written = _chunk.TryAppend(record).Success;
 }
コード例 #3
0
 public void Setup()
 {
     _chunk = Core.TransactionLog.Chunks.TFChunk.CreateNew(filename, 1024, 0, 0);
 }