File tree Expand file tree Collapse file tree
MsieJavaScriptEngine.Benchmarks
MsieJavaScriptEngine.Test.Auto
MsieJavaScriptEngine.Test.ChakraActiveScript
MsieJavaScriptEngine.Test.ChakraEdgeJsRt
MsieJavaScriptEngine.Test.ChakraIeJsRt
MsieJavaScriptEngine.Test.Classic
MsieJavaScriptEngine.Test.Common Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 <DefineConstants >$(DefineConstants);NETFULL</DefineConstants >
88 </PropertyGroup >
99
10- <PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard1.3' Or '$(TargetFramework)' == 'netstandard2.0' " >
10+ <PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard1.3' Or '$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'netstandard2.1' " >
1111 <DefineConstants >$(DefineConstants);NETSTANDARD</DefineConstants >
1212 </PropertyGroup >
1313
14- <PropertyGroup Condition =" '$(TargetFramework)' == 'netcoreapp1.0' Or '$(TargetFramework)' == 'netcoreapp2.0' " >
14+ <PropertyGroup Condition =" '$(TargetFramework)' == 'netcoreapp1.0' Or '$(TargetFramework)' == 'netcoreapp2.0' Or '$(TargetFramework)' == 'netcoreapp3.0' " >
1515 <DefineConstants >$(DefineConstants);NETCOREAPP</DefineConstants >
1616 </PropertyGroup >
1717</Project >
Original file line number Diff line number Diff line change 11{
22 "sdk" : {
3- "version" : " 2.2.109 "
3+ "version" : " 3.0.100 "
44 }
55}
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <Product >MSIE JavaScript Engine: Benchmarks</Product >
55 <VersionPrefix >3.0.3</VersionPrefix >
6- <TargetFrameworks >net461;netcoreapp2.0</TargetFrameworks >
6+ <TargetFrameworks >net461;netcoreapp2.0;netcoreapp3.0 </TargetFrameworks >
77 <OutputType >Exe</OutputType >
88 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
99 <IsPackable >false</IsPackable >
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <Product >MSIE JavaScript Engine: Tests for Auto Mode</Product >
55 <VersionPrefix >3.0.3</VersionPrefix >
6- <TargetFrameworks >net40;net451;netcoreapp1.0;netcoreapp2.0</TargetFrameworks >
6+ <TargetFrameworks >net40;net451;netcoreapp1.0;netcoreapp2.0;netcoreapp3.0 </TargetFrameworks >
77 <RuntimeFrameworkVersion Condition =" '$(TargetFramework)' == 'netcoreapp1.0' " >1.0.16</RuntimeFrameworkVersion >
88 <OutputType >Library</OutputType >
99 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
1414 <Import Project =" ../../build/common.props" />
1515
1616 <ItemGroup >
17- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.0.1 " />
17+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.2.0 " />
1818
1919 <ProjectReference Include =" ../MsieJavaScriptEngine.Test.Common/MsieJavaScriptEngine.Test.Common.csproj" />
2020 </ItemGroup >
Original file line number Diff line number Diff line change 1313 <Import Project =" ../../build/common.props" />
1414
1515 <ItemGroup >
16- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.0.1 " />
16+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.2.0 " />
1717
1818 <ProjectReference Include =" ../MsieJavaScriptEngine.Test.Common/MsieJavaScriptEngine.Test.Common.csproj" />
1919 </ItemGroup >
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <Product >MSIE JavaScript Engine: Tests for Chakra Edge JsRT Mode</Product >
55 <VersionPrefix >3.0.3</VersionPrefix >
6- <TargetFrameworks >net40;net451;netcoreapp1.0;netcoreapp2.0</TargetFrameworks >
6+ <TargetFrameworks >net40;net451;netcoreapp1.0;netcoreapp2.0;netcoreapp3.0 </TargetFrameworks >
77 <RuntimeFrameworkVersion Condition =" '$(TargetFramework)' == 'netcoreapp1.0' " >1.0.16</RuntimeFrameworkVersion >
88 <OutputType >Library</OutputType >
99 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
1414 <Import Project =" ../../build/common.props" />
1515
1616 <ItemGroup >
17- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.0.1 " />
17+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.2.0 " />
1818
1919 <ProjectReference Include =" ../MsieJavaScriptEngine.Test.Common/MsieJavaScriptEngine.Test.Common.csproj" />
2020 </ItemGroup >
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <Product >MSIE JavaScript Engine: Tests for Chakra IE JsRT Mode</Product >
55 <VersionPrefix >3.0.3</VersionPrefix >
6- <TargetFrameworks >net40;net451;netcoreapp1.0;netcoreapp2.0</TargetFrameworks >
6+ <TargetFrameworks >net40;net451;netcoreapp1.0;netcoreapp2.0;netcoreapp3.0 </TargetFrameworks >
77 <RuntimeFrameworkVersion Condition =" '$(TargetFramework)' == 'netcoreapp1.0' " >1.0.16</RuntimeFrameworkVersion >
88 <OutputType >Library</OutputType >
99 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
1414 <Import Project =" ../../build/common.props" />
1515
1616 <ItemGroup >
17- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.0.1 " />
17+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.2.0 " />
1818
1919 <ProjectReference Include =" ../MsieJavaScriptEngine.Test.Common/MsieJavaScriptEngine.Test.Common.csproj" />
2020 </ItemGroup >
Original file line number Diff line number Diff line change 1313 <Import Project =" ../../build/common.props" />
1414
1515 <ItemGroup >
16- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.0.1 " />
16+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.2.0 " />
1717
1818 <ProjectReference Include =" ../MsieJavaScriptEngine.Test.Common/MsieJavaScriptEngine.Test.Common.csproj" />
1919 </ItemGroup >
Original file line number Diff line number Diff line change 1- #if NET451 || NETCOREAPP
1+ using System ;
2+ using System . IO ;
3+ #if NETCOREAPP1_0
4+
25using Microsoft . Extensions . PlatformAbstractions ;
3- #elif NET40
4- using System ;
5- using System . Text . RegularExpressions ;
6- #else
7- #error No implementation for this target
86#endif
9- using System . IO ;
107
118namespace MsieJavaScriptEngine . Test . Common
129{
1310 public abstract class FileSystemTestsBase : TestsBase
1411 {
15- #if NET40
16- /// <summary>
17- /// Regular expression for working with the `bin` directory path
18- /// </summary>
19- private readonly Regex _binDirRegex = new Regex ( @"\\bin\\(?:Debug|Release)\\?$" , RegexOptions . IgnoreCase ) ;
20-
21- #endif
2212 private string _baseDirectoryPath ;
2313
2414
2515 protected FileSystemTestsBase ( )
2616 {
27- #if NET451 || NETCOREAPP
17+ #if NETCOREAPP1_0
2818 var appEnv = PlatformServices . Default . Application ;
29- _baseDirectoryPath = Path . Combine ( appEnv . ApplicationBasePath , "../../../../" ) ;
30- #elif NET40
31- string baseDirectoryPath = AppDomain . CurrentDomain . BaseDirectory ;
32- _baseDirectoryPath = Path . Combine ( baseDirectoryPath , "../../../../" ) ;
19+ string appDirectoryPath = appEnv . ApplicationBasePath ;
3320#else
34- #error No implementation for this target
21+ string appDirectoryPath = AppDomain . CurrentDomain . BaseDirectory ;
3522#endif
23+ _baseDirectoryPath = Path . Combine ( appDirectoryPath , "../../../../" ) ;
3624 }
3725
3826
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <Product >MSIE JavaScript Engine: Common Tests</Product >
55 <VersionPrefix >3.0.3</VersionPrefix >
6- <TargetFrameworks >net40;net451;netcoreapp1.0;netcoreapp2.0</TargetFrameworks >
6+ <TargetFrameworks >net40;net451;netcoreapp1.0;netcoreapp2.0;netcoreapp3.0 </TargetFrameworks >
77 <RuntimeFrameworkVersion Condition =" '$(TargetFramework)' == 'netcoreapp1.0' " >1.0.16</RuntimeFrameworkVersion >
88 <OutputType >Library</OutputType >
99 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
1515 <Import Project =" ../../build/strong-name-signing.props" />
1616
1717 <ItemGroup >
18- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.0.1 " />
19- <PackageReference Include =" NUnit" Version =" 3.11 .0" />
20- <PackageReference Include =" NUnit3TestAdapter" Version =" 3.13.0 " />
18+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.2.0 " />
19+ <PackageReference Include =" NUnit" Version =" 3.12 .0" />
20+ <PackageReference Include =" NUnit3TestAdapter" Version =" 3.15.1 " />
2121
2222 <ProjectReference Include =" ../../src/MsieJavaScriptEngine/MsieJavaScriptEngine.csproj" />
2323 </ItemGroup >
2626 <Reference Include =" System.Drawing" />
2727 </ItemGroup >
2828
29- <ItemGroup Condition =" '$(TargetFramework)' == 'net451' Or '$(TargetFramework)' == ' netcoreapp1.0' " >
29+ <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp1.0' " >
3030 <PackageReference Include =" Microsoft.Extensions.PlatformAbstractions" Version =" 1.0.0" />
3131 </ItemGroup >
3232
33- <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp2.0' " >
34- <PackageReference Include =" Microsoft.Extensions.PlatformAbstractions" Version =" 1.1.0" />
35- </ItemGroup >
36-
3733 <ItemGroup >
3834 <EmbeddedResource Include =" Resources/cube.js;Resources/declinationOfDays.js;Resources/declinationOfHours.js;Resources/power.js" />
3935 </ItemGroup >
You can’t perform that action at this time.
0 commit comments