-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Рогатнев Сергей
committed
Jul 27, 2022
1 parent
5602541
commit 6d9022d
Showing
4 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
24 changes: 24 additions & 0 deletions
24
Excel.TemplateEngine.Tests/FileGeneratingTests/TemplateTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System.IO; | ||
|
||
using NUnit.Framework; | ||
|
||
using SkbKontur.Excel.TemplateEngine.FileGenerating; | ||
|
||
using Vostok.Logging.Console; | ||
|
||
namespace SkbKontur.Excel.TemplateEngine.Tests.FileGeneratingTests | ||
{ | ||
[TestFixture] | ||
public class TemplateTests : FileBasedTestBase | ||
{ | ||
[Test] | ||
public void TemplateWithoutThemeTest() | ||
{ | ||
var content = File.ReadAllBytes(GetFilePath("template_2.xlsx")); | ||
using (var template = ExcelDocumentFactory.TryCreateFromTemplate(content, new ConsoleLog())) | ||
{ | ||
Assert.IsNotNull(template); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "1.1", | ||
"version": "1.2", | ||
"assemblyVersion": { | ||
"precision": "build" | ||
}, | ||
|