添加暂时忽略测试

develop
bicijinlian 7 years ago
parent 6ddb521e79
commit 7eb6866e59

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MoqStudy.MockModel.DemoModel
{
public class EventDemo
{
}
}

@ -47,6 +47,7 @@
<Compile Include="DemoModel\Baz.cs" /> <Compile Include="DemoModel\Baz.cs" />
<Compile Include="DemoModel\CallBaseHelper.cs" /> <Compile Include="DemoModel\CallBaseHelper.cs" />
<Compile Include="DemoModel\DemoHelper.cs" /> <Compile Include="DemoModel\DemoHelper.cs" />
<Compile Include="DemoModel\EventDemo.cs" />
<Compile Include="DemoModel\IFoo.cs" /> <Compile Include="DemoModel\IFoo.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="StudyModel\Teacher.cs" /> <Compile Include="StudyModel\Teacher.cs" />

@ -553,12 +553,13 @@ namespace MoqStudy.Test
} }
#endregion #endregion
#region 设置事件 #region 设置事件(暂时省略)
[Fact] //注册一个事件
public void Events_Test() [Fact(Skip = "暂时省略")]
public void Event_Raise_Test()
{ {
//要单独写测试 Assert.True(false, "暂时略过,以后学习");
} }
#endregion #endregion
@ -1285,7 +1286,13 @@ namespace MoqStudy.Test
} }
#endregion #endregion
#region LINQ to Mocks #region LINQ to Mocks(暂时略过)
[Fact(Skip = "暂时略过")]
public void Linq_Test()
{
Assert.True(false, "暂时略过,以后学习");
}
#endregion #endregion
#region xUnit 清理 #region xUnit 清理

Loading…
Cancel
Save