This commit is contained in:
@@ -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" };
|
||||
|
||||
Reference in New Issue
Block a user