From 6453e2ab1f18c076eab587fde429b19a404cae15 Mon Sep 17 00:00:00 2001 From: AlekseyTs Date: Fri, 18 Mar 2016 14:07:31 -0700 Subject: [PATCH] Clean-up skipped tests in Roslyn.Compilers.VisualBasic.CommandLine.UnitTests.DLL --- .../Test/CommandLine/CommandLineTests.vb | 53 ++++++++++--------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/src/Compilers/VisualBasic/Test/CommandLine/CommandLineTests.vb b/src/Compilers/VisualBasic/Test/CommandLine/CommandLineTests.vb index d45a1750e72..40c3eb162f5 100644 --- a/src/Compilers/VisualBasic/Test/CommandLine/CommandLineTests.vb +++ b/src/Compilers/VisualBasic/Test/CommandLine/CommandLineTests.vb @@ -5668,7 +5668,7 @@ Imports System Return Temp.CreateFile().WriteAllBytes(CommandLineTestResources.vbc_rsp).Path End Function - + Public Sub DefaultResponseFile() Dim defaultResponseFile = GetDefaultResponseFilePath() Assert.True(File.Exists(defaultResponseFile)) @@ -5734,7 +5734,7 @@ Imports System Assert.True(vbc.Arguments.CompilationOptions.OptionInfer) End Sub - + Public Sub DefaultResponseFileNoConfig() Dim defaultResponseFile = GetDefaultResponseFilePath() Assert.True(File.Exists(defaultResponseFile)) @@ -5909,7 +5909,7 @@ End Module End Sub - + Public Sub PreferredUILang() Dim outWriter As New StringWriter(CultureInfo.InvariantCulture) Dim exitCode = New MockVisualBasicCompiler(Nothing, _baseDirectory, {"/preferreduilang"}).Run(outWriter, Nothing) @@ -6009,7 +6009,7 @@ End Module CleanupAllGeneratedFiles(source) End Sub - + Public Sub LangVersionForOldBC36716() Dim dir = Temp.CreateDirectory() @@ -6037,33 +6037,36 @@ End Module ]]> .Value.Replace(vbLf, vbCrLf)) - Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /t:library /langversion:9 " & src.ToString(), expectedRetCode:=1, startFolder:=dir.Path) + Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /t:library /langversion:9 /preferreduilang:en " & src.ToString(), expectedRetCode:=1, startFolder:=dir.Path) AssertOutput( - ~ -error BC36716: Visual Basic 9.0 does not support auto-implemented properties. - + ~~~~~~~~~~~~~~~~~~~~~ Public Property Scen1() As Func(Of String) - ~~~~~ -error BC36716: Visual Basic 9.0 does not support implicit line continuation. - +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src.vb(12) : error BC36716: Visual Basic 9.0 does not support implicit line continuation. + + ~~~~~~~~~~~~~~~~~~~~~ + Public Property Scen1() As Func(Of String) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src.vb(14) : error BC36716: Visual Basic 9.0 does not support auto-implemented properties. - ~ -error BC36716: Visual Basic 9.0 does not support implicit line continuation. - - - ~ -error BC36716: Visual Basic 9.0 does not support auto-implemented properties. - + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Public Property Scen2() As String +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src.vb(14) : error BC36716: Visual Basic 9.0 does not support implicit line continuation. + + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Public Property Scen2() As String - ~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ]]> , output) -- GitLab