summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2019-06-20 18:30:15 +0200
committerJan Kotas <jkotas@microsoft.com>2019-06-20 09:30:15 -0700
commitb1ea5ede9393be013477d270b3496e868b8bae20 (patch)
treed6ebaa1070d92f7775df63a49dff5b887cf64589
parent8676608cefc6555961cb24d16bbe27b013a8a8a4 (diff)
downloadcoreclr-b1ea5ede9393be013477d270b3496e868b8bae20.tar.gz
coreclr-b1ea5ede9393be013477d270b3496e868b8bae20.tar.bz2
coreclr-b1ea5ede9393be013477d270b3496e868b8bae20.zip
Remove test 366085 (#25277)
This test was checking for "Parameter name:" substring in the ArgumentNullException message. But a recent change #25185 modified that string to just "Parameter". We also have a coverage for this in corefx tests, so I am removing this test.
-rw-r--r--tests/src/baseservices/exceptions/regressions/whidbeybeta2/366085/366085.cs41
-rw-r--r--tests/src/baseservices/exceptions/regressions/whidbeybeta2/366085/366085.csproj36
2 files changed, 0 insertions, 77 deletions
diff --git a/tests/src/baseservices/exceptions/regressions/whidbeybeta2/366085/366085.cs b/tests/src/baseservices/exceptions/regressions/whidbeybeta2/366085/366085.cs
deleted file mode 100644
index 7b15c6afae..0000000000
--- a/tests/src/baseservices/exceptions/regressions/whidbeybeta2/366085/366085.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-using System;
-using System.Threading;
-
-public class MainClass
-{
- static public int Main(String[] args)
- {
- int returnCode = 99;
-
- try
- {
- Convert.FromBase64String(null);
- }
- catch (ArgumentNullException e)
- {
- Console.WriteLine("Caught ArgumentNullException");
- Console.WriteLine(e.Message);
- // the error message may be in the debug pack
- if (((e.Message.IndexOf("Value cannot be null.") >= 0 && e.Message.IndexOf("Parameter name:") >= 0) ||
- (e.Message.IndexOf("[ArgumentNull_Generic]") >= 0)))
- returnCode = 100;
- }
- catch (Exception e)
- {
- Console.WriteLine("Caught wrong Exception: " + e.Message);
- returnCode = 98;
- }
-
- if (returnCode == 100)
- Console.WriteLine("Test PASSED");
- else
- Console.WriteLine("Test FAILED");
- return returnCode;
- }
-
-}
-
-
diff --git a/tests/src/baseservices/exceptions/regressions/whidbeybeta2/366085/366085.csproj b/tests/src/baseservices/exceptions/regressions/whidbeybeta2/366085/366085.csproj
deleted file mode 100644
index 91dd208fca..0000000000
--- a/tests/src/baseservices/exceptions/regressions/whidbeybeta2/366085/366085.csproj
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
- <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <CLRTestKind>BuildAndRun</CLRTestKind>
- <CLRTestPriority>1</CLRTestPriority>
- </PropertyGroup>
- <!-- Default configurations to help VS understand the configurations -->
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- </PropertyGroup>
- <ItemGroup>
- <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
- <Visible>False</Visible>
- </CodeAnalysisDependentAssemblyPaths>
- </ItemGroup>
- <ItemGroup>
- <!-- Add Compile Object Here -->
- <Compile Include="366085.cs" />
- </ItemGroup>
- <ItemGroup>
- <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
- </ItemGroup>
- <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
- <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
- </PropertyGroup>
-</Project> \ No newline at end of file