Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
60c2983
Improve T4 maintenancibility.
yfakariya May 4, 2017
77a3491
Code clean up.
yfakariya May 4, 2017
58fa600
Define new interfaces of Unpacker.
yfakariya May 4, 2017
baa9ad5
Refactor unpacker test.
yfakariya May 4, 2017
c2cfdaa
Improve Unpackers.
yfakariya May 4, 2017
9530c8a
Cleanup csproj.
yfakariya May 5, 2017
c0eff55
Unify globs to baskslash to avoid MSBuild bizarre wildcard matching i…
yfakariya May 5, 2017
741728e
Add factory related tests.
yfakariya May 5, 2017
41237d5
Add FastStreamUnpackerTest
yfakariya May 5, 2017
6f13023
Enable Unpacker unit test omit inappropriate tests
yfakariya May 5, 2017
8378163
Add byte array unpacker tests.
yfakariya May 5, 2017
3f0cf6f
Fix unit test to avoid lazy stream content feeding for byte array bas…
yfakariya May 5, 2017
aaa45e0
Change Inconclusive to Ignore for clarification.
yfakariya May 5, 2017
e3a26f9
Fix sync.xml
yfakariya May 5, 2017
14705f2
Synchronize projects.
yfakariya May 5, 2017
2dbf23d
Add unpack path optimization.
yfakariya May 6, 2017
01de478
Remove redundant tests.
yfakariya May 7, 2017
df61a83
Code cleanup.
yfakariya May 7, 2017
42a60e8
Add Unpacker.Create test cases.
yfakariya May 7, 2017
7879a17
Add ByteArrayUnpacker tests.
yfakariya May 7, 2017
26fd766
Refactor StreamUnpackerReader
yfakariya May 7, 2017
a1283f5
Change ByteArrayUnpackerReader from single byte array segment to mult…
yfakariya May 7, 2017
2d73f7f
Improve packers.
yfakariya Aug 13, 2017
5e81c22
Add unit tests for new packer stack.
yfakariya May 21, 2017
6e19774
Fix unit test because of IEnumerable<byte> internal behavior change.
yfakariya Jun 15, 2017
7b64b88
Refactor test (and fix generation bug)
yfakariya Jul 1, 2017
5c279eb
Add multibyte string test cases.
yfakariya Jul 1, 2017
787bc77
Improve string packing with avoiding char buffer copy.
yfakariya Jul 1, 2017
6cbf8b0
Improve PackSingleObject/UnpackSingleObject implementation.
yfakariya Jul 2, 2017
042f088
Fix build error.
yfakariya Jul 2, 2017
cd0e5fc
Synchronize projects.
yfakariya Jul 2, 2017
def9d3b
Fix Windows specific unit test settings.
yfakariya Jul 9, 2017
919eb21
Fix MSTEST workaround.
yfakariya Jul 10, 2017
a099835
Remove CLSCompliant from test code.
yfakariya Jul 10, 2017
4e0a505
Fix extra emitting bug for string encoding w/o pointer.
yfakariya Jul 10, 2017
8521910
Fix type error.
yfakariya Jul 10, 2017
efddb57
Improve serialization and deserialization.
yfakariya Jul 10, 2017
a8cd1f2
Add byte array based code samples.
yfakariya Jul 10, 2017
46b2fb8
Fix build error.
yfakariya Jul 10, 2017
13aee70
Update certificate for unit test app.
yfakariya Jul 10, 2017
7423eec
Optimize TryReadByte
yfakariya Jul 10, 2017
2b59d84
Fix signing config.
yfakariya Jul 11, 2017
a99bfed
Remove ArraySegment to improve performance.
yfakariya Jul 10, 2017
785882c
Change default buffer size for byte array based serialization.
yfakariya Jul 11, 2017
76625cc
Make fast path when the writer has enough buffer.
yfakariya Jul 11, 2017
2a707c9
Fix encoding failure for some cases.
yfakariya Jul 11, 2017
318a461
Change limit to remains to reduce calculation on scalar cases.
yfakariya Jul 12, 2017
9757383
Remove complicated IList<ArraySegment<byte>> based API from BytePacker.
yfakariya Jul 12, 2017
abea17a
Remove complicated IList<ArraySegment<byte>> based API from ByteArray…
yfakariya Jul 12, 2017
aee8043
Fix concurrency bug.
yfakariya Jul 12, 2017
b544276
Fix package versioning in non AppVeyor environment.
yfakariya Jul 14, 2017
bc8feea
Inlining ByteArrayPacker/StreamPacker.
yfakariya Jul 14, 2017
593c598
Code cleanup
yfakariya Jul 15, 2017
5081485
Inline internal unpackers.
yfakariya Jul 15, 2017
19a0502
Fix temporary comment-out of timeout settings.
yfakariya Jul 21, 2017
6f312c8
Fix test because seekable unpacker no longer throw exception for EoF …
yfakariya Jul 24, 2017
c907108
Fix skip test to avoid duplicated map keys.
yfakariya Jul 28, 2017
bbef171
Fix expected exception type because underlying unpacker no longer thr…
yfakariya Jul 29, 2017
e584f0b
Fix UnpackerFactory tests.
yfakariya Jul 29, 2017
508bfdb
Fix trivial warnings.
yfakariya Jul 29, 2017
9ec637d
Update change log.
yfakariya Jul 10, 2017
42753e8
Fix Xamarin build error.
yfakariya Aug 12, 2017
ca24576
Regenerate unity test cases.
yfakariya Aug 12, 2017
a2937cd
Update Unity settings.
yfakariya Aug 12, 2017
eee39c8
Exclude own nunit.framework.dll from Editor.
yfakariya Aug 12, 2017
b52eb9d
Fix own nunit frameworks for Unity.
yfakariya Aug 12, 2017
053c4d2
Update Unity available value types.
yfakariya Aug 12, 2017
9e7758c
Fix NullReferenceException on Unity enum serialization. #215
yfakariya Aug 12, 2017
534728b
Add target binding tracing.
yfakariya Aug 12, 2017
de2a08f
Fix MessagePackSerializer.Capability does not work correctly in Unity.
yfakariya Aug 12, 2017
8167927
Fix polymorphic serializer fails in specific situations in Unity.
yfakariya Aug 12, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix own nunit frameworks for Unity.
Latest Unity does not allow System.Web and System.Windows.Forms assembly
reference, so this commit excludes them from net3.5 build.
  • Loading branch information
yfakariya committed Aug 13, 2017
commit b52eb9d6ce212f54ad54920537396c703a414656
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
using System.IO;
using System.Reflection;
using System.Security;
#if SILVERLIGHT
using System.Web.UI;
#endif // SILVERLIGHT

using NUnit.Compatibility;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#if !SILVERLIGHT && !NETCF && !PORTABLE
using System.Diagnostics;
using System.Security;
using System.Windows.Forms;
#endif

namespace NUnit.Framework.Api
Expand Down Expand Up @@ -392,9 +391,6 @@ private int GetLevelOfParallelism()
[SecuritySafeCritical]
private static void PauseBeforeRun()
{
var process = Process.GetCurrentProcess();
string attachMessage = string.Format("Attach debugger to Process {0}.exe with Id {1} if desired.", process.ProcessName, process.Id);
MessageBox.Show(attachMessage, process.ProcessName, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// ***********************************************************************
// Copyright (c) 2010 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ***********************************************************************

using System;

namespace NUnit.Framework.Interfaces
{
/// <summary>
/// Dummy of <c>System.Web.UI.ICallbackEventHandler</c>.
/// </summary>
public interface ICallbackEventHandler
{
/// <summary>
/// Raises the callback event.
/// </summary>
/// <param name="eventArgument">The event argument.</param>
void RaiseCallbackEvent(string eventArgument);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
// ***********************************************************************

using System;
#if SILVERLIGHT
using System.Web.UI;
#endif // SILVERLIGHT
using NUnit.Framework.Interfaces;

namespace NUnit.Framework.Internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
</Compile>
<Compile Include="Env.cs" />
<Compile Include="Guard.cs" />
<Compile Include="Interfaces\ICallbackEventHandler.cs" />
<Compile Include="Interfaces\IDisposableFixture.cs" />
<Compile Include="Interfaces\IMethodInfo.cs" />
<Compile Include="Interfaces\IParameterInfo.cs" />
Expand Down Expand Up @@ -419,8 +420,6 @@
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
Expand Down