Removed UNITTEST constant from most files; tried switching to Moq, but encountered some InternalsVisibleTo() problems; ripped out NuGet again because it is so very bad
This commit is contained in:
parent
8b011981d9
commit
090b1375c0
26 changed files with 31 additions and 123 deletions
|
@ -17,8 +17,6 @@ limitations under the License.
|
|||
*/
|
||||
#endregion // Apache License 2.0
|
||||
|
||||
#if UNITTEST
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
|
@ -557,5 +555,3 @@ namespace Nuclex.Support.IO {
|
|||
}
|
||||
|
||||
} // namespace Nuclex.Support.IO
|
||||
|
||||
#endif // UNITTEST
|
||||
|
|
|
@ -17,8 +17,6 @@ limitations under the License.
|
|||
*/
|
||||
#endregion // Apache License 2.0
|
||||
|
||||
#if UNITTEST
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
|
@ -522,5 +520,3 @@ namespace Nuclex.Support.IO {
|
|||
}
|
||||
|
||||
} // namespace Nuclex.Support.IO
|
||||
|
||||
#endif // UNITTEST
|
||||
|
|
|
@ -20,8 +20,6 @@ limitations under the License.
|
|||
using System;
|
||||
using System.IO;
|
||||
|
||||
#if UNITTEST
|
||||
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Nuclex.Support.IO {
|
||||
|
@ -31,7 +29,7 @@ namespace Nuclex.Support.IO {
|
|||
internal class RingMemoryStreamTest {
|
||||
|
||||
/// <summary>Prepares some test data for the units test methods</summary>
|
||||
[TestFixtureSetUp]
|
||||
[OneTimeSetUp]
|
||||
public void Setup() {
|
||||
this.testBytes = new byte[20];
|
||||
for(int i = 0; i < 20; ++i)
|
||||
|
@ -325,5 +323,3 @@ namespace Nuclex.Support.IO {
|
|||
}
|
||||
|
||||
} // namespace Nuclex.Support.IO
|
||||
|
||||
#endif // UNITTEST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue