Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
1da3e28e
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
1da3e28e
编写于
9月 09, 2018
作者:
T
Tomáš Matoušek
提交者:
GitHub
9月 09, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update xunit to 2.4.1-pre.build.4059 (#29663)
上级
f825d0ed
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
15 addition
and
17 deletion
+15
-17
build/Targets/Packages.props
build/Targets/Packages.props
+5
-6
build/ToolsetPackages/RoslynToolset.csproj
build/ToolsetPackages/RoslynToolset.csproj
+0
-1
build/scripts/tests.sh
build/scripts/tests.sh
+1
-1
src/EditorFeatures/TestUtilities/Threading/WpfFactDiscoverer.cs
...itorFeatures/TestUtilities/Threading/WpfFactDiscoverer.cs
+3
-3
src/EditorFeatures/TestUtilities/Threading/WpfTestCase.cs
src/EditorFeatures/TestUtilities/Threading/WpfTestCase.cs
+4
-4
src/EditorFeatures/TestUtilities/Threading/WpfTheoryTestCase.cs
...itorFeatures/TestUtilities/Threading/WpfTheoryTestCase.cs
+2
-2
未找到文件。
build/Targets/Packages.props
浏览文件 @
1da3e28e
...
...
@@ -34,7 +34,6 @@
<CommandLineParserVersion>
2.0.273-beta
</CommandLineParserVersion>
<EnvDTEVersion>
8.0.2
</EnvDTEVersion>
<EnvDTE80Version>
8.0.0
</EnvDTE80Version>
<dotnetxunitVersion>
2.3.1
</dotnetxunitVersion>
<FakeSignVersion>
0.9.2
</FakeSignVersion>
<HumanizerCoreVersion>
2.2.0
</HumanizerCoreVersion>
<ICSharpCodeDecompilerVersion>
4.0.0.4285-beta1
</ICSharpCodeDecompilerVersion>
...
...
@@ -251,12 +250,12 @@
<VsWebsiteInteropVersion>
8.0.50727
</VsWebsiteInteropVersion>
<vswhereVersion>
2.4.1
</vswhereVersion>
<XliffTasksVersion>
0.2.0-beta-63004-01
</XliffTasksVersion>
<xunitVersion>
2.
3.1
</xunitVersion>
<xunitanalyzersVersion>
0.
8
.0
</xunitanalyzersVersion>
<xunitassertVersion>
2.
3.1
</xunitassertVersion>
<xunitrunnerconsoleVersion>
2.
3.1
</xunitrunnerconsoleVersion>
<xunitVersion>
2.
4.1-pre.build.4059
</xunitVersion>
<xunitanalyzersVersion>
0.
10
.0
</xunitanalyzersVersion>
<xunitassertVersion>
2.
4.1-pre.build.4059
</xunitassertVersion>
<xunitrunnerconsoleVersion>
2.
4.1-pre.build.4059
</xunitrunnerconsoleVersion>
<xunitrunnerwpfVersion>
1.0.51
</xunitrunnerwpfVersion>
<xunitrunnervisualstudioVersion>
2.
3.1
</xunitrunnervisualstudioVersion>
<xunitrunnervisualstudioVersion>
2.
4.1-pre.build.4059
</xunitrunnervisualstudioVersion>
</PropertyGroup>
<!--
...
...
build/ToolsetPackages/RoslynToolset.csproj
浏览文件 @
1da3e28e
...
...
@@ -36,7 +36,6 @@
<PackageReference
Include=
"vswhere"
Version=
"$(vswhereVersion)"
ExcludeAssets=
"all"
/>
</ItemGroup>
<ItemGroup
Condition=
"'$(TargetFramework)' == 'netcoreapp2.0'"
>
<PackageReference
Include=
"dotnet-xunit"
Version=
"$(dotnetxunitVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"Microsoft.NETCore.Compilers"
Version=
"$(MicrosoftNETCoreCompilersVersion)"
ExcludeAssets=
"all"
/>
</ItemGroup>
</Project>
build/scripts/tests.sh
浏览文件 @
1da3e28e
...
...
@@ -16,7 +16,7 @@ binaries_path="${root_path}"/Binaries
unittest_dir
=
"
${
binaries_path
}
"
/
"
${
build_configuration
}
"
/UnitTests
log_dir
=
"
${
binaries_path
}
"
/
"
${
build_configuration
}
"
/xUnitResults
nuget_dir
=
"
${
HOME
}
"
/.nuget/packages
xunit_console_version
=
"
$(
get_package_version
dotnet-xunit
)
"
xunit_console_version
=
"
$(
get_package_version
xunitrunnerconsole
)
"
if
[[
"
${
runtime
}
"
==
"dotnet"
]]
;
then
target_framework
=
netcoreapp2.0
...
...
src/EditorFeatures/TestUtilities/Threading/WpfFactDiscoverer.cs
浏览文件 @
1da3e28e
...
...
@@ -16,7 +16,7 @@ public WpfFactDiscoverer(IMessageSink diagnosticMessageSink) : base(diagnosticMe
}
protected
override
IXunitTestCase
CreateTestCase
(
ITestFrameworkDiscoveryOptions
discoveryOptions
,
ITestMethod
testMethod
,
IAttributeInfo
factAttribute
)
=>
new
WpfTestCase
(
_diagnosticMessageSink
,
discoveryOptions
.
MethodDisplayOrDefault
(),
testMethod
);
=>
new
WpfTestCase
(
_diagnosticMessageSink
,
discoveryOptions
.
MethodDisplayOrDefault
(),
discoveryOptions
.
MethodDisplayOptionsOrDefault
(),
testMethod
);
}
public
class
WpfTheoryDiscoverer
:
TheoryDiscoverer
...
...
@@ -30,13 +30,13 @@ public WpfTheoryDiscoverer(IMessageSink diagnosticMessageSink) : base(diagnostic
protected
override
IEnumerable
<
IXunitTestCase
>
CreateTestCasesForDataRow
(
ITestFrameworkDiscoveryOptions
discoveryOptions
,
ITestMethod
testMethod
,
IAttributeInfo
theoryAttribute
,
object
[]
dataRow
)
{
var
testCase
=
new
WpfTestCase
(
_diagnosticMessageSink
,
discoveryOptions
.
MethodDisplayOrDefault
(),
testMethod
,
dataRow
);
var
testCase
=
new
WpfTestCase
(
_diagnosticMessageSink
,
discoveryOptions
.
MethodDisplayOrDefault
(),
discoveryOptions
.
MethodDisplayOptionsOrDefault
(),
testMethod
,
dataRow
);
return
new
[]
{
testCase
};
}
protected
override
IEnumerable
<
IXunitTestCase
>
CreateTestCasesForTheory
(
ITestFrameworkDiscoveryOptions
discoveryOptions
,
ITestMethod
testMethod
,
IAttributeInfo
theoryAttribute
)
{
var
testCase
=
new
WpfTheoryTestCase
(
_diagnosticMessageSink
,
discoveryOptions
.
MethodDisplayOrDefault
(),
testMethod
);
var
testCase
=
new
WpfTheoryTestCase
(
_diagnosticMessageSink
,
discoveryOptions
.
MethodDisplayOrDefault
(),
discoveryOptions
.
MethodDisplayOptionsOrDefault
(),
testMethod
);
return
new
[]
{
testCase
};
}
}
...
...
src/EditorFeatures/TestUtilities/Threading/WpfTestCase.cs
浏览文件 @
1da3e28e
...
...
@@ -18,13 +18,13 @@ public sealed class WpfTestCase : XunitTestCase
public
WpfTestCase
()
{
}
public
WpfTestCase
(
IMessageSink
diagnosticMessageSink
,
TestMethodDisplay
defaultMethodDisplay
,
ITestMethod
testMethod
,
object
[]
testMethodArguments
=
null
)
:
base
(
diagnosticMessageSink
,
defaultMethodDisplay
,
testMethod
,
testMethodArguments
)
public
WpfTestCase
(
IMessageSink
diagnosticMessageSink
,
TestMethodDisplay
defaultMethodDisplay
,
TestMethodDisplayOptions
defaultMethodDisplayOptions
,
ITestMethod
testMethod
,
object
[]
testMethodArguments
=
null
)
:
base
(
diagnosticMessageSink
,
defaultMethodDisplay
,
defaultMethodDisplayOptions
,
testMethod
,
testMethodArguments
)
{
SharedData
=
WpfTestSharedData
.
Instance
;
}
public
override
Task
<
RunSummary
>
RunAsync
(
IMessageSink
diagnosticMessageSink
,
IMessageBus
messageBus
,
object
[]
constructorArguments
,
ExceptionAggregator
aggregator
,
CancellationTokenSource
cancellationTokenSource
)
{
var
runner
=
new
WpfTestCaseRunner
(
SharedData
,
this
,
DisplayName
,
SkipReason
,
constructorArguments
,
TestMethodArguments
,
messageBus
,
aggregator
,
cancellationTokenSource
);
...
...
src/EditorFeatures/TestUtilities/Threading/WpfTheoryTestCase.cs
浏览文件 @
1da3e28e
...
...
@@ -17,8 +17,8 @@ public class WpfTheoryTestCase : XunitTheoryTestCase
[
Obsolete
(
"Called by the de-serializer; should only be called by deriving classes for de-serialization purposes"
)]
public
WpfTheoryTestCase
()
{
}
public
WpfTheoryTestCase
(
IMessageSink
diagnosticMessageSink
,
TestMethodDisplay
defaultMethodDisplay
,
ITestMethod
testMethod
)
:
base
(
diagnosticMessageSink
,
defaultMethodDisplay
,
testMethod
)
public
WpfTheoryTestCase
(
IMessageSink
diagnosticMessageSink
,
TestMethodDisplay
defaultMethodDisplay
,
TestMethodDisplayOptions
defaultMethodDisplayOptions
,
ITestMethod
testMethod
)
:
base
(
diagnosticMessageSink
,
defaultMethodDisplay
,
defaultMethodDisplayOptions
,
testMethod
)
{
SharedData
=
WpfTestSharedData
.
Instance
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录