From fb7dba1c2c214506bae3a8ca22c62f630be0ba79 Mon Sep 17 00:00:00 2001 From: Markus Ewald Date: Wed, 28 Feb 2007 20:55:21 +0000 Subject: [PATCH] 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 --- Nuclex.Support.csproj => Nuclex.Support (PC).csproj | 0 Source/Collections/ParentingCollection.cs | 4 ++-- Source/Serialization/BinarySerializer.Test.cs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) rename Nuclex.Support.csproj => Nuclex.Support (PC).csproj (100%) diff --git a/Nuclex.Support.csproj b/Nuclex.Support (PC).csproj similarity index 100% rename from Nuclex.Support.csproj rename to Nuclex.Support (PC).csproj diff --git a/Source/Collections/ParentingCollection.cs b/Source/Collections/ParentingCollection.cs index e546539..2745762 100644 --- a/Source/Collections/ParentingCollection.cs +++ b/Source/Collections/ParentingCollection.cs @@ -25,7 +25,7 @@ namespace Nuclex.Support.Collections { /// Reparents all elements in the collection /// New parent to take ownership of the items - internal void Reparent(ParentType parent) { + protected void Reparent(ParentType parent) { this.parent = parent; for(int index = 0; index < Count; ++index) @@ -35,7 +35,7 @@ namespace Nuclex.Support.Collections { /// Called when the asset needs to release its resources /// /// 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) /// as these might have already been destroyed by the GC. /// diff --git a/Source/Serialization/BinarySerializer.Test.cs b/Source/Serialization/BinarySerializer.Test.cs index 8581221..93f816a 100644 --- a/Source/Serialization/BinarySerializer.Test.cs +++ b/Source/Serialization/BinarySerializer.Test.cs @@ -18,16 +18,16 @@ namespace Nuclex.Support.Serialization { public int Dummy; } - /// Prepares some test data for the units test methods + /// Prepares some test data for the unit test methods [TestFixtureSetUp] public void Setup() { } /// - /// 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 /// [Test] - public void TestTooLargeChunk() { + public void TestSimpleCollection() { MemoryStream buffer = new MemoryStream(); // Fill and save