Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment Item support in .NET Core #565

Merged
merged 36 commits into from
Apr 2, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6fb66eb
depItemInNetcoreWithoutUT
ankit-arora12 Feb 8, 2019
16739e0
Merge branch 'master' into depItemNetCore
abhishkk Feb 8, 2019
48e4b7a
Resources file changes
ankit-arora12 Feb 12, 2019
536dfac
Merge branch 'depItemNetCore' of https://github.com/ankit-nitd/testfx…
ankit-arora12 Feb 12, 2019
e83349b
Merge branch 'depItemNetCore' of https://github.com/ankit-nitd/testfx…
ankit-arora12 Feb 12, 2019
fc9ec88
Merge branch 'depItemNetCore' of https://github.com/ankit-nitd/testfx…
ankit-arora12 Feb 12, 2019
928d8c6
Resources handling and renaming files
ankit-arora12 Feb 13, 2019
008fda4
Merge branch 'master' into depItemNetCore
ankit-arora-gh Feb 13, 2019
42d3a81
Adding UT's
ankit-arora12 Feb 19, 2019
9eeaf02
Merge branch 'depItemNetCore' of https://github.com/ankit-nitd/testfx…
ankit-arora12 Feb 19, 2019
cfa90b8
PR comments
ankit-arora12 Mar 4, 2019
f40b346
PR comment variable assign
ankit-arora12 Mar 4, 2019
707ef00
Test Cases restructuring
ankit-arora12 Mar 7, 2019
62649d5
E2E and test context
ankit-arora12 Mar 12, 2019
ead5ea5
ut fix
ankit-arora12 Mar 12, 2019
3986e88
renaming and moving files
ankit-arora12 Mar 12, 2019
a1260cd
pragma File name must match first type name
ankit-arora12 Mar 12, 2019
ec9e3ae
remove duplicate reference
ankit-arora12 Mar 12, 2019
043a51a
testing to remove duplicacy by version change
ankit-arora12 Mar 12, 2019
47788cf
fix for issue occuring only in jenkins
ankit-arora12 Mar 13, 2019
24bc0f7
fix for issue occuring only in jenkins
ankit-arora12 Mar 13, 2019
54f15b1
netcore test version upgrade and file operations separate
ankit-arora12 Mar 18, 2019
df9df0f
Merge remote-tracking branch 'upstream/master' into depItemNetCore
ankit-arora12 Mar 25, 2019
aa23712
jenkins issue with duplicate libraries
ankit-arora12 Mar 26, 2019
2108a2d
jenkins issue with duplicate libraries
ankit-arora12 Mar 26, 2019
f6d969e
Merge branch 'depItemNetCore' of https://github.com/ankit-nitd/testfx…
ankit-arora12 Mar 26, 2019
3437d95
Merge branch 'depItemNetCore' of https://github.com/ankit-nitd/testfx…
ankit-arora12 Mar 26, 2019
7fcc434
jenkins duplicacy
ankit-arora12 Mar 26, 2019
2cf41d5
Merge branch 'depItemNetCore' of https://github.com/ankit-nitd/testfx…
ankit-arora12 Mar 26, 2019
0e666ca
smoke fix post debug changes
ankit-arora12 Mar 26, 2019
b7466e2
fix spacing
ankit-arora12 Mar 27, 2019
2e4c598
pragma
ankit-arora12 Mar 27, 2019
737abcb
removing comment and pubxml
ankit-arora12 Apr 1, 2019
a7c6883
testfx conflict resolve
ankit-arora12 Apr 1, 2019
6396799
changes in accordance with timeout commit
ankit-arora12 Apr 1, 2019
2989544
Merge remote-tracking branch 'upstream/master' into depItemNetCore
ankit-arora12 Apr 2, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion src/Adapter/MSTest.CoreAdapter/MSTest.CoreAdapter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,20 @@
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="Resources\xlf\Resource.cs.xlf" />
ankit-nitd-zz marked this conversation as resolved.
Show resolved Hide resolved
<None Include="Resources\xlf\Resource.de.xlf" />
<None Include="Resources\xlf\Resource.es.xlf" />
<None Include="Resources\xlf\Resource.fr.xlf" />
<None Include="Resources\xlf\Resource.it.xlf" />
<None Include="Resources\xlf\Resource.ja.xlf" />
<None Include="Resources\xlf\Resource.ko.xlf" />
<None Include="Resources\xlf\Resource.pl.xlf" />
<None Include="Resources\xlf\Resource.pt-BR.xlf" />
<None Include="Resources\xlf\Resource.ru.xlf" />
<None Include="Resources\xlf\Resource.tr.xlf" />
<None Include="Resources\xlf\Resource.xlf" />
<None Include="Resources\xlf\Resource.zh-Hans.xlf" />
<None Include="Resources\xlf\Resource.zh-Hant.xlf" />
</ItemGroup>
<ItemGroup>
<Reference Include="Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
Expand All @@ -125,7 +139,6 @@
<EmbeddedResource Include="Resources\Resource.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resource.Designer.cs</LastGenOutput>
<CustomToolNamespace>Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter</CustomToolNamespace>
ankit-nitd-zz marked this conversation as resolved.
Show resolved Hide resolved
</EmbeddedResource>
</ItemGroup>
<Import Project="$(TestFxRoot)scripts\build\TestFx.targets" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,36 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\PlatformServices.Shared\netstandard1.3\Extensions\ns13ExceptionExtensions.cs">
<Link>Extensions\ns13ExceptionExtensions.cs</Link>
</Compile>
<Compile Include="..\PlatformServices.Shared\netstandard1.3\ns13DeploymentItem.cs">
<Link>Utilities\ns13DeploymentItem.cs</Link>
</Compile>
<Compile Include="..\PlatformServices.Shared\netstandard1.3\ns13TestRunDirectories.cs">
<Link>Deployment\ns13TestRunDirectories.cs</Link>
</Compile>
<Compile Include="..\PlatformServices.Shared\netstandard1.3\Resources\Resource.Designer.cs">
ankit-nitd-zz marked this conversation as resolved.
Show resolved Hide resolved
<Link>Resources\Resource.Designer.cs</Link>
</Compile>
<Compile Include="..\PlatformServices.Shared\netstandard1.3\Services\ns13MSTestAdapterSettings.cs">
<Link>Services\ns13MSTestAdapterSettings.cs</Link>
</Compile>
<Compile Include="..\PlatformServices.Shared\netstandard1.3\Services\ns13TestContextPropertyStrings.cs">
<Link>Services\ns13TestContextPropertyStrings.cs</Link>
ankit-nitd-zz marked this conversation as resolved.
Show resolved Hide resolved
</Compile>
<Compile Include="..\PlatformServices.Shared\netstandard1.3\Utilities\ns13DeploymentItemUtility.cs">
<Link>Utilities\ns13DeploymentItemUtility.cs</Link>
</Compile>
<Compile Include="..\PlatformServices.Shared\netstandard1.3\Utilities\ns13DeploymentUtilityBase.cs">
<Link>Utilities\ns13DeploymentUtilityBase.cs</Link>
</Compile>
<Compile Include="..\PlatformServices.Shared\netstandard1.3\Utilities\ns13FileUtility.cs">
<Link>Utilities\ns13FileUtility.cs</Link>
</Compile>
<Compile Include="..\PlatformServices.Shared\netstandard1.3\Utilities\ns13Validate.cs">
<Link>Utilities\ns13Validate.cs</Link>
</Compile>
<Compile Include="AssemblyResolver.cs" />
<Compile Include="Constants.cs" />
<Compile Include="Data\CsvDataConnection.cs" />
Expand All @@ -55,19 +85,10 @@
<Compile Include="Data\TestDataConnectionSql.cs" />
<Compile Include="Data\XmlDataConnection.cs" />
<Compile Include="Deployment\AssemblyLoadWorker.cs" />
<Compile Include="Deployment\DeploymentItem.cs" />
<Compile Include="Deployment\TestRunDirectories.cs" />
<Compile Include="Extensions\ExceptionExtensions.cs" />
<Compile Include="Friends.cs" />
<Compile Include="Services\MSTestAdapterSettings.cs" />
<Compile Include="Utilities\AppDomainWrapper.cs" />
<Compile Include="Utilities\IAppDomain.cs" />
<Compile Include="Utilities\SequentialIntPermutation.cs" />
<Compile Include="Resources\Resource.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resource.resx</DependentUpon>
</Compile>
<Compile Include="..\PlatformServices.Shared\netstandard1.3\Services\ns13TraceListener.cs">
<Link>Services\ns13TraceListener.cs</Link>
</Compile>
Expand All @@ -88,13 +109,10 @@
<Compile Include="Services\DesktopTestContextImplementation.cs" />
<Compile Include="Utilities\AppDomainUtilities.cs" />
<Compile Include="Utilities\AssemblyUtility.cs" />
<Compile Include="Utilities\DeploymentItemUtility.cs" />
<Compile Include="Utilities\DeploymentUtility.cs" />
<Compile Include="Utilities\FileUtility.cs" />
<Compile Include="Utilities\IAssemblyUtility.cs" />
<Compile Include="Utilities\RandomIntPermutation.cs" />
<Compile Include="Utilities\ReflectionUtility.cs" />
<Compile Include="Utilities\Validate.cs" />
<Compile Include="Utilities\VSInstallationUtilities.cs" />
<Compile Include="Utilities\XmlUtilities.cs" />
</ItemGroup>
Expand All @@ -116,14 +134,53 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.cs.xlf">
ankit-nitd-zz marked this conversation as resolved.
Show resolved Hide resolved
<Link>Resources\xlf\Resource.cs.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.de.xlf">
<Link>Resources\xlf\Resource.de.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.es.xlf">
<Link>Resources\xlf\Resource.es.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.fr.xlf">
<Link>Resources\xlf\Resource.fr.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.it.xlf">
<Link>Resources\xlf\Resource.it.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.ja.xlf">
<Link>Resources\xlf\Resource.ja.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.ko.xlf">
<Link>Resources\xlf\Resource.ko.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.pl.xlf">
<Link>Resources\xlf\Resource.pl.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.pt-BR.xlf">
<Link>Resources\xlf\Resource.pt-BR.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.ru.xlf">
<Link>Resources\xlf\Resource.ru.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.tr.xlf">
<Link>Resources\xlf\Resource.tr.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.xlf">
<Link>Resources\xlf\Resource.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.zh-Hans.xlf">
<Link>Resources\xlf\Resource.zh-Hans.xlf</Link>
</None>
<None Include="..\PlatformServices.Shared\netstandard1.3\Resources\xlf\Resource.zh-Hant.xlf">
<Link>Resources\xlf\Resource.zh-Hant.xlf</Link>
</None>
<None Include="packages.config" />
ankit-nitd-zz marked this conversation as resolved.
Show resolved Hide resolved
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\Resource.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resource.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
<CustomToolNamespace>Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices</CustomToolNamespace>
ankit-nitd-zz marked this conversation as resolved.
Show resolved Hide resolved
<EmbeddedResource Include="..\PlatformServices.Shared\netstandard1.3\Resources\Resource.resx">
<Link>Resources\Resource.resx</Link>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(TestFxRoot)scripts\build\TestFx.targets" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,26 +463,4 @@ private void InitializeProperties()
this.properties[TestContextPropertyStrings.TestName] = this.testMethod.Name;
}
}

#pragma warning restore SA1649 // SA1649FileNameMustMatchTypeName
#pragma warning disable SA1402 // File may only contain a single class

/// <summary>
/// Test Context Property Names.
/// </summary>
internal static class TestContextPropertyStrings
#pragma warning restore SA1402 // File may only contain a single class
{
public static readonly string TestRunDirectory = "TestRunDirectory";
public static readonly string DeploymentDirectory = "DeploymentDirectory";
public static readonly string ResultsDirectory = "ResultsDirectory";
public static readonly string TestRunResultsDirectory = "TestRunResultsDirectory";
public static readonly string TestResultsDirectory = "TestResultsDirectory";
public static readonly string TestDir = "TestDir";
public static readonly string TestDeploymentDir = "TestDeploymentDir";
public static readonly string TestLogsDir = "TestLogsDir";

public static readonly string FullyQualifiedTestClassName = "FullyQualifiedTestClassName";
public static readonly string TestName = "TestName";
}
}
Loading