[Test] Update tests; remove xsd:extension

This commit is contained in:
Sergey Konovalov
2021-12-30 17:47:09 +03:00
parent 6044929214
commit 61735c2790
7 changed files with 453 additions and 323 deletions

View File

@ -562,7 +562,7 @@ public class FormatChecker
{
if (Ionic.Zip.ZipFile.IsZipFile(ms, false))
{
using (Ionic.Zip.ZipFile oZipFile = Ionic.Zip.ZipFile.Read(aBuffer))
using (Ionic.Zip.ZipFile oZipFile = Ionic.Zip.ZipFile.Read(ms))
{
format = GetFileFormatByZip(oZipFile);
}

View File

@ -35,8 +35,9 @@
<Reference Include="Ionic.Zip.Reduced">
<HintPath>..\..\..\..\..\..\..\activex\AVS\Sources\TeamlabOffice\trunk\wwwroot\Bin\Ionic.Zip.Reduced.dll</HintPath>
</Reference>
<Reference Include="OpenMcdf">
<HintPath>..\..\..\..\..\..\..\activex\AVS\Sources\TeamlabOffice\trunk\wwwroot\Bin\OpenMcdf.dll</HintPath>
<Reference Include="OpenMcdf, Version=2.2.1.9, Culture=neutral, PublicKeyToken=fdbb1629d7c00800, processorArchitecture=MSIL">
<HintPath>..\packages\OpenMcdf.2.2.1.9\lib\net40\OpenMcdf.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
@ -53,6 +54,7 @@
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

View File

@ -41,7 +41,7 @@ namespace FilesSort
static void Main(string[] args)
{
string input = @"D:\logs\doc.onlyoffice.com\sync\files";
string output = @"D:\logs\doc.onlyoffice.com\6.0.0\errorsorted";
string output = @"D:\logs\doc.onlyoffice.com\6.4.1\errorsorted";
DateTime start = DateTime.Now;
Dictionary<long, long> hash = new Dictionary<long, long>();