Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
92e5d02f
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,发现更多精彩内容 >>
未验证
提交
92e5d02f
编写于
12月 05, 2019
作者:
J
Joey Robichaud
提交者:
GitHub
12月 05, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #40161 from JoeRobich/skip-repl-tests
Skip failing C# REPL integration tests.
上级
1f746111
cb9290b8
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
23 addition
and
23 deletion
+23
-23
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpInteractiveCommands.cs
...Test/IntegrationTests/CSharp/CSharpInteractiveCommands.cs
+6
-6
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpInteractiveDirectives.cs
...st/IntegrationTests/CSharp/CSharpInteractiveDirectives.cs
+1
-1
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpReplClassification.cs
...nTest/IntegrationTests/CSharp/CSharpReplClassification.cs
+1
-1
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpReplIdeFeatures.cs
...tionTest/IntegrationTests/CSharp/CSharpReplIdeFeatures.cs
+8
-8
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpReplIntellisense.cs
...ionTest/IntegrationTests/CSharp/CSharpReplIntellisense.cs
+7
-7
未找到文件。
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpInteractiveCommands.cs
浏览文件 @
92e5d02f
...
...
@@ -38,7 +38,7 @@ public void VerifyPreviousAndNextHistory()
VisualStudio
.
InteractiveWindow
.
WaitForLastReplOutput
(
"\"1\""
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyMaybeExecuteInput
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"2 + 3"
);
...
...
@@ -46,7 +46,7 @@ public void VerifyMaybeExecuteInput()
VisualStudio
.
InteractiveWindow
.
WaitForLastReplOutput
(
"5"
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyNewLineAndIndent
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"3 + "
);
...
...
@@ -73,7 +73,7 @@ public void VerifyForceNewLineAndIndent()
VisualStudio
.
InteractiveWindow
.
Verify
.
ReplPromptConsistency
(
"<![CDATA[1 + 2 + 3]]>"
,
"6"
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyCancelInput
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"1 + 4"
);
...
...
@@ -82,7 +82,7 @@ public void VerifyCancelInput()
VisualStudio
.
InteractiveWindow
.
Verify
.
LastReplInput
(
string
.
Empty
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyUndoAndRedo
()
{
VisualStudio
.
InteractiveWindow
.
ClearReplText
();
...
...
@@ -95,7 +95,7 @@ public void VerifyUndoAndRedo()
VisualStudio
.
InteractiveWindow
.
WaitForLastReplOutput
(
"6"
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
CutDeletePasteSelectAll
()
{
ClearInteractiveWindow
();
...
...
@@ -132,7 +132,7 @@ public void CutDeletePasteSelectAll()
// of these tests and convert them to unit-tests.
// -->
//<!-- TODO(https://github.com/dotnet/roslyn/issues/4235)
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyReturnIndentCurrentLine
()
{
VisualStudio
.
InteractiveWindow
.
ClearScreen
();
...
...
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpInteractiveDirectives.cs
浏览文件 @
92e5d02f
...
...
@@ -16,7 +16,7 @@ public CSharpInteractiveDirectives(VisualStudioInstanceFactory instanceFactory,
{
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyHostCommandsCompletionList
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"#"
);
...
...
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpReplClassification.cs
浏览文件 @
92e5d02f
...
...
@@ -16,7 +16,7 @@ public CSharpReplClassification(VisualStudioInstanceFactory instanceFactory, ITe
{
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyColorOfSomeTokens
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
@"using System.Console;
...
...
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpReplIdeFeatures.cs
浏览文件 @
92e5d02f
...
...
@@ -32,14 +32,14 @@ public void VerifyDefaultUsingStatements()
VisualStudio
.
InteractiveWindow
.
WaitForLastReplOutput
(
"42"
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyCodeActionsNotAvailableInPreviousSubmission
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"Console.WriteLine(42);"
);
VisualStudio
.
InteractiveWindow
.
Verify
.
CodeActionsNotShowing
();
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyQuickInfoOnStringDocCommentsFromMetadata
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"static void Goo(string[] args) { }"
);
...
...
@@ -49,7 +49,7 @@ public void VerifyQuickInfoOnStringDocCommentsFromMetadata()
Assert
.
Equal
(
"class System.String"
,
s
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
International
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
@"delegate void العربية();
...
...
@@ -60,7 +60,7 @@ public void International()
Assert
.
Equal
(
"(field) العربية func"
,
s
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
HighlightRefsSingleSubmissionVerifyRenameTagsShowUpWhenInvokedOnUnsubmittedText
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"int someint; someint = 22; someint = 23;"
);
...
...
@@ -71,7 +71,7 @@ public void HighlightRefsSingleSubmissionVerifyRenameTagsShowUpWhenInvokedOnUnsu
VisualStudio
.
InteractiveWindow
.
VerifyTags
(
WellKnownTagNames
.
MarkerFormatDefinition_HighlightedDefinition
,
1
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
HighlightRefsSingleSubmissionVerifyRenameTagsGoAway
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"int someint; someint = 22; someint = 23;"
);
...
...
@@ -159,7 +159,7 @@ public void HighlightRefsMultipleSubmisionsVerifyRenameTagsOnRedefinedVariable()
VisualStudio
.
InteractiveWindow
.
VerifyTags
(
WellKnownTagNames
.
MarkerFormatDefinition_HighlightedReference
,
0
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
DisabledCommandsPart1
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
@"public class Class
...
...
@@ -194,7 +194,7 @@ public void Method(int x)
Assert
.
False
(
VisualStudio
.
IsCommandAvailable
(
WellKnownCommandNames
.
Refactor_ReorderParameters
));
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
AddUsing
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"typeof(ArrayList)"
);
...
...
@@ -210,7 +210,7 @@ public void AddUsing()
typeof(ArrayList)"
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
QualifyName
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"typeof(ArrayList)"
);
...
...
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpReplIntellisense.cs
浏览文件 @
92e5d02f
...
...
@@ -18,14 +18,14 @@ public CSharpReplIntellisense(VisualStudioInstanceFactory instanceFactory, ITest
{
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyCompletionListOnEmptyTextAtTopLevel
()
{
VisualStudio
.
InteractiveWindow
.
InvokeCompletionList
();
VisualStudio
.
InteractiveWindow
.
Verify
.
CompletionItemsExist
(
"var"
,
"public"
,
"readonly"
,
"goto"
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifySharpRCompletionList
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"#r \""
);
...
...
@@ -33,7 +33,7 @@ public void VerifySharpRCompletionList()
VisualStudio
.
InteractiveWindow
.
Verify
.
CompletionItemsExist
(
"System"
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyCommitCompletionOnTopLevel
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"pub"
);
...
...
@@ -44,7 +44,7 @@ public void VerifyCommitCompletionOnTopLevel()
VisualStudio
.
SendKeys
.
Send
(
VirtualKey
.
Escape
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyCompletionListForAmbiguousParsingCases
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
@"class C { }
...
...
@@ -54,7 +54,7 @@ public void VerifyCompletionListForAmbiguousParsingCases()
VisualStudio
.
InteractiveWindow
.
Verify
.
CompletionItemsExist
(
"ArgumentException"
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifySharpLoadCompletionList
()
{
VisualStudio
.
InteractiveWindow
.
InsertCode
(
"#load \""
);
...
...
@@ -62,14 +62,14 @@ public void VerifySharpLoadCompletionList()
VisualStudio
.
InteractiveWindow
.
Verify
.
CompletionItemsExist
(
"C:"
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyNoCrashOnEnter
()
{
VisualStudio
.
Editor
.
SetUseSuggestionMode
(
false
);
VisualStudio
.
SendKeys
.
Send
(
"#help"
,
VirtualKey
.
Enter
,
VirtualKey
.
Enter
);
}
[
WpfFact
]
[
WpfFact
(
Skip
=
"https://github.com/dotnet/roslyn/issues/40160"
)
]
public
void
VerifyCorrectIntellisenseSelectionOnEnter
()
{
VisualStudio
.
Editor
.
SetUseSuggestionMode
(
false
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录