提交 25202fda 编写于 作者: K Kevin_H

Delete test associated with "Won't Fix" bug (effort to keep it running would...

Delete test associated with "Won't Fix" bug (effort to keep it running would yield net negative returns) (changeset 1331314)
上级 b8696372
......@@ -250,12 +250,12 @@
<Content Include="Semantics\OverloadResolutionTestSource.vb" />
<Content Include="Semantics\PrintResultTestSource.vb" />
<EmbeddedResource Include="Binding\T_1247520.cs" />
<EmbeddedResource Include="Binding\T_1556342.cs" />
<EmbeddedResource Include="Binding\T_68086.vb" />
<EmbeddedResource Include="Resource.resx">
<CustomToolNamespace>Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources</CustomToolNamespace>
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resource.Designer.vb</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Semantics\LongTypeName.vb.txt" />
<EmbeddedResource Include="Semantics\LongTypeNameNative.vb.txt" />
......
......@@ -84,15 +84,6 @@ expectedOutput:="123")
Assert.Equal(source, result)
End Sub
<WorkItem(784211, "DevDiv")>
<WorkItem(707924, "DevDiv")>
<Fact(Skip:="784211")>
Public Sub Bug707924b()
Dim source = My.Resources.Resource.T_1556342
Dim result = Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxTree.ParseText(source).ToString()
Assert.Equal(source, result)
End Sub
' Test access to a local variable and assignment of them..
<Fact>
Public Sub LocalVariable1()
......
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.18211
' Runtime Version:4.0.30319.35317
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
......@@ -264,7 +264,9 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
End Property
'''<summary>
''' Looks up a localized string similar to Option Strict Off
''' Looks up a localized string similar to &apos; Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'''
'''Option Strict Off
'''
'''Imports System
'''
......@@ -280,14 +282,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
''' Dim [In] As Integer
''' Dim UI As UInteger
''' Dim Lo As Long
''' Dim UL As ULong
''' Dim De As Decimal
''' Dim Si As Single
''' Dim [Do] As Double
''' Dim St As String
''' Dim Ob As Object
''' Dim Tc As System.TypeCode
''' [rest of string was truncated]&quot;;.
''' D [rest of string was truncated]&quot;;.
'''</summary>
Friend Shared ReadOnly Property BinaryOperatorsTestSource1() As String
Get
......@@ -296,7 +291,9 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
End Property
'''<summary>
''' Looks up a localized string similar to Option Strict Off
''' Looks up a localized string similar to &apos; Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'''
'''Option Strict Off
'''
'''Imports System
'''
......@@ -312,14 +309,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
''' Dim [In] As Integer
''' Dim UI As UInteger
''' Dim Lo As Long
''' Dim UL As ULong
''' Dim De As Decimal
''' Dim Si As Single
''' Dim [Do] As Double
''' Dim St As String
''' Dim Ob As Object
''' Dim Tc As System.TypeCode
''' [rest of string was truncated]&quot;;.
''' D [rest of string was truncated]&quot;;.
'''</summary>
Friend Shared ReadOnly Property BinaryOperatorsTestSource2() As String
Get
......@@ -328,7 +318,9 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
End Property
'''<summary>
''' Looks up a localized string similar to Option Strict On
''' Looks up a localized string similar to &apos; Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'''
'''Option Strict On
'''
'''Imports System
'''
......@@ -347,14 +339,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
''' Ob3 = (Ob1 - Ob2)
''' Ob3 = (Ob1 * Ob2)
''' Ob3 = (Ob1 / Ob2)
''' Ob3 = (Ob1 \ Ob2)
''' Ob3 = (Ob1 Mod Ob2)
''' Ob3 = (Ob1 ^ Ob2)
''' Ob3 = (Ob1 &lt;&lt; Ob2)
''' Ob3 = (Ob1 &gt;&gt; Ob2)
''' Ob3 = (Ob1 OrElse Ob2)
''' Ob3 = (Ob1 AndAlso Ob2)
''' [rest of string was truncated]&quot;;.
''' Ob3 = (Ob1 \ [rest of string was truncated]&quot;;.
'''</summary>
Friend Shared ReadOnly Property BinaryOperatorsTestSource3() As String
Get
......@@ -363,7 +348,9 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
End Property
'''<summary>
''' Looks up a localized string similar to Imports System
''' Looks up a localized string similar to &apos; Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'''
'''Imports System
'''
'''Module Module1
'''
......@@ -381,15 +368,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
''' i8 = 1
''' i16 = 1
''' i32 = 1
''' i64 = 1
''' ui8 = 1
''' ui16 = 1
''' ui32 = 1
''' ui64 = 1
'''
''' Console.WriteLine(&quot; &lt;&lt; 0&quot;)
''' Console.WriteLine(i8 &lt;&lt; 0)
''' Console.WriteLine(i16 [rest of string was truncated]&quot;;.
''' [rest of string was truncated]&quot;;.
'''</summary>
Friend Shared ReadOnly Property BinaryOperatorsTestSource4() As String
Get
......@@ -398,7 +377,9 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
End Property
'''<summary>
''' Looks up a localized string similar to Option Strict Off
''' Looks up a localized string similar to &apos; Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'''
'''Option Strict Off
'''
'''Imports System
'''
......@@ -409,11 +390,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
''' PrintResult(&quot;False + False&quot;, False + False)
''' PrintResult(&quot;False + True&quot;, False + True)
''' PrintResult(&quot;False + System.SByte.MinValue&quot;, False + System.SByte.MinValue)
''' PrintResult(&quot;False + System.Byte.MaxValue&quot;, False + System.Byte.MaxValue)
''' PrintResult(&quot;False + -3S&quot;, False + -3S)
''' PrintResult(&quot;False + 24US&quot;, False + 24US)
''' PrintResult(&quot;False + -5I&quot;, False + -5I)
''' PrintRes [rest of string was truncated]&quot;;.
''' PrintResult(&quot;False + System.Byte.MaxValue&quot;, False + Sy [rest of string was truncated]&quot;;.
'''</summary>
Friend Shared ReadOnly Property BinaryOperatorsTestSource5() As String
Get
......@@ -499,7 +476,9 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
End Property
'''<summary>
''' Looks up a localized string similar to
''' Looks up a localized string similar to &apos; Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'''
'''
'''Imports System.Runtime.CompilerServices
'''
'''Public Class TestClass1
......@@ -515,19 +494,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
''' Shared Sub M4(x As Integer, y As TestClass1)
''' End Sub
'''
''' Shared Sub M5(x As Integer, ParamArray y() As Integer)
''' End Sub
'''
''' Shared Sub M6(x As Single)
''' End Sub
'''
''' Shared Sub M7(x As Single, y As Single)
''' End Sub
'''
''' Shared Sub M8(ByRef x As Double)
''' End Sub
'''
''' [rest of string was truncated]&quot;;.
''' Shared Sub M5(x As Integer, ParamArray y() As In [rest of string was truncated]&quot;;.
'''</summary>
Friend Shared ReadOnly Property OverloadResolutionTestSource() As String
Get
......@@ -536,7 +503,9 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
End Property
'''<summary>
''' Looks up a localized string similar to Imports System
''' Looks up a localized string similar to &apos; Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'''
'''Imports System
'''Imports System.Globalization
'''
'''Module PrintHelper
......@@ -548,10 +517,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
'''
''' Dim vType = val.GetType()
''' Dim valStr = val.ToString()
''' If vType Is GetType(DateTime) Then
''' valStr = DirectCast(val, DateTime).ToString(&quot;M/d/yyyy h:mm:ss tt&quot;, CultureInfo.InvariantCulture)
''' ElseIf vType Is GetType(Single) Then
''' valStr = Direct [rest of string was truncated]&quot;;.
''' If vType Is GetType(DateTime) The [rest of string was truncated]&quot;;.
'''</summary>
Friend Shared ReadOnly Property PrintResultTestSource() As String
Get
......@@ -560,7 +526,9 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
End Property
'''<summary>
''' Looks up a localized string similar to namespace ClassNameSpace
''' Looks up a localized string similar to // Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'''
'''namespace ClassNameSpace
'''{
''' using System;
'''
......@@ -596,27 +564,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
''' {
''' }
'''
''' public class n_Class8
''' {
''' }
'''
''' public class n_Class9
''' {
''' }
'''
''' public class n_Class10
''' {
''' }
'''
''' public class n_Class11
''' {
''' }
'''
''' public class n_Class12
''' {
''' }
'''
''' public class n_Clas [rest of string was truncated]&quot;;.
''' publi [rest of string was truncated]&quot;;.
'''</summary>
Friend Shared ReadOnly Property T_1247520() As String
Get
......@@ -625,33 +573,21 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.My.Resources
End Property
'''<summary>
''' Looks up a localized string similar to
'''using System;
'''using System.Text;
'''using System.Reflection;
'''using System.Collections;
'''using System.Collections.Generic;
'''using System.Runtime.Serialization;
'''using Microsoft.Xws.Test.Framework.Util;
'''using Microsoft.Xws.Test.Suite.Util;
'''using Microsoft.Xws.Test.Suite.Util.TypeWrappers;
'''
'''namespace Microsoft.Xws.Test.Suite.Serialization.Common.Geno
'''{
''' Looks up a localized string similar to &apos; Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'''
'''Imports Microsoft.VisualBasic
'''
'''Namespace SCOL022
''' Friend Module SCOL022mod
''' Const NL As String = Chr(13) &amp; Chr(10)
'''
'''[DataContract]
'''public class ClrType21945Dummy {public ClrType21945Dummy(){}
'''public ClrType21945Dummy(string Variation){}
'''}
''' Sub SCOL022()
''' Try
''' &apos;---------------------------------------------------------------------------------------
'''
'''//-------------- [rest of string was truncated]&quot;;.
''' dim s as string = _
''' &quot;&quot; &amp; Glob [rest of string was truncated]&quot;;.
'''</summary>
Friend Shared ReadOnly Property T_1556342() As String
Get
Return ResourceManager.GetString("T_1556342", resourceCulture)
End Get
End Property
Friend Shared ReadOnly Property T_68086() As String
Get
Return ResourceManager.GetString("T_68086", resourceCulture)
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
<root>
<!--
Microsoft ResX Schema
......@@ -198,9 +196,6 @@
<data name="T_1247520" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>binding\t_1247520.cs;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
<data name="T_1556342" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>binding\t_1556342.cs;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
<data name="T_68086" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>binding\t_68086.vb;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册