Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
9d96547c
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,发现更多精彩内容 >>
未验证
提交
9d96547c
编写于
8月 28, 2019
作者:
A
AlekseyTs
提交者:
GitHub
8月 28, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Enable tests disabled due to changes in behavior in runtime. (#38319)
Fixes #32576. Fixes #33564.
上级
38559118
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
20 addition
and
27 deletion
+20
-27
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenIncrementTests.cs
...mpilers/CSharp/Test/Emit/CodeGen/CodeGenIncrementTests.cs
+1
-1
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenTests.cs
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenTests.cs
+4
-8
src/Compilers/CSharp/Test/Emit/PDB/PDBConstantTests.cs
src/Compilers/CSharp/Test/Emit/PDB/PDBConstantTests.cs
+1
-2
src/Compilers/CSharp/Test/Semantic/Semantics/ConstantTests.cs
...Compilers/CSharp/Test/Semantic/Semantics/ConstantTests.cs
+1
-1
src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxFactoryTests.cs
...Compilers/CSharp/Test/Syntax/Syntax/SyntaxFactoryTests.cs
+2
-2
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenConstLocal.vb
...pilers/VisualBasic/Test/Emit/CodeGen/CodeGenConstLocal.vb
+1
-1
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenForLoops.vb
...ompilers/VisualBasic/Test/Emit/CodeGen/CodeGenForLoops.vb
+1
-1
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenTests.vb
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenTests.vb
+5
-5
src/Compilers/VisualBasic/Test/Emit/PDB/PDBConstLocalTests.vb
...Compilers/VisualBasic/Test/Emit/PDB/PDBConstLocalTests.vb
+1
-2
src/Compilers/VisualBasic/Test/Semantic/Semantics/UnaryOperators.vb
...ers/VisualBasic/Test/Semantic/Semantics/UnaryOperators.vb
+1
-1
src/Compilers/VisualBasic/Test/Syntax/Syntax/SyntaxFactoryTests.vb
...lers/VisualBasic/Test/Syntax/Syntax/SyntaxFactoryTests.vb
+1
-1
src/Scripting/CSharpTest/CommandLineRunnerTests.cs
src/Scripting/CSharpTest/CommandLineRunnerTests.cs
+1
-2
未找到文件。
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenIncrementTests.cs
浏览文件 @
9d96547c
...
...
@@ -107,7 +107,7 @@ public void TestIncrementFloat()
TestIncrementCompilationAndOutput
<
float
>(
0
,
1
);
}
[
ConditionalFact
(
typeof
(
WindowsDesktopOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/32576"
)
]
[
Fact
]
[
WorkItem
(
32576
,
"https://github.com/dotnet/roslyn/issues/32576"
)]
public
void
TestIncrementDecimal
()
{
...
...
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenTests.cs
浏览文件 @
9d96547c
...
...
@@ -9817,7 +9817,7 @@ .maxstack 4
"
);
}
[
ConditionalFact
(
typeof
(
WindowsDesktopOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/33564"
)
]
[
Fact
]
[
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)]
[
WorkItem
(
538246
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/538246"
),
WorkItem
(
543655
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543655"
)]
public
void
FloatDoubleInfinity
()
...
...
@@ -10673,7 +10673,7 @@ public static void Main()
[
WorkItem
(
529827
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/529827"
)]
[
WorkItem
(
568494
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/568494"
)]
[
WorkItem
(
32576
,
"https://github.com/dotnet/roslyn/issues/32576"
)]
[
ConditionalFact
(
typeof
(
WindowsDesktopOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/32576"
)
]
[
Fact
]
public
void
DecimalLiteral_BreakingChange
()
{
string
source
=
...
...
@@ -11339,15 +11339,11 @@ .maxstack 5
}"
);
}
[
ConditionalFact
(
typeof
(
WindowsDesktopOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/32576"
)
]
[
Fact
]
[
WorkItem
(
32576
,
"https://github.com/dotnet/roslyn/issues/32576"
)]
[
WorkItem
(
34198
,
"https://github.com/dotnet/roslyn/issues/34198"
)]
public
void
DecimalBinaryOp_03
()
{
// Test temporarily disabled on Mono as it fails on nightlies due to System.Decimal changes
// We'll need to update / disable for CoreCLR 3.0 too as it has the same change
// Tracked by https://github.com/dotnet/roslyn/issues/34198
string
source
=
@"
class C
{
...
...
@@ -12906,7 +12902,7 @@ static void Main()
Diagnostic
(
ErrorCode
.
ERR_ConstOutOfRange
,
"(decimal)-4e30f"
).
WithArguments
(
"-4E+30"
,
"decimal"
));
}
[
ConditionalFact
(
typeof
(
WindowsDesktopOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/33564"
)
]
[
Fact
]
[
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)]
public
void
Bug14064
()
{
...
...
src/Compilers/CSharp/Test/Emit/PDB/PDBConstantTests.cs
浏览文件 @
9d96547c
...
...
@@ -462,8 +462,7 @@ IEnumerable<int> M()
</symbols>"
);
}
[
ConditionalFact
(
typeof
(
WindowsDesktopOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/33564"
)]
// https://github.com/dotnet/roslyn/issues/33564: Was [ConditionalFact(typeof(WindowsOnly), Reason = ConditionalSkipReason.NativePdbRequiresDesktop)]
[
ConditionalFact
(
typeof
(
WindowsOnly
),
Reason
=
ConditionalSkipReason
.
NativePdbRequiresDesktop
)]
[
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)]
public
void
LocalConstantsTypes
()
{
...
...
src/Compilers/CSharp/Test/Semantic/Semantics/ConstantTests.cs
浏览文件 @
9d96547c
...
...
@@ -896,7 +896,7 @@ static void M()
Diagnostic
(
ErrorCode
.
ERR_CheckedOverflow
,
"U64.Min - 2"
).
WithLocation
(
89
,
11
));
}
[
ConditionalFact
(
typeof
(
WindowsDesktopOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/33564"
)
]
[
Fact
]
[
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)]
[
WorkItem
(
528727
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/528727"
)]
public
void
TestConstantNumericConversionsNotOverflow
()
...
...
src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxFactoryTests.cs
浏览文件 @
9d96547c
...
...
@@ -274,7 +274,7 @@ public void TestSeparatedListFactory_DefaultSeparators()
Assert
.
Equal
(
"x,y,z"
,
list2
.
ToString
());
}
[
ConditionalFact
(
typeof
(
WindowsDesktopOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/33564"
)
]
[
Fact
]
[
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)]
[
WorkItem
(
720708
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/720708"
)]
public
void
TestLiteralDefaultStringValues
()
...
...
@@ -346,7 +346,7 @@ public void TestLiteralDefaultStringValues()
CheckLiteralToString
(
decimal
.
MaxValue
,
@"79228162514264337593543950335M"
);
}
[
ConditionalFact
(
typeof
(
WindowsDesktopOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/33564"
)
]
[
Fact
]
[
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)]
[
WorkItem
(
849836
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/849836"
)]
public
void
TestLiteralToStringDifferentCulture
()
...
...
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenConstLocal.vb
浏览文件 @
9d96547c
...
...
@@ -179,7 +179,7 @@ End Module
End
Sub
<
ConditionalFact
(
GetType
(
WindowsDesktopOnly
),
Reason
:
=
"https://github.com/dotnet/roslyn/issues/33564"
)
>
<
Fact
>
<
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)
>
Public
Sub
TestDoubleConstLocal
()
Dim
verifier
=
CompileAndVerify
(
...
...
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenForLoops.vb
浏览文件 @
9d96547c
...
...
@@ -326,7 +326,7 @@ End Class
End
Sub
<
ConditionalFact
(
GetType
(
WindowsDesktopOnly
),
Reason
:
=
"https://github.com/dotnet/roslyn/issues/33564"
)
>
<
Fact
>
<
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)
>
Public
Sub
ForLoopStepIsFloatNegativeVar
()
Dim
TEMP
=
CompileAndVerify
(
...
...
src/Compilers/VisualBasic/Test/Emit/CodeGen/CodeGenTests.vb
浏览文件 @
9d96547c
...
...
@@ -277,7 +277,7 @@ End Module
<
WorkItem
(
578074
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/578074"
)
>
<
WorkItem
(
32576
,
"https://github.com/dotnet/roslyn/issues/32576"
)
>
<
ConditionalFact
(
GetType
(
WindowsDesktopOnly
),
Reason
:
=
"https://github.com/dotnet/roslyn/issues/32576"
)
>
<
Fact
>
Public
Sub
PreserveZeroDigitsInDecimal
()
CompileAndVerify
(
<
compilation
>
...
...
@@ -625,7 +625,7 @@ expectedOutput:=<![CDATA[
<
WorkItem
(
568494
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/568494"
)
>
<
WorkItem
(
568520
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/568520"
)
>
<
WorkItem
(
32576
,
"https://github.com/dotnet/roslyn/issues/32576"
)
>
<
ConditionalFact
(
GetType
(
WindowsDesktopOnly
),
Reason
:
=
"https://github.com/dotnet/roslyn/issues/32576"
)
>
<
Fact
>
Public
Sub
DecimalLiteral_BreakingChange
()
CompileAndVerify
(
...
...
@@ -5262,7 +5262,7 @@ End Class
]]>)
End Sub
<
ConditionalFact(GetType(WindowsDesktopOnly), Reason:="
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
33564
")
>
<
Fact
>
<WorkItem(33564, "
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
33564
")>
<WorkItem(529849, "
http
:
//
vstfdevdiv
:
8080
/
DevDiv2
/
DevDiv
/
_workitems
/
edit
/
529849
")>
Public Sub ArrayWithTypeCharsWithStaticLocals()
...
...
@@ -13821,7 +13821,7 @@ End Module
]]>)
End Sub
<
ConditionalFact(GetType(WindowsDesktopOnly), Reason:="
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
33564
")
>
<
Fact
>
<WorkItem(33564, "
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
33564
")>
<WorkItem(7148, "
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
7148
")>
Public Sub Issue7148_1()
...
...
@@ -13867,7 +13867,7 @@ End Class
]]>)
End Sub
<
ConditionalFact(GetType(WindowsDesktopOnly), Reason:="
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
33564
")
>
<
Fact
>
<WorkItem(33564, "
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
33564
")>
<WorkItem(7148, "
https
:
//
github
.
com
/
dotnet
/
roslyn
/
issues
/
7148
")>
Public Sub Issue7148_2()
...
...
src/Compilers/VisualBasic/Test/Emit/PDB/PDBConstLocalTests.vb
浏览文件 @
9d96547c
...
...
@@ -142,8 +142,7 @@ class C
End
Sub
#End If
' https://github.com/dotnet/roslyn/issues/33564: Was <ConditionalFact(GetType(WindowsOnly), Reason:=ConditionalSkipReason.NativePdbRequiresDesktop)>
<
ConditionalFact
(
GetType
(
WindowsDesktopOnly
),
Reason
:
=
"https://github.com/dotnet/roslyn/issues/33564"
)
>
<
ConditionalFact
(
GetType
(
WindowsOnly
),
Reason
:
=
ConditionalSkipReason
.
NativePdbRequiresDesktop
)
>
<
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)
>
<
WorkItem
(
529101
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/529101"
)
>
Public
Sub
TestLocalConstantsTypes
()
...
...
src/Compilers/VisualBasic/Test/Semantic/Semantics/UnaryOperators.vb
浏览文件 @
9d96547c
...
...
@@ -16,7 +16,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics
Public
Class
UnaryOperators
Inherits
BasicTestBase
<
ConditionalFact
(
GetType
(
WindowsDesktopOnly
),
Reason
:
=
"https://github.com/dotnet/roslyn/issues/33564"
)
>
<
Fact
>
<
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)
>
Public
Sub
Test1
()
...
...
src/Compilers/VisualBasic/Test/Syntax/Syntax/SyntaxFactoryTests.vb
浏览文件 @
9d96547c
...
...
@@ -42,7 +42,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests
Assert
.
Equal
(
expected
,
node
.
ToFullString
())
End
Sub
<
ConditionalFact
(
GetType
(
WindowsDesktopOnly
),
Reason
:
=
"https://github.com/dotnet/roslyn/issues/33564"
)
>
<
Fact
>
<
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)
>
<
WorkItem
(
720708
,
"http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/720708"
)
>
Public
Sub
TestLiteralDefaultStringValues
()
...
...
src/Scripting/CSharpTest/CommandLineRunnerTests.cs
浏览文件 @
9d96547c
...
...
@@ -168,8 +168,7 @@ > Math.PI
>"
,
runner
.
Console
.
Out
.
ToString
());
}
[
ConditionalFact
(
typeof
(
WindowsDesktopOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/33564"
)]
// https://github.com/dotnet/roslyn/issues/33564: Was [ConditionalFact(typeof(ClrOnly), Reason = "https://github.com/dotnet/roslyn/issues/30924")]
[
ConditionalFact
(
typeof
(
ClrOnly
),
Reason
=
"https://github.com/dotnet/roslyn/issues/30924"
)]
[
WorkItem
(
33564
,
"https://github.com/dotnet/roslyn/issues/33564"
)]
[
WorkItem
(
7133
,
"http://github.com/dotnet/roslyn/issues/7133"
)]
public
void
TestDisplayResultsWithCurrentUICulture2
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录