Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
9ec88bd8
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,发现更多精彩内容 >>
提交
9ec88bd8
编写于
1月 24, 2019
作者:
S
Sam Harwell
提交者:
Tom Meschter
1月 31, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Localize regex tests
上级
6fb362dc
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
919 addition
and
919 deletion
+919
-919
src/Workspaces/CSharpTest/EmbeddedLanguages/RegularExpressions/CSharpRegexParserTests_BasicTests.cs
...s/RegularExpressions/CSharpRegexParserTests_BasicTests.cs
+553
-553
src/Workspaces/CSharpTest/EmbeddedLanguages/RegularExpressions/CSharpRegexParserTests_DotnetNegativeTests.cs
...Expressions/CSharpRegexParserTests_DotnetNegativeTests.cs
+356
-356
src/Workspaces/CSharpTest/EmbeddedLanguages/RegularExpressions/CSharpRegexParserTests_ReferenceTests.cs
...gularExpressions/CSharpRegexParserTests_ReferenceTests.cs
+10
-10
未找到文件。
src/Workspaces/CSharpTest/EmbeddedLanguages/RegularExpressions/CSharpRegexParserTests_BasicTests.cs
浏览文件 @
9ec88bd8
此差异已折叠。
点击以展开。
src/Workspaces/CSharpTest/EmbeddedLanguages/RegularExpressions/CSharpRegexParserTests_DotnetNegativeTests.cs
浏览文件 @
9ec88bd8
此差异已折叠。
点击以展开。
src/Workspaces/CSharpTest/EmbeddedLanguages/RegularExpressions/CSharpRegexParserTests_ReferenceTests.cs
浏览文件 @
9ec88bd8
...
@@ -923,7 +923,7 @@ public void ReferenceTest14()
...
@@ -923,7 +923,7 @@ public void ReferenceTest14()
[
Fact
]
[
Fact
]
public
void
ReferenceTest15
()
public
void
ReferenceTest15
()
{
{
Test
(
@"@""((\w+(\s?)){2,}"""
,
@"<Tree>
Test
(
@"@""((\w+(\s?)){2,}"""
,
$
@"<Tree>
<CompilationUnit>
<CompilationUnit>
<Sequence>
<Sequence>
<SimpleGrouping>
<SimpleGrouping>
...
@@ -956,10 +956,10 @@ public void ReferenceTest15()
...
@@ -956,10 +956,10 @@ public void ReferenceTest15()
</Sequence>
</Sequence>
<CloseParenToken>)</CloseParenToken>
<CloseParenToken>)</CloseParenToken>
</SimpleGrouping>
</SimpleGrouping>
<OpenBraceToken>{</OpenBraceToken>
<OpenBraceToken>
{
{
</
OpenBraceToken
>
<
NumberToken
value
=
""
2
""
>
2
</
NumberToken
>
<
NumberToken
value
=
""
2
""
>
2
</
NumberToken
>
<
CommaToken
>,</
CommaToken
>
<
CommaToken
>,</
CommaToken
>
<CloseBraceToken>}</CloseBraceToken>
<
CloseBraceToken
>}
}
</CloseBraceToken>
</OpenRangeNumericQuantifier>
</OpenRangeNumericQuantifier>
</Sequence>
</Sequence>
<CloseParenToken />
<CloseParenToken />
...
@@ -968,11 +968,11 @@ public void ReferenceTest15()
...
@@ -968,11 +968,11 @@ public void ReferenceTest15()
<EndOfFile />
<EndOfFile />
</CompilationUnit>
</CompilationUnit>
<Diagnostics>
<Diagnostics>
<Diagnostic Message=""
Not enough )'s
"" Span=""[25..25)"" Text="""" />
<Diagnostic Message=""
{
WorkspacesResources
.
Not_enough_close_parens
}
"" Span=""[25..25)"" Text="""" />
</Diagnostics>
</Diagnostics>
<Captures>
<Captures>
<Capture Name=""0"" Span=""[10..25)"" Text=""((\w+(\s?)){
2,
}"" />
<Capture Name=""0"" Span=""[10..25)"" Text=""((\w+(\s?))
{
{
2
,}
}
"" />
<Capture Name=""1"" Span=""[10..25)"" Text=""((\w+(\s?)){
2,
}"" />
<Capture Name=""1"" Span=""[10..25)"" Text=""((\w+(\s?))
{
{
2
,}
}
"" />
<Capture Name=""2"" Span=""[11..21)"" Text=""(\w+(\s?))"" />
<Capture Name=""2"" Span=""[11..21)"" Text=""(\w+(\s?))"" />
<Capture Name=""3"" Span=""[15..20)"" Text=""(\s?)"" />
<Capture Name=""3"" Span=""[15..20)"" Text=""(\s?)"" />
</Captures>
</Captures>
...
@@ -1163,7 +1163,7 @@ public void ReferenceTest17()
...
@@ -1163,7 +1163,7 @@ public void ReferenceTest17()
[
Fact
]
[
Fact
]
public
void
ReferenceTest18
()
public
void
ReferenceTest18
()
{
{
Test
(
@"@""((?'Close-Open'>)[^<>]*)+"""
,
@"<Tree>
Test
(
@"@""((?'Close-Open'>)[^<>]*)+"""
,
$
@"<Tree>
<CompilationUnit>
<CompilationUnit>
<Sequence>
<Sequence>
<OneOrMoreQuantifier>
<OneOrMoreQuantifier>
...
@@ -1207,7 +1207,7 @@ public void ReferenceTest18()
...
@@ -1207,7 +1207,7 @@ public void ReferenceTest18()
<EndOfFile />
<EndOfFile />
</CompilationUnit>
</CompilationUnit>
<Diagnostics>
<Diagnostics>
<Diagnostic Message=""
Reference to undefined group name Open
"" Span=""[20..24)"" Text=""Open"" />
<Diagnostic Message=""
{
string
.
Format
(
WorkspacesResources
.
Reference_to_undefined_group_name_0
,
"Open"
)}
"" Span=""[20..24)"" Text=""Open"" />
</Diagnostics>
</Diagnostics>
<Captures>
<Captures>
<Capture Name=""0"" Span=""[10..35)"" Text=""((?'Close-Open'>)[^<>]*)+"" />
<Capture Name=""0"" Span=""[10..35)"" Text=""((?'Close-Open'>)[^<>]*)+"" />
...
@@ -1823,7 +1823,7 @@ public void ReferenceTest30()
...
@@ -1823,7 +1823,7 @@ public void ReferenceTest30()
[
Fact
]
[
Fact
]
public
void
ReferenceTest31
()
public
void
ReferenceTest31
()
{
{
Test
(
@"@""(?'Close-Open'>)"""
,
@"<Tree>
Test
(
@"@""(?'Close-Open'>)"""
,
$
@"<Tree>
<CompilationUnit>
<CompilationUnit>
<Sequence>
<Sequence>
<BalancingGrouping>
<BalancingGrouping>
...
@@ -1845,7 +1845,7 @@ public void ReferenceTest31()
...
@@ -1845,7 +1845,7 @@ public void ReferenceTest31()
<EndOfFile />
<EndOfFile />
</CompilationUnit>
</CompilationUnit>
<Diagnostics>
<Diagnostics>
<Diagnostic Message=""
Reference to undefined group name Open
"" Span=""[19..23)"" Text=""Open"" />
<Diagnostic Message=""
{
string
.
Format
(
WorkspacesResources
.
Reference_to_undefined_group_name_0
,
"Open"
)}
"" Span=""[19..23)"" Text=""Open"" />
</Diagnostics>
</Diagnostics>
<Captures>
<Captures>
<Capture Name=""0"" Span=""[10..26)"" Text=""(?'Close-Open'>)"" />
<Capture Name=""0"" Span=""[10..26)"" Text=""(?'Close-Open'>)"" />
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录