This commit is contained in:
grzegorz.russek
2018-09-20 05:35:36 +00:00
parent fe36953bd5
commit 913d29274e
19 changed files with 607 additions and 385 deletions

View File

@@ -28,25 +28,16 @@
using System.Collections.Generic;
using System.Diagnostics;
using NUnit.Framework;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DynamORM.Tests.Helpers
{
/// <summary>Class responsible for users operations testing.</summary>
[TestFixture]
[TestClass]
public class AttachToDebugger
{
/// <summary>Attach to debugger.</summary>
[Test]
[Explicit("Test for attaching debugger to NUnit test framework")]
public void Attach()
{
if (!Debugger.IsAttached)
Debugger.Launch();
}
/// <summary>Test anonymous type compatibility.</summary>
[Test]
[TestMethod]
public void TestAnonType()
{
var a = new { x = 1, y = 2 };
@@ -56,7 +47,7 @@ namespace DynamORM.Tests.Helpers
}
/// <summary>Test anonymous type value.</summary>
[Test]
[TestMethod]
public void TestAnonTypeValue()
{
var a = new { x = 1, y = "bla bla" };