Browse Source

Upgrade test projects and add netcoreapp2.0 target

master^2
Taylor Buchanan 6 years ago
parent
commit
09bd37ef91
  1. 4
      .gitignore
  2. 12
      DotNetCore.NPOI.sln
  3. 22
      test/NPOI.OpenXml4Net/App.config
  4. 26
      test/NPOI.OpenXml4Net/ConfigurationManager.cs
  5. 143
      test/NPOI.OpenXml4Net/NPOI.OOXML4Net.Testcases.csproj
  6. 2
      test/NPOI.OpenXml4Net/POIDataSamples.cs
  7. 6
      test/NPOI.OpenXml4Net/appsettings.json
  8. 4
      test/NPOI.OpenXml4Net/packages.config
  9. 31
      test/NPOI.OpenXmlFormats/App.config
  10. 254
      test/NPOI.OpenXmlFormats/NPOI.OOXML.TestCases.csproj
  11. 38
      test/NPOI.OpenXmlFormats/Properties/Settings.Designer.cs
  12. 9
      test/NPOI.OpenXmlFormats/Properties/Settings.settings
  13. 6
      test/NPOI.OpenXmlFormats/appsettings.json
  14. 5
      test/NPOI.OpenXmlFormats/packages.config
  15. 29
      test/NPOI.TestCases/App.config
  16. 26
      test/NPOI.TestCases/ConfigurationManager.cs
  17. 680
      test/NPOI.TestCases/NPOI.TestCases.csproj
  18. 35
      test/NPOI.TestCases/Properties/AssemblyInfo.cs
  19. 38
      test/NPOI.TestCases/Properties/Settings.Designer.cs
  20. 9
      test/NPOI.TestCases/Properties/Settings.settings
  21. 5
      test/NPOI.TestCases/SS/Util/NumberComparingSpreadsheetGenerator.cs
  22. 4
      test/NPOI.TestCases/SS/Util/NumberRenderingSpreadsheetGenerator.cs
  23. 12
      test/NPOI.TestCases/appsettings.json
  24. 4
      test/NPOI.TestCases/packages.config

4
.gitignore

@ -38,6 +38,9 @@ bld/
[Bb]in/
[Oo]bj/
# KDiff3
*.orig
# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
@ -170,6 +173,7 @@ publish/
# NuGet v3's project.json files produces more ignoreable files
*.nuget.props
*.nuget.targets
tools/
# Microsoft Azure Build Output
csx/

12
DotNetCore.NPOI.sln

@ -84,8 +84,8 @@ Global
{4D994508-5489-4342-9EE8-6FDDB0763E66}.Release|Any CPU.Build.0 = Release|Any CPU
{F5A6FF78-2C51-44E8-9E31-CD1B3EF784E9}..net 2 Release|Any CPU.ActiveCfg = Release|Any CPU
{F5A6FF78-2C51-44E8-9E31-CD1B3EF784E9}..net 2 Release|Any CPU.Build.0 = Release|Any CPU
{F5A6FF78-2C51-44E8-9E31-CD1B3EF784E9}..net 4 Release|Any CPU.ActiveCfg = .net 4 Release|Any CPU
{F5A6FF78-2C51-44E8-9E31-CD1B3EF784E9}..net 4 Release|Any CPU.Build.0 = .net 4 Release|Any CPU
{F5A6FF78-2C51-44E8-9E31-CD1B3EF784E9}..net 4 Release|Any CPU.ActiveCfg = Release|Any CPU
{F5A6FF78-2C51-44E8-9E31-CD1B3EF784E9}..net 4 Release|Any CPU.Build.0 = Release|Any CPU
{F5A6FF78-2C51-44E8-9E31-CD1B3EF784E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F5A6FF78-2C51-44E8-9E31-CD1B3EF784E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F5A6FF78-2C51-44E8-9E31-CD1B3EF784E9}.NPOI.Tools|Any CPU.ActiveCfg = Release|Any CPU
@ -98,14 +98,14 @@ Global
{A920C2BA-8BFD-4F54-8401-7D1C0730F1F0}..net 4 Release|Any CPU.Build.0 = Release|Any CPU
{A920C2BA-8BFD-4F54-8401-7D1C0730F1F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A920C2BA-8BFD-4F54-8401-7D1C0730F1F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A920C2BA-8BFD-4F54-8401-7D1C0730F1F0}.NPOI.Tools|Any CPU.ActiveCfg = NPOI.Tools|Any CPU
{A920C2BA-8BFD-4F54-8401-7D1C0730F1F0}.NPOI.Tools|Any CPU.Build.0 = NPOI.Tools|Any CPU
{A920C2BA-8BFD-4F54-8401-7D1C0730F1F0}.NPOI.Tools|Any CPU.ActiveCfg = Debug|Any CPU
{A920C2BA-8BFD-4F54-8401-7D1C0730F1F0}.NPOI.Tools|Any CPU.Build.0 = Debug|Any CPU
{A920C2BA-8BFD-4F54-8401-7D1C0730F1F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A920C2BA-8BFD-4F54-8401-7D1C0730F1F0}.Release|Any CPU.Build.0 = Release|Any CPU
{0BF8C464-8779-43CF-AD7A-B1109A86EAAE}..net 2 Release|Any CPU.ActiveCfg = Release|Any CPU
{0BF8C464-8779-43CF-AD7A-B1109A86EAAE}..net 2 Release|Any CPU.Build.0 = Release|Any CPU
{0BF8C464-8779-43CF-AD7A-B1109A86EAAE}..net 4 Release|Any CPU.ActiveCfg = .net 4 Release|Any CPU
{0BF8C464-8779-43CF-AD7A-B1109A86EAAE}..net 4 Release|Any CPU.Build.0 = .net 4 Release|Any CPU
{0BF8C464-8779-43CF-AD7A-B1109A86EAAE}..net 4 Release|Any CPU.ActiveCfg = Release|Any CPU
{0BF8C464-8779-43CF-AD7A-B1109A86EAAE}..net 4 Release|Any CPU.Build.0 = Release|Any CPU
{0BF8C464-8779-43CF-AD7A-B1109A86EAAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0BF8C464-8779-43CF-AD7A-B1109A86EAAE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0BF8C464-8779-43CF-AD7A-B1109A86EAAE}.NPOI.Tools|Any CPU.ActiveCfg = Release|Any CPU

22
test/NPOI.OpenXml4Net/App.config

@ -1,22 +0,0 @@
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="POI.testdata.path" value="..\..\..\test\test-data" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
</configuration>

26
test/NPOI.OpenXml4Net/ConfigurationManager.cs

@ -0,0 +1,26 @@
using Microsoft.Extensions.Configuration;
using System.Collections.Specialized;
using System.Linq;
namespace System.Configuration
{
// TODO: Replace this shim with actual Options class
public static class ConfigurationManager
{
public static NameValueCollection AppSettings { get; }
static ConfigurationManager()
{
AppSettings = new ConfigurationBuilder()
.AddJsonFile("appsettings.json", false)
.Build()
.GetSection("AppSettings")
.GetChildren()
.Aggregate(new NameValueCollection(), (acc, cur) =>
{
acc.Add(cur.Key, cur.Value);
return acc;
});
}
}
}

143
test/NPOI.OpenXml4Net/NPOI.OOXML4Net.Testcases.csproj

@ -1,137 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\NUnit.3.10.1\build\NUnit.props" Condition="Exists('..\..\packages\NUnit.3.10.1\build\NUnit.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F5A6FF78-2C51-44E8-9E31-CD1B3EF784E9}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
<RootNamespace>OOXML4Net.Testcases</RootNamespace>
<AssemblyName>OOXML4Net.Testcases</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation />
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\solution\Lib\.net4\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
<CodeAnalysisIgnoreGeneratedCode>false</CodeAnalysisIgnoreGeneratedCode>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\solution\Lib\.net4\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == '.net 4 Release|AnyCPU'">
<OutputPath>..\..\solution\Lib\.net4\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework, Version=3.10.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
<HintPath>..\..\packages\NUnit.3.10.1\lib\net45\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="OPC\Compliance\TestOPCComplianceCoreProperties.cs" />
<Compile Include="OPC\Compliance\TestOPCCompliancePackageModel.cs" />
<Compile Include="OPC\Compliance\TestOPCCompliancePartName.cs" />
<Compile Include="OpenXML4NetTestDataSamples.cs" />
<Compile Include="POIDataSamples.cs" />
<Compile Include="OPC\Internal\TestContentTypeManager.cs" />
<Compile Include="TestContentType.cs" />
<Compile Include="TestFileHelper.cs" />
<Compile Include="TestListParts.cs" />
<Compile Include="TestPackageCoreProperties.cs" />
<Compile Include="TestPackagePartName.cs" />
<Compile Include="TestPackageThumbnail.cs" />
<Compile Include="TestPackagingURIHelper.cs" />
<Compile Include="TestRelationships.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config">
<SubType>Designer</SubType>
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.1" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="2.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="NUnit" Version="3.10.1" />
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\NPOI.OOXML\NPOI.OOXML.csproj">
<Project>{4d994508-5489-4342-9ee8-6fddb0763e66}</Project>
<Name>NPOI.OOXML</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\NPOI.OpenXml4Net\NPOI.OpenXml4Net.csproj">
<Project>{b6aae93b-44b0-41a0-b478-0d72c115a40c}</Project>
<Name>NPOI.OpenXml4Net</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\NPOI.OpenXmlFormats\NPOI.OpenXmlFormats.csproj">
<Project>{6452e3fd-ef04-4136-a04c-896b7c96d1cd}</Project>
<Name>NPOI.OpenXmlFormats</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\NPOI\NPOI.csproj">
<Project>{2fb384cb-1041-47b5-9c0d-d6e9e5b4d4c0}</Project>
<Name>NPOI</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\NPOI.OOXML\NPOI.OOXML.csproj" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\NUnit.3.10.1\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\NUnit.3.10.1\build\NUnit.props'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>

2
test/NPOI.OpenXml4Net/POIDataSamples.cs

@ -113,7 +113,7 @@ namespace TestCases
private void Initialise()
{
String dataDirName = System.Configuration.ConfigurationSettings.AppSettings[TEST_PROPERTY];
String dataDirName = System.Configuration.ConfigurationManager.AppSettings[TEST_PROPERTY];
if (dataDirName == null)
throw new Exception("Must set system property '"

6
test/NPOI.OpenXml4Net/appsettings.json

@ -0,0 +1,6 @@
{
"AppSettings": {
"POI.testdata.path": "..\\..\\..\\..\\test-data",
"ClientSettingsProvider.ServiceUri": ""
}
}

4
test/NPOI.OpenXml4Net/packages.config

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="3.10.1" targetFramework="net461" />
</packages>

31
test/NPOI.OpenXmlFormats/App.config

@ -1,40 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="ooxml.Testcases.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<appSettings>
<add key="POI.testdata.path" value="..\..\..\test\test-data" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<system.diagnostics>
<switches>
<!-- Store the Source file of the [De-]Serialization process accessible for Debugging. -->
<add name="XmlSerialization.Compilation" value="1" />
</switches>
</system.diagnostics>
<userSettings>
<ooxml.Testcases.Properties.Settings>
<setting name="TEST_PROPERTY" serializeAs="String">
<value>..\..\..\..\test-data</value>
</setting>
</ooxml.Testcases.Properties.Settings>
</userSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
</configuration>

254
test/NPOI.OpenXmlFormats/NPOI.OOXML.TestCases.csproj

@ -1,232 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\NUnit.3.10.1\build\NUnit.props" Condition="Exists('..\..\packages\NUnit.3.10.1\build\NUnit.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{0BF8C464-8779-43CF-AD7A-B1109A86EAAE}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
<RootNamespace>NPOI.OOXML.Testcases</RootNamespace>
<AssemblyName>NPOI.OOXML.Testcases</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OldToolsVersion>3.5</OldToolsVersion>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<SignAssembly>false</SignAssembly>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\solution\Lib\.net4\</OutputPath>
<DefineConstants>DEBUG;TRACE;HIDE_UNREACHABLE_CODE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisIgnoreGeneratedCode>false</CodeAnalysisIgnoreGeneratedCode>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\solution\Lib\.net4\</OutputPath>
<DefineConstants>TRACE;HIDE_UNREACHABLE_CODE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == '.net 4 Release|AnyCPU'">
<OutputPath>..\..\solution\Lib\.net4\</OutputPath>
<DefineConstants>TRACE;HIDE_UNREACHABLE_CODE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework, Version=3.10.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
<HintPath>..\..\packages\NUnit.3.10.1\lib\net45\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Drawing" />
<Reference Include="System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Drawing.Common.4.5.0\lib\net461\System.Drawing.Common.dll</HintPath>
</Reference>
<Reference Include="System.Xml" />
<Compile Remove="OpenXmlFormats\**\*.cs" />
<Compile Remove="XSSF\Extractor\TestXSSFEventBasedExcelExtractor.cs" />
<Compile Remove="XSSF\Extractor\TestXSSFEventBasedExcelExtractorUsingFactory.cs" />
<Compile Remove="XSSF\Extractor\TestXSSFExcelExtractorUsingFactory.cs" />
<Compile Remove="XSSF\Model\TestThemesTable.cs" />
<Compile Remove="XSSF\UserModel\Charts\TestXSSFNumberCache.cs" />
<Compile Remove="XSSF\TestSheetProtection.cs" />
<Compile Remove="TestXMLPropertiesTextExtractor.cs" />
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
<Compile Include="SS\Converter\TestExcelToHtmlConverterSuite.cs" />
<Compile Include="SS\Format\TestCellFormatPart.cs" />
<Compile Include="SS\Formula\Eval\TestXSSFCircularReferences.cs" />
<Compile Include="SS\Formula\Functions\TestProper.cs" />
<Compile Include="SS\TestWorkbookFactory.cs" />
<Compile Include="SS\UserModel\BaseTestXCell.cs" />
<Compile Include="TestDetectAsOOXML.cs" />
<Compile Include="TestEmbeded.cs" />
<Compile Include="TestPOIXMLDocument.cs" />
<Compile Include="TestPOIXMLProperties.cs" />
<Compile Include="Util\TestIdentifierManager.cs" />
<Compile Include="XSSF\Extractor\TestXSSFExcelExtractor.cs" />
<Compile Include="XSSF\Extractor\TestXSSFExportToXML.cs" />
<Compile Include="XSSF\IO\TestLoadSaveXSSF.cs" />
<Compile Include="XSSF\Model\TestCalculationChain.cs" />
<Compile Include="XSSF\Model\TestCommentsTable.cs" />
<Compile Include="XSSF\Model\TestExternalLinksTable.cs" />
<Compile Include="XSSF\Model\TestMapInfo.cs" />
<Compile Include="XSSF\Model\TestSharedStringsTable.cs" />
<Compile Include="XSSF\Model\TestStylesTable.cs" />
<Compile Include="XSSF\UserModel\Charts\TestXSSFCategoryAxis.cs" />
<Compile Include="XSSF\UserModel\Charts\TestXSSFChartAxis.cs" />
<Compile Include="XSSF\UserModel\Charts\TestXSSFChartLegend.cs" />
<Compile Include="XSSF\UserModel\Charts\TestXSSFLineChartData.cs" />
<Compile Include="XSSF\UserModel\Charts\TestXSSFManualLayout.cs" />
<Compile Include="XSSF\UserModel\Charts\TestXSSFScatterChartData.cs" />
<Compile Include="XSSF\UserModel\Charts\TestXSSFValueAxis.cs" />
<Compile Include="XSSF\UserModel\TestFormulaEvaluatorOnXSSF.cs" />
<Compile Include="XSSF\UserModel\TestMissingWorkbookOnXSSF.cs" />
<Compile Include="XSSF\UserModel\TestMultiSheetFormulaEvaluatorOnXSSF.cs" />
<Compile Include="XSSF\UserModel\Extensions\TestXSSFBorder.cs" />
<Compile Include="XSSF\UserModel\Extensions\TestXSSFCellFill.cs" />
<Compile Include="XSSF\UserModel\Helpers\TestColumnHelper.cs" />
<Compile Include="XSSF\UserModel\Helpers\TestHeaderFooterHelper.cs" />
<Compile Include="XSSF\UserModel\TestSheetHiding.cs" />
<Compile Include="XSSF\UserModel\TestXSSFCell.cs" />
<Compile Include="XSSF\UserModel\TestXSSFCellStyle.cs" />
<Compile Include="XSSF\UserModel\TestXSSFChart.cs" />
<Compile Include="XSSF\UserModel\TestXSSFChartSheet.cs" />
<Compile Include="XSSF\UserModel\TestXSSFColGrouping.cs" />
<Compile Include="XSSF\UserModel\TestXSSFColor.cs" />
<Compile Include="XSSF\UserModel\TestXSSFComment.cs" />
<Compile Include="XSSF\UserModel\TestXSSFDataFormat.cs" />
<Compile Include="XSSF\UserModel\TestXSSFDataValidation.cs" />
<Compile Include="XSSF\UserModel\TestXSSFDrawing.cs" />
<Compile Include="XSSF\UserModel\TestXSSFExternalFunctions.cs" />
<Compile Include="XSSF\UserModel\TestXSSFFont.cs" />
<Compile Include="XSSF\UserModel\TestXSSFFormulaEvaluation.cs" />
<Compile Include="XSSF\UserModel\TestXSSFFormulaParser.cs" />
<Compile Include="XSSF\UserModel\TestXSSFHeaderFooter.cs" />
<Compile Include="XSSF\UserModel\TestXSSFHyperlink.cs" />
<Compile Include="XSSF\UserModel\TestXSSFName.cs" />
<Compile Include="XSSF\UserModel\TestXSSFPicture.cs" />
<Compile Include="XSSF\UserModel\TestXSSFPictureData.cs" />
<Compile Include="XSSF\UserModel\TestXSSFPivotTable.cs" />
<Compile Include="XSSF\UserModel\TestXSSFPrintSetup.cs" />
<Compile Include="XSSF\UserModel\TestXSSFRichTextString.cs" />
<Compile Include="XSSF\UserModel\TestXSSFRow.cs" />
<Compile Include="XSSF\UserModel\TestXSSFSheet.cs" />
<Compile Include="XSSF\UserModel\TestXSSFSheetAutosizeColumn.cs" />
<Compile Include="XSSF\UserModel\TestXSSFSheetRowGrouping.cs" />
<Compile Include="XSSF\UserModel\TestXSSFSheetShiftRows.cs" />
<Compile Include="XSSF\UserModel\TestXSSFSheetUpdateArrayFormulas.cs" />
<Compile Include="XSSF\UserModel\TestXSSFSimpleShape.cs" />
<Compile Include="XSSF\UserModel\TestXSSFTable.cs" />
<Compile Include="XSSF\UserModel\TestXSSFTextParagraph.cs" />
<Compile Include="XSSF\UserModel\TestXSSFTextRun.cs" />
<Compile Include="XSSF\UserModel\TestXSSFVMLDrawing.cs" />
<Compile Include="XSSF\UserModel\TestXSSFWorkbook.cs" />
<Compile Include="XSSF\Util\TestCTColComparator.cs" />
<Compile Include="XSSF\Util\TestEvilUnclosedBRFixingInputStream.cs" />
<Compile Include="XSSF\Util\TestNumericRanges.cs" />
<Compile Include="XSSF\XSSFITestDataProvider.cs" />
<Compile Include="XSSF\XSSFTestDataSamples.cs" />
<Compile Include="XWPF\Extractor\TestExternalEntities.cs" />
<Compile Include="XWPF\Extractor\TestXWPFWordExtractor.cs" />
<Compile Include="XWPF\Model\TestXWPFDecorators.cs" />
<Compile Include="XWPF\Model\TestXWPFHeaderFooterPolicy.cs" />
<Compile Include="XWPF\TestAllExtendedProperties.cs" />
<Compile Include="XWPF\TestDocumentProtection.cs" />
<Compile Include="XWPF\TestPackageCorePropertiesGetKeywords.cs" />
<Compile Include="XWPF\TestXWPFBugs.cs" />
<Compile Include="XWPF\UserModel\TestXWPFBugs.cs" />
<Compile Include="XWPF\UserModel\TestXWPFDocument.cs" />
<Compile Include="XWPF\UserModel\TestXWPFFootnotes.cs" />
<Compile Include="XWPF\UserModel\TestXWPFHeader.cs" />
<Compile Include="XWPF\UserModel\TestXWPFHeadings.cs" />
<Compile Include="XWPF\UserModel\TestXWPFNumbering.cs" />
<Compile Include="XWPF\UserModel\TestXWPFParagraph.cs" />
<Compile Include="XWPF\UserModel\TestXWPFPictureData.cs" />
<Compile Include="XWPF\UserModel\TestXWPFRun.cs" />
<Compile Include="XWPF\UserModel\TestXWPFSmartTag.cs" />
<Compile Include="XWPF\UserModel\TestXWPFStyles.cs" />
<Compile Include="XWPF\UserModel\TestXWPFTable.cs" />
<Compile Include="XWPF\UserModel\TestXWPFTableCell.cs" />
<Compile Include="XWPF\UserModel\TestXWPFTableRow.cs" />
<Compile Include="XWPF\XWPFTestDataSamples.cs" />
<Folder Remove="OpenXmlFormats" />
<None Remove="XSSF\Extractor\TestXSSFEventBasedExcelExtractorUsingFactory.cs" />
<None Remove="XSSF\Extractor\TestXSSFEventBasedExcelExtractor.cs" />
<None Remove="XSSF\Extractor\TestXSSFExcelExtractorUsingFactory.cs" />
<None Remove="XSSF\Model\TestThemesTable.cs" />
<None Remove="XSSF\UserModel\Charts\TestXSSFNumberCache.cs" />
<None Remove="XSSF\TestSheetProtection.cs" />
<None Remove="TestXMLPropertiesTextExtractor.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config">
<SubType>Designer</SubType>
</None>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="NUnit" Version="3.10.1" />
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\NPOI.OOXML\NPOI.OOXML.csproj">
<Project>{4d994508-5489-4342-9ee8-6fddb0763e66}</Project>
<Name>NPOI.OOXML</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\NPOI.OpenXml4Net\NPOI.OpenXml4Net.csproj">
<Project>{b6aae93b-44b0-41a0-b478-0d72c115a40c}</Project>
<Name>NPOI.OpenXml4Net</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\NPOI.OpenXmlFormats\NPOI.OpenXmlFormats.csproj">
<Project>{6452e3fd-ef04-4136-a04c-896b7c96d1cd}</Project>
<Name>NPOI.OpenXmlFormats</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\NPOI\NPOI.csproj">
<Project>{2fb384cb-1041-47b5-9c0d-d6e9e5b4d4c0}</Project>
<Name>NPOI</Name>
</ProjectReference>
<ProjectReference Include="..\NPOI.TestCases\NPOI.TestCases.csproj">
<Project>{a920c2ba-8bfd-4f54-8401-7d1c0730f1f0}</Project>
<Name>NPOI.TestCases</Name>
</ProjectReference>
<ProjectReference Include="..\..\src\NPOI.OOXML\NPOI.OOXML.csproj" />
<ProjectReference Include="..\NPOI.TestCases\NPOI.TestCases.csproj" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\NUnit.3.10.1\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\NUnit.3.10.1\build\NUnit.props'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>

38
test/NPOI.OpenXmlFormats/Properties/Settings.Designer.cs

@ -1,38 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace NPOI.OOXML.Testcases.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.3.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("..\\..\\..\\test-data")]
public string TEST_PROPERTY {
get {
return ((string)(this["TEST_PROPERTY"]));
}
set {
this["TEST_PROPERTY"] = value;
}
}
}
}

9
test/NPOI.OpenXmlFormats/Properties/Settings.settings

@ -1,9 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="ooxml.Testcases.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="TEST_PROPERTY" Type="System.String" Scope="User">
<Value Profile="(Default)">..\..\..\test-data</Value>
</Setting>
</Settings>
</SettingsFile>

6
test/NPOI.OpenXmlFormats/appsettings.json

@ -0,0 +1,6 @@
{
"AppSettings": {
"POI.testdata.path": "..\\..\\..\\..\\test-data",
"ClientSettingsProvider.ServiceUri": ""
}
}

5
test/NPOI.OpenXmlFormats/packages.config

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="3.10.1" targetFramework="net461" />
<package id="System.Drawing.Common" version="4.5.0" targetFramework="net461" />
</packages>

29
test/NPOI.TestCases/App.config

@ -1,29 +0,0 @@
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="test.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<appSettings>
<!-- Default POILogger class defined in the assembly
if it is not set, NPOI.Util.NullLogger will be used
-->
<add key="loggername" value="test.Util.DummyPOILogger,NPOI.test"/>
<add key="HSSF.testdata.path" value="..\..\..\test\test-data\hssf"/>
<add key="POIFS.testdata.path" value="..\..\..\test\test-data\poifs"/>
<add key="POI.testdata.path" value="..\..\..\test\test-data"/>
<add key="java.io.tmpdir" value="..\..\..\test\test-data\"/>
<add key="poi.keep.tmp.files" value="..\..\..\test\test-data\"/>
<add key="font.metrics.filename" value="..\..\..\test\test-data\font_metrics.properties"/>
<add key="escher.data.path" value="..\..\..\test\test-data\ddf\"/>
</appSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup><userSettings>
<test.Properties.Settings>
<setting name="TEST_PROPERTY" serializeAs="String">
<value>..\..\..\test-data</value>
</setting>
</test.Properties.Settings>
</userSettings>
</configuration>

26
test/NPOI.TestCases/ConfigurationManager.cs

@ -0,0 +1,26 @@
using Microsoft.Extensions.Configuration;
using System.Collections.Specialized;
using System.Linq;
namespace System.Configuration
{
// TODO: Replace this shim with actual Options class
public static class ConfigurationManager
{
public static NameValueCollection AppSettings { get; }
static ConfigurationManager()
{
AppSettings = new ConfigurationBuilder()
.AddJsonFile("appsettings.json", false)
.Build()
.GetSection("AppSettings")
.GetChildren()
.Aggregate(new NameValueCollection(), (acc, cur) =>
{
acc.Add(cur.Key, cur.Value);
return acc;
});
}
}
}

680
test/NPOI.TestCases/NPOI.TestCases.csproj

@ -1,630 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\NUnit.3.10.1\build\NUnit.props" Condition="Exists('..\..\packages\NUnit.3.10.1\build\NUnit.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{A920C2BA-8BFD-4F54-8401-7D1C0730F1F0}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
<RootNamespace>TestCases</RootNamespace>
<AssemblyName>NPOI.TestCases</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SignAssembly>false</SignAssembly>
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation />
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<IsPackable>false</IsPackable>
<DefineConstants>$(DefineConstants);HIDE_UNREACHABLE_CODE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\solution\Lib\.net4\</OutputPath>
<DefineConstants>DEBUG;TRACE;HIDE_UNREACHABLE_CODE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\solution\Lib\.net4\</OutputPath>
<DefineConstants>TRACE;HIDE_UNREACHABLE_CODE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'NPOI.Tools|AnyCPU' ">
<OutputPath>bin\NPOI.Tools\</OutputPath>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework, Version=3.10.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
<HintPath>..\..\packages\NUnit.3.10.1\lib\net45\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.Composition" />
<Reference Include="System.Configuration" />
<Reference Include="System.Configuration.ConfigurationManager, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Configuration.ConfigurationManager.4.4.0\lib\net461\System.Configuration.ConfigurationManager.dll</HintPath>
</Reference>
<Reference Include="System.Drawing" />
</ItemGroup>
<ItemGroup>
<Compile Include="DDF\TestEscherDump.cs" />
<Compile Include="HPSF\Basic\TestClassID.cs" />
<Compile Include="HPSF\Basic\TestHPSFBugs.cs" />
<Compile Include="HPSF\Extractor\TestHPSFPropertiesExtractor.cs" />
<Compile Include="HPSF\TestVariantSupport.cs" />
<Compile Include="HSSF\EventModel\TestAbortableListener.cs" />
<Compile Include="HSSF\Extractor\TestOldExcelExtractor.cs" />
<Compile Include="HSSF\Model\HSSFTestModelHelper.cs" />
<Compile Include="HSSF\Model\TestDrawingAggregate.cs" />
<Compile Include="HSSF\Model\TestDrawingShapes.cs" />
<Compile Include="HSSF\Model\TestEscherRecordFactory.cs" />
<Compile Include="HSSF\Model\TestHSSFAnchor.cs" />
<Compile Include="HSSF\Record\Aggregates\Chart\TestChartSheetAggregate.cs" />
<Compile Include="HSSF\Record\Chart\TestAxcExtRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestAxesUsedRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestAxisLineRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestBRAIRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestCatSerRangeRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestDefaultTextRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestFontXRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestSerToCrtRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestShtPropsRecord.cs" />
<Compile Include="HSSF\Record\TestDConRefRecord.cs" />
<Compile Include="HSSF\Record\TestPLVRecord.cs" />
<Compile Include="HSSF\Record\TestUnicodeString.cs" />
<Compile Include="HSSF\UserModel\TestComment.cs" />
<Compile Include="HSSF\UserModel\TestEmbeddedObjects.cs" />
<Compile Include="HSSF\UserModel\TestExternalReferenceChange.cs" />
<Compile Include="HSSF\UserModel\TestHSSFComment.cs" />
<Compile Include="HSSF\UserModel\TestPatriarch.cs" />
<Compile Include="HSSF\UserModel\TestPolygon.cs" />
<Compile Include="HSSF\UserModel\TestShapeGroup.cs" />
<Compile Include="HSSF\UserModel\TestText.cs" />
<Compile Include="HSSF\UserModel\TestCopySheet.cs" />
<Compile Include="HSSF\Util\TestRangeAddress.cs" />
<Compile Include="POIFS\EventFileSystem\Listener.cs" />
<Compile Include="POIFS\EventFileSystem\TestPOIFSReaderRegistry.cs" />
<Compile Include="POIFS\FileSystem\ReaderWriter.cs" />
<Compile Include="POIFS\FileSystem\TestEntryUtils.cs" />
<Compile Include="POIFS\FileSystem\TestFileSystemBugs.cs" />
<Compile Include="POIFS\FileSystem\TestFilteringDirectoryNode.cs" />
<Compile Include="POIFS\FileSystem\TestNPOIFSFileSystem.cs" />
<Compile Include="POIFS\FileSystem\TestNPOIFSMiniStore.cs" />
<Compile Include="POIFS\FileSystem\TestNPOIFSStream.cs" />
<Compile Include="POIFS\FileSystem\TestOle10Native.cs" />
<Compile Include="POIFS\NIO\TestDataSource.cs" />
<Compile Include="POIFS\Storage\LocalProperty.cs" />
<Compile Include="POIFS\Storage\RawDataUtil.cs" />
<Compile Include="POIFS\Storage\TestBATBlock.cs" />
<Compile Include="POIFS\Storage\TestBlockListImpl.cs" />
<Compile Include="POIFS\Storage\TestHeaderBlockReading.cs" />
<Compile Include="POIFS\Storage\TestHeaderBlockWriting.cs" />
<Compile Include="POITestCase.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SS\Formula\Atp\TestDateParser.cs" />
<Compile Include="SS\Formula\Atp\TestIfError.cs" />
<Compile Include="SS\Formula\Atp\TestNetworkdaysFunction.cs" />
<Compile Include="SS\Formula\Atp\TestWorkdayCalculator.cs" />
<Compile Include="SS\Formula\Atp\TestWorkdayFunction.cs" />
<Compile Include="SS\Formula\Eval\BaseTestCircularReferences.cs" />
<Compile Include="SS\Formula\Eval\TestHSSFCircularReferences.cs" />
<Compile Include="SS\Formula\Eval\TestMultiSheetEval.cs" />
<Compile Include="SS\Formula\Functions\CountifsTests.cs" />
<Compile Include="SS\Formula\Functions\RefValueImplementation.cs" />
<Compile Include="SS\Formula\Functions\TestBin2Dec.cs" />
<Compile Include="SS\Formula\Functions\TestCode.cs" />
<Compile Include="SS\Formula\Functions\TestCodeFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestComplex.cs" />
<Compile Include="SS\Formula\Functions\TestComplexFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestDec2Bin.cs" />
<Compile Include="SS\Formula\Functions\TestDec2Hex.cs" />
<Compile Include="SS\Formula\Functions\TestDelta.cs" />
<Compile Include="SS\Formula\Functions\TestDeltaFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestDGetFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestDStarFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestEDate.cs" />
<Compile Include="SS\Formula\Functions\BaseTestFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestEOMonth.cs" />
<Compile Include="SS\Formula\Functions\TestFactDoubleFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestFixed.cs" />
<Compile Include="SS\Formula\Functions\TestFixedFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestHex2Dec.cs" />
<Compile Include="SS\Formula\Functions\TestImaginaryFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestImRealFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestIndirectFunctionFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestIntercept.cs" />
<Compile Include="SS\Formula\Functions\TestIPMT.cs" />
<Compile Include="SS\Formula\Functions\TestLogicalFunction.cs" />
<Compile Include="SS\Formula\Functions\TestMatchFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestMirr.cs" />
<Compile Include="SS\Formula\Functions\TestOct2Dec.cs" />
<Compile Include="SS\Formula\Functions\TestPercentile.cs" />
<Compile Include="SS\Formula\Functions\TestPPMT.cs" />
<Compile Include="SS\Formula\Functions\TestQuotient.cs" />
<Compile Include="SS\Formula\Functions\TestQuotientFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestRank.cs" />
<Compile Include="SS\Formula\Functions\TestReptFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestRomanFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestSlope.cs" />
<Compile Include="SS\Formula\Functions\TestSumifs.cs" />
<Compile Include="SS\Formula\Functions\TestWeekNumFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestWeekNumFunctionsFromSpreadsheet2013.cs" />
<Compile Include="SS\Formula\TestFunctionRegistry.cs" />
<Compile Include="SS\Formula\TestMissingWorkbook.cs" />
<Compile Include="SS\UserModel\Charts\TestDataSources.cs" />
<Compile Include="SS\UserModel\TestFractionFormat.cs" />
<Compile Include="SS\Util\TestSheetUtil.cs" />
<Compile Include="Util\TestBitField.cs" />
<Compile Include="Util\TestByteField.cs" />
<Compile Include="Util\TestHexDump.cs" />
<Compile Include="Util\TestIntegerField.cs" />
<Compile Include="Util\TestLittleEndian.cs" />
<Compile Include="Util\TestLongField.cs" />
<Compile Include="Util\TestPOILogger.cs" />
<Compile Include="Util\TestPOILogFactory.cs" />
<Compile Include="Util\TestShortField.cs" />
<Compile Include="Util\TestULongField.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Storage\TestSmallDocumentBlock.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Properties\LocalProperty.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Storage\TestDocumentBlock.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Storage\TestPropertyBlock.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Storage\TestSmallDocumentBlockList.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Storage\LocalRawDataBlockList.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Storage\TestBlockAllocationTableReader.cs" />
<Compile Include="POIFS\Storage\TestBlockAllocationTableWriter.cs" />
<Compile Include="POIFS\Storage\TestRawDataBlock.cs" />
<Compile Include="Util\DummyPOILogger.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Storage\TestRawDataBlockList.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Storage\TestSmallBlockTableReader.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Storage\TestSmallBlockTableWriter.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Properties\TestPropertyTable.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\Properties\TestRootProperty.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\FileSystem\SlowInputStream.cs" />
<Compile Include="POIFS\Properties\TestDirectoryProperty.cs" />
<Compile Include="POIFS\Properties\TestDocumentProperty.cs" />
<Compile Include="POIFS\Properties\TestPropertyFactory.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\FileSystem\TestDirectoryNode.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\FileSystem\TestDocument.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\FileSystem\TestDocumentDescriptor.cs" />
<Compile Include="POIFS\FileSystem\TestDocumentInputStream.cs" />
<Compile Include="POIFS\FileSystem\TestDocumentNode.cs" />
<Compile Include="POIFS\FileSystem\TestDocumentOutputStream.cs" />
<Compile Include="POIFS\FileSystem\TestEmptyDocument.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="POIFS\FileSystem\TestPOIFSDocumentPath.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="DDF\TestEscherBlipRecord.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="DDF\TestEscherBoolProperty.cs" />
<Compile Include="DDF\TestEscherBSERecord.cs" />
<Compile Include="DDF\TestEscherChildAnchorRecord.cs" />
<Compile Include="DDF\TestEscherClientAnchorRecord.cs" />
<Compile Include="DDF\TestEscherClientDataRecord.cs" />
<Compile Include="DDF\TestEscherContainerRecord.cs" />
<Compile Include="DDF\TestEscherDggRecord.cs" />
<Compile Include="DDF\TestEscherDgRecord.cs" />
<Compile Include="DDF\TestEscherOptRecord.cs" />
<Compile Include="DDF\TestEscherPropertyFactory.cs" />
<Compile Include="DDF\TestEscherSpgrRecord.cs" />
<Compile Include="DDF\TestEscherSplitMenuColorsRecord.cs" />
<Compile Include="DDF\TestEscherSpRecord.cs" />
<Compile Include="DDF\TestUnknownEscherRecord.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="HPSF\Basic\POIFile.cs" />
<Compile Include="HPSF\Basic\TestBasic.cs" />
<Compile Include="HPSF\Basic\TestWrite.cs" />
<Compile Include="HSSF\HSSFTestDataSamples.cs" />
<Compile Include="HSSF\Record\CF\TestCellRange.cs" />
<Compile Include="HSSF\Record\TestcaseRecordInputStream.cs" />
<Compile Include="HSSF\Util\TestAreaReference.cs" />
<Compile Include="HSSF\Util\TestHSSFColor.cs" />
<Compile Include="POIFS\FileSystem\TestOffice2007XMLException.cs" />
<Compile Include="POIFS\FileSystem\TestPOIFSFileSystem.cs" />
<Compile Include="POIFS\FileSystem\TestPropertySorter.cs" />
<Compile Include="HPSF\Basic\TestEmptyProperties.cs" />
<Compile Include="HPSF\Basic\TestMetaDataIPI.cs" />
<Compile Include="HPSF\Basic\TestReadAllFiles.cs" />
<Compile Include="HPSF\Basic\TestUnicode.cs" />
<Compile Include="HPSF\Basic\TestWriteWellKnown.cs" />
<Compile Include="HPSF\Basic\Util.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config">
<SubType>Designer</SubType>
<ItemGroup>
<Compile Remove="DDF\TestEscherBlipWMFRecord.cs" />
<Compile Remove="HSSF\Record\Chart\TestAxisLineFormatRecord.cs" />
<Compile Remove="HSSF\Record\Chart\TestAxisUsedRecord.cs" />
<Compile Remove="HSSF\Record\Chart\TestChart3dRecord.cs" />
<Compile Remove="HSSF\Record\Chart\TestCrtLayout12ARecord.cs" />
<Compile Remove="HSSF\Record\Chart\TestCrtLayout12Record.cs" />
<Compile Remove="HSSF\Record\Chart\TestGelFrameRecord.cs" />
<Compile Remove="HSSF\Record\Chart\TestMarkerFormatRecord.cs" />
<Compile Remove="HSSF\Record\Chart\TestPieFormatRecord.cs" />
<Compile Remove="HSSF\Record\Chart\TestPieRecord.cs" />
<Compile Remove="HSSF\UserModel\TestEscherGraphics2d.cs" />
<Compile Remove="POIFS\Crypt\**\*.cs" />
<Compile Remove="SS\Formula\Function\ExcelFileFormatDocFunctionExtractor.cs" />
<Compile Remove="SS\Util\TestDateFormatConverter.cs" />
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="packages.config" />
<None Include="POIFS\Data\excel_with_embeded.xls" />
<None Include="POIFS\Data\ppt_with_embeded.ppt" />
<None Include="POIFS\Data\ShortLastBlock.qwp" />
<None Include="POIFS\Data\ShortLastBlock.wps" />
<None Include="POIFS\Data\source-files\sample1.doc" />
<None Include="POIFS\Data\source-files\sample1.ppt" />
<None Include="POIFS\Data\source-files\sample1.xls" />
<None Include="POIFS\Data\source-files\sample2.doc" />
<None Include="POIFS\Data\source-files\sample2.ppt" />
<None Include="POIFS\Data\source-files\sample2.xls" />
<None Include="POIFS\Data\visio_with_embeded.xls" />
<None Include="POIFS\Data\word_with_embeded.doc" />
</ItemGroup>
<ItemGroup>
<Compile Include="HSSF\Record\Aggregates\TestCFRecordsAggregate.cs" />
<Compile Include="HSSF\Record\Aggregates\TestColumnInfoRecordsAggregate.cs" />
<Compile Include="HSSF\Record\Aggregates\TestFormulaRecordAggregate.cs" />
<Compile Include="HSSF\Record\Aggregates\TestRowRecordsAggregate.cs" />
<Compile Include="HSSF\Record\Aggregates\TestValueRecordsAggregate.cs" />
<Compile Include="HSSF\Record\TestPaletteRecord.cs" />
<Compile Include="HSSF\Model\TestDrawingManager.cs" />
<Compile Include="HSSF\Model\TestDrawingManager2.cs" />
<Compile Include="HSSF\Model\TestFormulaParser.cs" />
<Compile Include="HSSF\Model\TestFormulaParserEval.cs" />
<Compile Include="HSSF\Model\TestFormulaParserIf.cs" />
<Compile Include="HSSF\Model\TestRVA.cs" />
<Compile Include="HSSF\Model\TestSheet.cs" />
<Compile Include="HSSF\Model\TestSheetAdditional.cs" />
<Compile Include="HSSF\Record\Chart\TestAreaFormatRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestAreaRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestAxisParentRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestAxisRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestBarRecord.cs" />
<Compile Include="HSSF\Record\TestBOFRecord.cs" />
<Compile Include="HSSF\Record\TestBoundSheetRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestChartRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestChartTitleFormatRecord.cs" />
<Compile Include="HSSF\Record\TestCommonObjectDataSubRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestDataFormatRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestDatRecord.cs" />
<Compile Include="HSSF\Record\TestDVALRecord.cs" />
<Compile Include="HSSF\Record\TestEmbeddedObjectRefSubRecord.cs" />
<Compile Include="HSSF\Record\TestEndSubRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestFontBasisRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestFrameRecord.cs" />
<Compile Include="HSSF\Record\TestLabelRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestLegendRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestLineFormatRecord.cs" />
<Compile Include="HSSF\Record\TestMergeCellsRecord.cs" />
<Compile Include="HSSF\Record\TestNoteRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestNumberFormatIndexRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestObjectLinkRecord.cs" />
<Compile Include="HSSF\Record\TestObjRecord.cs" />
<Compile Include="HSSF\Record\TestPaneRecord.cs" />
<Compile Include="HSSF\Record\TestRecordFactory.cs" />
<Compile Include="HSSF\Record\TestSCLRecord.cs" />
<Compile Include="HSSF\Record\TestSupBookRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestTextRecord.cs" />
<Compile Include="HSSF\Record\TestUnicodeNameRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestUnitsRecord.cs" />
<Compile Include="HSSF\UserModel\FormulaExtractor.cs" />
<Compile Include="HSSF\Record\TestCFHeaderRecord.cs" />
<Compile Include="HSSF\Record\TestCFRuleRecord.cs" />
<Compile Include="HSSF\Record\TestDrawingGroupRecord.cs" />
<Compile Include="HSSF\Record\TestEscherAggregate.cs" />
<Compile Include="HSSF\Record\TestExternalNameRecord.cs" />
<Compile Include="HSSF\Record\TestFormulaRecord.cs" />
<Compile Include="HSSF\Record\TestHyperlinkRecord.cs" />
<Compile Include="HSSF\Record\TestNoteStructureSubRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestPlotAreaRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestPlotGrowthRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestSeriesChartGroupIndexRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestSeriesIndexRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestSeriesLabelsRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestSeriesListRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestSeriesRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestSeriesTextRecord.cs" />
<Compile Include="HSSF\Record\TestSSTDeserializer.cs" />
<Compile Include="HSSF\Record\TestSSTRecordSizeCalculator.cs" />
<Compile Include="HSSF\Record\Chart\TestTickRecord.cs" />
<Compile Include="HSSF\Record\Chart\TestValueRangeRecord.cs" />
<Compile Include="HSSF\UserModel\HSSFEvaluationTestHelper.cs" />
<Compile Include="HSSF\UserModel\RecordInspector.cs" />
<Compile Include="HSSF\UserModel\StreamUtility.cs" />
<Compile Include="HSSF\UserModel\TestCellStyle.cs" />
<Compile Include="HSSF\UserModel\TestCloneSheet.cs" />
<Compile Include="HSSF\UserModel\TestFontDetails.cs" />
<Compile Include="HSSF\UserModel\TestFormulaEvaluatorDocs.cs" />
<Compile Include="HSSF\UserModel\TestHSSFCell.cs" />
<Compile Include="HSSF\UserModel\TestHSSFClientAnchor.cs" />
<Compile Include="HSSF\UserModel\TestHSSFConditionalFormatting.cs" />
<Compile Include="HSSF\UserModel\TestHSSFFormulaEvaluator.cs" />
<Compile Include="HSSF\UserModel\TestHSSFHeaderFooter.cs" />
<Compile Include="HSSF\UserModel\TestHSSFHyperlink.cs" />
<Compile Include="HSSF\UserModel\TestHSSFOptimiser.cs" />
<Compile Include="HSSF\UserModel\TestHSSFPalette.cs" />
<Compile Include="HSSF\UserModel\TestHSSFPatriarch.cs" />
<Compile Include="HSSF\UserModel\TestHSSFPicture.cs" />
<Compile Include="HSSF\UserModel\TestHSSFPictureData.cs" />
<Compile Include="HSSF\UserModel\TestHSSFRichTextString.cs" />
<Compile Include="HSSF\UserModel\TestHSSFRow.cs" />
<Compile Include="HSSF\UserModel\TestHSSFSheetOrder.cs" />
<Compile Include="HSSF\UserModel\TestHSSFSheetSetOrder.cs" />
<Compile Include="HSSF\UserModel\TestHSSFTextbox.cs" />
<Compile Include="HSSF\UserModel\TestLinkTable.cs" />
<Compile Include="HSSF\UserModel\TestOLE2Embeding.cs" />
<Compile Include="HSSF\UserModel\TestPOIFSProperties.cs" />
<Compile Include="HSSF\UserModel\TestReadWriteChart.cs" />
<Compile Include="HSSF\UserModel\TestRowStyle.cs" />
<Compile Include="HSSF\UserModel\TestSanityChecker.cs" />
<Compile Include="HSSF\UserModel\TestSheetHiding.cs" />
<Compile Include="HSSF\UserModel\TestSheetShiftRows.cs" />
<Compile Include="HSSF\UserModel\TestUnfixedBugs.cs" />
<Compile Include="HSSF\UserModel\TestUnicodeWorkbook.cs" />
<Compile Include="HSSF\UserModel\TestNonStandardWorkbookStreamNames.cs" />
<Compile Include="HSSF\UserModel\TestWorkbook.cs" />
<Compile Include="HSSF\UserModel\TestFormulaEvaluatorBugs.cs" />
<Compile Include="HSSF\UserModel\TestFormulas.cs" />
<Compile Include="HSSF\UserModel\TestHSSFSheet.cs" />
<Compile Include="HSSF\UserModel\TestHSSFWorkbook.cs" />
<Compile Include="Util\TestArrayUtil.cs" />
<Compile Include="HSSF\EventModel\TestEventRecordFactory.cs" />
<Compile Include="HSSF\EventUserModel\TestEventWorkbookBuilder.cs" />
<Compile Include="HSSF\EventUserModel\TestFormatTrackingHSSFListener.cs" />
<Compile Include="HSSF\EventUserModel\TestHSSFEventFactory.cs" />
<Compile Include="HSSF\EventUserModel\TestMissingRecordAwareHSSFListener.cs" />
<Compile Include="HSSF\Extractor\TestExcelExtractor.cs" />
<Compile Include="HSSF\UserModel\SanityChecker.cs" />
<Compile Include="HSSF\UserModel\TestEscherGraphics.cs" />
<Compile Include="HSSF\UserModel\TestHSSFDateUtil.cs" />
<Compile Include="Util\TestStringUtil.cs" />
<Compile Include="DDF\TestEscherProperty.cs" />
<Compile Include="Exceptions\ComparisonFailure.cs" />
<Compile Include="HSSF\HSSFITestDataProvider.cs" />
<Compile Include="HSSF\Model\TestLinkTable.cs" />
<Compile Include="HSSF\Model\TestOperandClassTransformer.cs" />
<Compile Include="HSSF\Model\TestRowBlocksReader.cs" />
<Compile Include="HSSF\Model\TestShapes.cs" />
<Compile Include="HSSF\Model\TestWorkbook.cs" />
<Compile Include="HSSF\Record\Aggregates\TestPageSettingsBlock.cs" />
<Compile Include="HSSF\Record\Aggregates\TestSharedValueManager.cs" />
<Compile Include="HSSF\Record\Chart\TestChartFormatRecord.cs" />
<Compile Include="HSSF\Record\Common\TestUnicodeString.cs" />
<Compile Include="HSSF\Record\Crypto\TestBiff8DecryptingStream.cs" />
<Compile Include="HSSF\Record\Crypto\TestBiff8EncryptionKey.cs" />
<Compile Include="HSSF\Record\Crypto\TestRC4.cs" />
<Compile Include="HSSF\Record\Pivot\TestExtendedPivotTableViewFieldsRecord.cs" />
<Compile Include="HSSF\Record\Pivot\TestPageItemRecord.cs" />
<Compile Include="HSSF\Record\Pivot\TestViewFieldsRecord.cs" />
<Compile Include="HSSF\Record\TestArrayRecord.cs" />
<Compile Include="HSSF\Record\TestAutoFilterInfoRecord.cs" />
<Compile Include="HSSF\Record\TestBoolErrRecord.cs" />
<Compile Include="HSSF\Record\TestColumnInfoRecord.cs" />
<Compile Include="HSSF\Record\TestDrawingRecord.cs" />
<Compile Include="HSSF\Record\TestExtendedFormatRecord.cs" />
<Compile Include="HSSF\Record\TestExtSSTRecord.cs" />
<Compile Include="HSSF\Record\TestFeatRecord.cs" />
<Compile Include="HSSF\Record\TestFontRecord.cs" />
<Compile Include="HSSF\Record\TestFtCblsSubRecord.cs" />
<Compile Include="HSSF\Record\TestInterfaceEndRecord.cs" />
<Compile Include="HSSF\Record\TestLbsDataSubRecord.cs" />
<Compile Include="HSSF\Record\TestNameCommentRecord.cs" />
<Compile Include="HSSF\Record\TestNameRecord.cs" />
<Compile Include="HSSF\Record\TestRecalcIdRecord.cs" />
<Compile Include="HSSF\Record\TestRecordFactoryInputStream.cs" />
<Compile Include="HSSF\Record\TestRecordInputStream.cs" />
<Compile Include="HSSF\Record\TestSharedFormulaRecord.cs" />
<Compile Include="HSSF\Record\TestSSTRecord.cs" />
<Compile Include="HSSF\Record\TestStringRecord.cs" />
<Compile Include="HSSF\Record\TestStyleRecord.cs" />
<Compile Include="HSSF\Record\TestSubRecord.cs" />
<Compile Include="HSSF\Record\TestTableRecord.cs" />
<Compile Include="HSSF\Record\TestTextObjectBaseRecord.cs" />
<Compile Include="HSSF\Record\TestTextObjectRecord.cs" />
<Compile Include="HSSF\Record\TestWriteAccessRecord.cs" />
<Compile Include="HSSF\UserModel\HSSFTestHelper.cs" />
<Compile Include="HSSF\UserModel\TestDataValidation.cs" />
<Compile Include="HSSF\UserModel\TestHSSFDataFormatter.cs" />
<Compile Include="HSSF\UserModel\TestHSSFExternalFunctions.cs" />
<Compile Include="HSSF\UserModel\TestHSSFFont.cs" />
<Compile Include="HSSF\UserModel\TestHSSFDataFormat.cs" />
<Compile Include="HSSF\UserModel\TestHSSFSheetShiftRows.cs" />
<Compile Include="HSSF\UserModel\TestHSSFName.cs" />
<Compile Include="HSSF\UserModel\TestHSSFSheetUpdateArrayFormulas.cs" />
<Compile Include="HSSF\Util\TestCellReference.cs" />
<Compile Include="HSSF\Util\TestRKUtil.cs" />
<Compile Include="POIDataSamples.cs" />
<Compile Include="SS\Format\CellFormatTestBase.cs" />
<Compile Include="SS\Format\TestCellFormat.cs" />
<Compile Include="SS\Format\TestCellFormatCondition.cs" />
<Compile Include="SS\Formula\Atp\TestMRound.cs" />
<Compile Include="SS\Formula\Atp\TestRandBetween.cs" />
<Compile Include="SS\Formula\Atp\TestYearFracCalculator.cs" />
<Compile Include="SS\Formula\Atp\TestYearFracCalculatorFromSpreadsheet.cs" />
<Compile Include="SS\Formula\BaseTestExternalFunctions.cs" />
<Compile Include="SS\Formula\Constant\TestConstantValueParser.cs" />
<Compile Include="SS\Formula\EvaluationListener.cs" />
<Compile Include="SS\Formula\Eval\EvalInstances.cs" />
<Compile Include="SS\Formula\Eval\Forked\TestForkedEvaluator.cs" />
<Compile Include="SS\Formula\Eval\TestAreaEval.cs" />
<Compile Include="SS\Formula\Eval\TestDivideEval.cs" />
<Compile Include="SS\Formula\Eval\TestEqualEval.cs" />
<Compile Include="SS\Formula\Eval\TestExternalFunction.cs" />
<Compile Include="SS\Formula\Eval\TestFormulaBugs.cs" />
<Compile Include="SS\Formula\Eval\TestFormulasFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Eval\TestMinusZeroResult.cs" />
<Compile Include="SS\Formula\Eval\TestMissingArgEval.cs" />
<Compile Include="SS\Formula\Eval\TestOperandResolver.cs" />
<Compile Include="SS\Formula\Eval\TestPercentEval.cs" />
<Compile Include="SS\Formula\Eval\TestRangeEval.cs" />
<Compile Include="SS\Formula\Eval\TestUnaryPlusEval.cs" />
<Compile Include="SS\Formula\Functions\AbstractNumericTestCase.cs" />
<Compile Include="SS\Formula\Functions\EvalFactory.cs" />
<Compile Include="SS\Formula\Functions\NumericFunctionInvoker.cs" />
<Compile Include="SS\Formula\Functions\TestAddress.cs" />
<Compile Include="SS\Formula\Functions\TestAverage.cs" />
<Compile Include="SS\Formula\Functions\TestCalendarFieldFunction.cs" />
<Compile Include="SS\Formula\Functions\TestClean.cs" />
<Compile Include="SS\Formula\Functions\TestCountFuncs.cs" />
<Compile Include="SS\Formula\Functions\TestDate.cs" />
<Compile Include="SS\Formula\Functions\TestDays360.cs" />
<Compile Include="SS\Formula\Functions\TestFinanceLib.cs" />
<Compile Include="SS\Formula\Functions\TestFind.cs" />
<Compile Include="SS\Formula\Functions\TestIndex.cs" />
<Compile Include="SS\Formula\Functions\TestIndexFunctionFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestIndirect.cs" />
<Compile Include="SS\Formula\Functions\TestIrr.cs" />
<Compile Include="SS\Formula\Functions\TestIsBlank.cs" />
<Compile Include="SS\Formula\Functions\TestLeftRight.cs" />
<Compile Include="SS\Formula\Functions\TestLen.cs" />
<Compile Include="SS\Formula\Functions\TestLookupFunctionsFromSpreadsheet.cs" />
<Compile Include="SS\Formula\Functions\TestMatch.cs" />
<Compile Include="SS\Formula\Functions\TestMathX.cs" />
<Compile Include="SS\Formula\Functions\TestMid.cs" />
<Compile Include="SS\Formula\Functions\TestNper.cs" />
<Compile Include="SS\Formula\Functions\TestNpv.cs" />
<Compile Include="SS\Formula\Functions\TestOffset.cs" />
<Compile Include="SS\Formula\Functions\TestPmt.cs" />
<Compile Include="SS\Formula\Functions\TestPoisson.cs" />
<Compile Include="SS\Formula\Functions\TestRoundFuncs.cs" />
<Compile Include="SS\Formula\Functions\TestRowCol.cs" />
<Compile Include="SS\Formula\Functions\TestStatsLib.cs" />
<Compile Include="SS\Formula\Functions\TestSubtotal.cs" />
<Compile Include="SS\Formula\Functions\TestSumif.cs" />
<Compile Include="SS\Formula\Functions\TestSumproduct.cs" />
<Compile Include="SS\Formula\Functions\TestText.cs" />
<Compile Include="SS\Formula\Functions\TestTFunc.cs" />
<Compile Include="SS\Formula\Functions\TestTime.cs" />
<Compile Include="SS\Formula\Functions\TestTrim.cs" />
<Compile Include="SS\Formula\Functions\TestTrunc.cs" />
<Compile Include="SS\Formula\Functions\TestValue.cs" />
<Compile Include="SS\Formula\Functions\TestXYNumericFunction.cs" />
<Compile Include="SS\Formula\Function\TestFunctionMetadataRegistry.cs" />
<Compile Include="SS\Formula\Function\TestParseMissingBuiltInFuncs.cs" />
<Compile Include="SS\Formula\Function\TestReadMissingBuiltInFuncs.cs" />
<Compile Include="SS\Formula\PTG\AbstractPtgTestCase.cs" />
<Compile Include="SS\Formula\PTG\TestArea3DPtg.cs" />
<Compile Include="SS\Formula\PTG\TestAreaErrPtg.cs" />
<Compile Include="SS\Formula\PTG\TestAreaPtg.cs" />
<Compile Include="SS\Formula\PTG\TestArrayPtg.cs" />
<Compile Include="SS\Formula\PTG\TestAttrPtg.cs" />
<Compile Include="SS\Formula\PTG\TestErrPtg.cs" />
<Compile Include="SS\Formula\PTG\TestExternalFunctionFormulas.cs" />
<Compile Include="SS\Formula\PTG\TestExternalNameReference.cs" />
<Compile Include="SS\Formula\PTG\TestFuncPtg.cs" />
<Compile Include="SS\Formula\PTG\TestFuncVarPtg.cs" />
<Compile Include="SS\Formula\PTG\TestIntersectionPtg.cs" />
<Compile Include="SS\Formula\PTG\TestPercentPtg.cs" />
<Compile Include="SS\Formula\PTG\TestRangePtg.cs" />
<Compile Include="SS\Formula\PTG\TestRef3DPtg.cs" />
<Compile Include="SS\Formula\PTG\TestReferencePtg.cs" />
<Compile Include="SS\Formula\PTG\TestUnionPtg.cs" />
<Compile Include="SS\Formula\TestCellCacheEntry.cs" />
<Compile Include="SS\Formula\TestEvaluationCache.cs" />
<Compile Include="SS\Formula\TestFormulaShifter.cs" />
<Compile Include="SS\Formula\TestPlainCellCache.cs" />
<Compile Include="SS\Formula\TestSheetNameFormatter.cs" />
<Compile Include="SS\Formula\TestWorkbookEvaluator.cs" />
<Compile Include="SS\Formula\WorkbookEvaluatorTestHelper.cs" />
<Compile Include="SS\ITestDataProvider.cs" />
<Compile Include="SS\TestSpreadsheetVersion.cs" />
<Compile Include="SS\UserModel\BaseTestCell.cs" />
<Compile Include="SS\UserModel\BaseTestCellComment.cs" />
<Compile Include="SS\UserModel\BaseTestConditionalFormatting.cs" />
<Compile Include="SS\UserModel\BaseTestDataFormat.cs" />
<Compile Include="SS\UserModel\BaseTestDataValidation.cs" />
<Compile Include="SS\UserModel\BaseTestFont.cs" />
<Compile Include="SS\UserModel\BaseTestFormulaEvaluator.cs" />
<Compile Include="SS\UserModel\BaseTestHyperlink.cs" />
<Compile Include="SS\UserModel\BaseTestNamedRange.cs" />
<Compile Include="SS\UserModel\BaseTestPicture.cs" />
<Compile Include="SS\UserModel\BaseTestRow.cs" />
<Compile Include="SS\UserModel\BaseTestSheet.cs" />
<Compile Include="SS\UserModel\BaseTestSheetAutosizeColumn.cs" />
<Compile Include="SS\UserModel\BaseTestSheetHiding.cs" />
<Compile Include="SS\UserModel\BaseTestSheetShiftRows.cs" />
<Compile Include="SS\UserModel\BaseTestSheetUpdateArrayFormulas.cs" />
<Compile Include="SS\UserModel\BaseTestWorkbook.cs" />
<Compile Include="SS\UserModel\TestDataFormatter.cs" />
<Compile Include="SS\Util\Cellwalk\TestCellWalk.cs" />
<Compile Include="SS\Util\NumberComparingSpreadsheetGenerator.cs" />
<Compile Include="SS\Util\NumberComparisonExamples.cs" />
<Compile Include="SS\Util\NumberRenderingSpreadsheetGenerator.cs" />
<Compile Include="SS\Util\NumberToTextConversionExamples.cs" />
<Compile Include="SS\Util\TestCellRangeAddress.cs" />
<Compile Include="SS\Util\TestCellReference.cs" />
<Compile Include="SS\Util\TestExpandedDouble.cs" />
<Compile Include="SS\Util\TestNumberComparer.cs" />
<Compile Include="SS\Util\TestNumberToTextConverter.cs" />
<Compile Include="SS\Util\TestSheetBuilder.cs" />
<Compile Include="SS\Util\TestWorkbookUtil.cs" />
<Compile Include="Util\TestIntList.cs" />
<Compile Include="Util\TestLittleEndianStreams.cs" />
<Compile Include="Util\TestShortList.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="DDF\data\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\NPOI\NPOI.csproj">
<Project>{2fb384cb-1041-47b5-9c0d-d6e9e5b4d4c0}</Project>
<Name>NPOI</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\NUnit.3.10.1\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\NUnit.3.10.1\build\NUnit.props'))" />
</Target>
</Project>
<ItemGroup>
<None Remove="Properties\Settings.Designer.cs" />
<None Remove="DDF\TestEscherBlipWMFRecord.cs" />
<None Remove="HSSF\Record\Chart\TestAxisLineFormatRecord.cs" />
<None Remove="HSSF\Record\Chart\TestAxisUsedRecord.cs" />
<None Remove="HSSF\Record\Chart\TestChart3dRecord.cs" />
<None Remove="HSSF\Record\Chart\TestCrtLayout12ARecord.cs" />
<None Remove="HSSF\Record\Chart\TestCrtLayout12Record.cs" />
<None Remove="HSSF\Record\Chart\TestGelFrameRecord.cs" />
<None Remove="HSSF\Record\Chart\TestMarkerFormatRecord.cs" />
<None Remove="HSSF\Record\Chart\TestPieFormatRecord.cs" />
<None Remove="HSSF\Record\Chart\TestPieRecord.cs" />
<None Remove="HSSF\UserModel\TestEscherGraphics2d.cs" />
<Folder Remove="POIFS\Crypt" />
<None Remove="SS\Formula\Function\ExcelFileFormatDocFunctionExtractor.cs" />
<None Remove="SS\Util\TestDateFormatConverter.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.1" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="2.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="NUnit" Version="3.10.1" />
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\NPOI\NPOI.csproj" />
</ItemGroup>
</Project>

35
test/NPOI.TestCases/Properties/AssemblyInfo.cs

@ -1,35 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NPOI.TestCases")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("NPOI team")]
[assembly: AssemblyProduct("NPOI.TestCases")]
[assembly: AssemblyCopyright("Apache 2.0")]
[assembly: AssemblyTrademark("NPOI")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM componenets. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("d2a277c6-e48e-4e70-af22-2827e19b799a")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.2.5.0")]
[assembly: AssemblyFileVersion("1.2.5.0")]

38
test/NPOI.TestCases/Properties/Settings.Designer.cs

@ -1,38 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.261
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace TestCases.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("..\\..\\..\\test-data")]
public string TEST_PROPERTY {
get {
return ((string)(this["TEST_PROPERTY"]));
}
set {
this["TEST_PROPERTY"] = value;
}
}
}
}

9
test/NPOI.TestCases/Properties/Settings.settings

@ -1,9 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="TestCases.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="TEST_PROPERTY" Type="System.String" Scope="User">
<Value Profile="(Default)">..\..\..\test-data</Value>
</Setting>
</Settings>
</SettingsFile>

5
test/NPOI.TestCases/SS/Util/NumberComparingSpreadsheetGenerator.cs

@ -21,6 +21,8 @@ using System.Text;
using NPOI.Util;
using NPOI.HSSF.UserModel;
using System.IO;
using NUnit.Framework;
namespace TestCases.SS.Util
{
@ -132,7 +134,8 @@ namespace TestCases.SS.Util
return sb.ToString();
}
public static void Main(String[] args)
//[Test]
public void Test()
{
IWorkbook wb = new HSSFWorkbook();

4
test/NPOI.TestCases/SS/Util/NumberRenderingSpreadsheetGenerator.cs

@ -22,6 +22,7 @@ using NPOI.Util;
using NPOI.SS.UserModel;
using System.Text;
using System.IO;
using NUnit.Framework;
namespace TestCases.SS.Util
{
@ -140,7 +141,8 @@ namespace TestCases.SS.Util
return sb.ToString();
}
public static void Main(String[] args)
//[Test]
public void Test()
{
WriteJavaDoc();

12
test/NPOI.TestCases/appsettings.json

@ -0,0 +1,12 @@
{
"AppSettings": {
"loggername": "test.Util.DummyPOILogger,NPOI.test",
"HSSF.testdata.path": "..\\..\\..\\..\\test-data\\hssf",
"POIFS.testdata.path": "..\\..\\..\\..\\test-data\\poifs",
"POI.testdata.path": "..\\..\\..\\..\\test-data",
"java.io.tmpdir": "..\\..\\..\\..\\test-data\\",
"poi.keep.tmp.files": "..\\..\\..\\..\\test-data\\",
"font.metrics.filename": "..\\..\\..\\..\\test-data\\font_metrics.properties",
"escher.data.path": "..\\..\\..\\..\\test-data\\ddf\\"
}
}

4
test/NPOI.TestCases/packages.config

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="3.10.1" targetFramework="net461" />
</packages>
Loading…
Cancel
Save