[smuxi] Engine-Tests: fixed Db4o/SqliteMessageBufferTests.ImplicitRemoveAt() test-case
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi] Engine-Tests: fixed Db4o/SqliteMessageBufferTests.ImplicitRemoveAt() test-case
- Date: Fri, 28 Feb 2014 20:26:11 +0000 (UTC)
commit b613ceaffd7e3f8b63482fcaf56e46522ae113df
Author: Mirco Bauer <meebey meebey net>
Date: Wed Feb 26 23:50:13 2014 +0100
Engine-Tests: fixed Db4o/SqliteMessageBufferTests.ImplicitRemoveAt() test-case
src/Engine-Tests/Db4oMessageBufferTests.cs | 2 +-
src/Engine-Tests/SqliteMessageBufferTests.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Engine-Tests/Db4oMessageBufferTests.cs b/src/Engine-Tests/Db4oMessageBufferTests.cs
index eabadd8..b1a3793 100644
--- a/src/Engine-Tests/Db4oMessageBufferTests.cs
+++ b/src/Engine-Tests/Db4oMessageBufferTests.cs
@@ -95,7 +95,7 @@ namespace Smuxi.Engine
}
Assert.AreEqual(Buffer.MaxCapacity, Buffer.Count);
- Assert.AreEqual(msgs[19].ToString(), Buffer[0].ToString());
+ Assert.AreEqual(msgs[32 - (Buffer.MaxCapacity - bufferCount)].ToString(), Buffer[0].ToString());
}
}
}
diff --git a/src/Engine-Tests/SqliteMessageBufferTests.cs b/src/Engine-Tests/SqliteMessageBufferTests.cs
index ee15787..9f3926c 100644
--- a/src/Engine-Tests/SqliteMessageBufferTests.cs
+++ b/src/Engine-Tests/SqliteMessageBufferTests.cs
@@ -95,7 +95,7 @@ namespace Smuxi.Engine
}
Assert.AreEqual(Buffer.MaxCapacity, Buffer.Count);
- Assert.AreEqual(msgs[19].ToString(), Buffer[0].ToString());
+ Assert.AreEqual(msgs[32 - (Buffer.MaxCapacity - bufferCount)].ToString(), Buffer[0].ToString());
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]