Exemplo n.º 1
0
 public void ConfirmStatsPart2Case1(QueueStats stats)
 {
     Assert.AreNotEqual(0, stats.DataPages);
     Assert.AreEqual(0, stats.DataPagesBytesFree);
     Assert.AreEqual(0, stats.MetadataFlags);
     Assert.AreEqual(100, stats.nData);
     Assert.AreEqual(100, stats.nKeys);
 }
Exemplo n.º 2
0
 public void ConfirmStatsPart1Case1(QueueStats stats)
 {
     Assert.AreEqual(1, stats.FirstRecordNumber);
     Assert.AreNotEqual(0, stats.MagicNumber);
     Assert.AreEqual(1, stats.NextRecordNumber);
     Assert.AreEqual(4096, stats.PageSize);
     Assert.AreEqual(1024, stats.PagesPerExtent);
     Assert.AreEqual(4000, stats.RecordLength);
     Assert.AreEqual(32, stats.RecordPadByte);
     Assert.AreEqual(4, stats.Version);
 }