Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
64bed321
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,发现更多精彩内容 >>
未验证
提交
64bed321
编写于
1月 17, 2017
作者:
F
filipw
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
removed test file
上级
d743344a
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
16 deletion
+8
-16
src/Scripting/CSharpTest/CSharpScriptingTest.csproj
src/Scripting/CSharpTest/CSharpScriptingTest.csproj
+0
-3
src/Scripting/CSharpTest/ScriptTests.cs
src/Scripting/CSharpTest/ScriptTests.cs
+8
-12
src/Scripting/CSharpTest/TestFiles/debug.csx
src/Scripting/CSharpTest/TestFiles/debug.csx
+0
-1
未找到文件。
src/Scripting/CSharpTest/CSharpScriptingTest.csproj
浏览文件 @
64bed321
...
...
@@ -75,9 +75,6 @@
</ItemGroup>
<ItemGroup>
<None
Include=
"project.json"
/>
<None
Include=
"TestFiles\debug.csx"
>
<CopyToOutputDirectory>
Always
</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Service
Include=
"{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}"
/>
...
...
src/Scripting/CSharpTest/ScriptTests.cs
浏览文件 @
64bed321
...
...
@@ -693,9 +693,8 @@ public async Task Pdb_CodeFromFile_WithEmitDebugInformation_WithoutFileEncoding_
{
try
{
var
testFilePath
=
Path
.
Combine
(
"TestFiles"
,
"debug.csx"
);
var
opts
=
ScriptOptions
.
Default
.
WithEmitDebugInformation
(
true
).
WithFilePath
(
testFilePath
).
WithFileEncoding
(
null
);
var
script
=
await
CSharpScript
.
RunAsync
(
File
.
ReadAllText
(
testFilePath
),
opts
);
var
opts
=
ScriptOptions
.
Default
.
WithEmitDebugInformation
(
true
).
WithFilePath
(
"debug.csx"
).
WithFileEncoding
(
null
);
var
script
=
await
CSharpScript
.
RunAsync
(
"throw new System.Exception();"
,
opts
);
}
catch
(
CompilationErrorException
ex
)
{
...
...
@@ -708,9 +707,8 @@ public async Task Pdb_CodeFromFile_WithEmitDebugInformation_WithFileEncoding_Res
{
try
{
var
testFilePath
=
Path
.
Combine
(
"TestFiles"
,
"debug.csx"
);
var
opts
=
ScriptOptions
.
Default
.
WithEmitDebugInformation
(
true
).
WithFilePath
(
testFilePath
).
WithFileEncoding
(
Encoding
.
UTF8
);
var
script
=
await
CSharpScript
.
RunAsync
(
File
.
ReadAllText
(
testFilePath
),
opts
);
var
opts
=
ScriptOptions
.
Default
.
WithEmitDebugInformation
(
true
).
WithFilePath
(
"debug.csx"
).
WithFileEncoding
(
Encoding
.
UTF8
);
var
script
=
await
CSharpScript
.
RunAsync
(
"throw new System.Exception();"
,
opts
);
}
catch
(
Exception
ex
)
{
...
...
@@ -724,9 +722,8 @@ public async Task Pdb_CodeFromFile_WithoutEmitDebugInformation_WithoutFileEncodi
{
try
{
var
testFilePath
=
Path
.
Combine
(
"TestFiles"
,
"debug.csx"
);
var
opts
=
ScriptOptions
.
Default
.
WithEmitDebugInformation
(
false
).
WithFilePath
(
testFilePath
).
WithFileEncoding
(
null
);
var
script
=
await
CSharpScript
.
RunAsync
(
File
.
ReadAllText
(
testFilePath
),
opts
);
var
opts
=
ScriptOptions
.
Default
.
WithEmitDebugInformation
(
false
).
WithFilePath
(
"debug.csx"
).
WithFileEncoding
(
null
);
var
script
=
await
CSharpScript
.
RunAsync
(
"throw new System.Exception();"
,
opts
);
}
catch
(
Exception
ex
)
{
...
...
@@ -740,9 +737,8 @@ public async Task Pdb_CodeFromFile_WithoutEmitDebugInformation_WithFileEncoding_
{
try
{
var
testFilePath
=
Path
.
Combine
(
"TestFiles"
,
"debug.csx"
);
var
opts
=
ScriptOptions
.
Default
.
WithEmitDebugInformation
(
false
).
WithFilePath
(
testFilePath
).
WithFileEncoding
(
Encoding
.
UTF8
);
var
script
=
await
CSharpScript
.
RunAsync
(
File
.
ReadAllText
(
testFilePath
),
opts
);
var
opts
=
ScriptOptions
.
Default
.
WithEmitDebugInformation
(
false
).
WithFilePath
(
"debug.csx"
).
WithFileEncoding
(
Encoding
.
UTF8
);
var
script
=
await
CSharpScript
.
RunAsync
(
"throw new System.Exception();"
,
opts
);
}
catch
(
Exception
ex
)
{
...
...
src/Scripting/CSharpTest/TestFiles/debug.csx
已删除
100644 → 0
浏览文件 @
d743344a
throw new System.Exception();
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录