Renamed project file to stay consistent with the current conventions; corrected the copy & paste error in the BinarySerializer's unit test comments; added temporary build files to svn:ignore list
git-svn-id: file:///srv/devel/repo-conversion/nusu@2 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
ce8df64be5
commit
fb7dba1c2c
|
@ -25,7 +25,7 @@ namespace Nuclex.Support.Collections {
|
||||||
|
|
||||||
/// <summary>Reparents all elements in the collection</summary>
|
/// <summary>Reparents all elements in the collection</summary>
|
||||||
/// <param name="parent">New parent to take ownership of the items</param>
|
/// <param name="parent">New parent to take ownership of the items</param>
|
||||||
internal void Reparent(ParentType parent) {
|
protected void Reparent(ParentType parent) {
|
||||||
this.parent = parent;
|
this.parent = parent;
|
||||||
|
|
||||||
for(int index = 0; index < Count; ++index)
|
for(int index = 0; index < Count; ++index)
|
||||||
|
@ -35,7 +35,7 @@ namespace Nuclex.Support.Collections {
|
||||||
/// <summary>Called when the asset needs to release its resources</summary>
|
/// <summary>Called when the asset needs to release its resources</summary>
|
||||||
/// <param name="calledByUser">
|
/// <param name="calledByUser">
|
||||||
/// Whether the mehod has been called from user code. If this argument
|
/// Whether the mehod has been called from user code. If this argument
|
||||||
/// is false, the object is being disposed by the garbage collection and
|
/// is false, the object is being disposed by the garbage collector and
|
||||||
/// it mustn't access other objects (including the attempt to Dispose() them)
|
/// it mustn't access other objects (including the attempt to Dispose() them)
|
||||||
/// as these might have already been destroyed by the GC.
|
/// as these might have already been destroyed by the GC.
|
||||||
/// </param>
|
/// </param>
|
||||||
|
|
|
@ -18,16 +18,16 @@ namespace Nuclex.Support.Serialization {
|
||||||
public int Dummy;
|
public int Dummy;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Prepares some test data for the units test methods</summary>
|
/// <summary>Prepares some test data for the unit test methods</summary>
|
||||||
[TestFixtureSetUp]
|
[TestFixtureSetUp]
|
||||||
public void Setup() {
|
public void Setup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Ensures that the ring buffer blocks write attempts that would exceed its capacity
|
/// Tests wether a simple collection can be successfully saved and loaded again
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Test]
|
[Test]
|
||||||
public void TestTooLargeChunk() {
|
public void TestSimpleCollection() {
|
||||||
MemoryStream buffer = new MemoryStream();
|
MemoryStream buffer = new MemoryStream();
|
||||||
|
|
||||||
// Fill and save
|
// Fill and save
|
||||||
|
|
Loading…
Reference in New Issue
Block a user