using ClosedXML_Examples; using ClosedXML_Examples.Misc; using NUnit.Framework; namespace ClosedXML_Tests.Examples { [TestFixture] public class MiscTests { [Test] public void AddingDataSet() { TestHelper.RunTestExample(@"Misc\AddingDataSet.xlsx"); } [Test] public void AddingDataTableAsWorksheet() { TestHelper.RunTestExample(@"Misc\AddingDataTableAsWorksheet.xlsx"); } [Test] public void AdjustToContents() { TestHelper.RunTestExample(@"Misc\AdjustToContents.xlsx"); } [Test] public void AdjustToContentsWithAutoFilter() { TestHelper.RunTestExample(@"Misc\AdjustToContentsWithAutoFilter.xlsx"); } [Test] public void AutoFilter() { TestHelper.RunTestExample(@"Misc\AutoFilter.xlsx"); } [Test] public void BasicTable() { TestHelper.RunTestExample(@"Misc\BasicTable.xlsx"); } [Test] public void BlankCells() { TestHelper.RunTestExample(@"Misc\BlankCells.xlsx"); } [Test] public void CellValues() { TestHelper.RunTestExample(@"Misc\CellValues.xlsx"); } [Test] public void Collections() { TestHelper.RunTestExample(@"Misc\Collections.xlsx"); } [Test] public void CopyingRowsAndColumns() { TestHelper.RunTestExample(@"Misc\CopyingRowsAndColumns.xlsx"); } [Test] public void CopyingWorksheets() { TestHelper.RunTestExample(@"Misc\CopyingWorksheets.xlsx"); } [Test] public void DataTypes() { TestHelper.RunTestExample(@"Misc\DataTypes.xlsx"); } [Test] public void DataTypesUnderDifferentCulture() { TestHelper.RunTestExample(@"Misc\DataTypesUnderDifferentCulture.xlsx"); } [Test] public void DataValidation() { TestHelper.RunTestExample(@"Misc\DataValidation.xlsx"); } [Test] public void Formulas() { TestHelper.RunTestExample(@"Misc\Formulas.xlsx"); } [Test] public void FormulasWithEvaluation() { TestHelper.RunTestExample(@"Misc\FormulasWithEvaluation.xlsx", true); } [Test] public void FreezePanes() { TestHelper.RunTestExample(@"Misc\FreezePanes.xlsx"); } [Test] public void HideSheets() { TestHelper.RunTestExample(@"Misc\HideSheets.xlsx"); } [Test] public void HideUnhide() { TestHelper.RunTestExample(@"Misc\HideUnhide.xlsx"); } [Test] public void Hyperlinks() { TestHelper.RunTestExample(@"Misc\Hyperlinks.xlsx"); } [Test] public void InsertingData() { TestHelper.RunTestExample(@"Misc\InsertingData.xlsx"); } [Test] public void LambdaExpressions() { TestHelper.RunTestExample(@"Misc\LambdaExpressions.xlsx"); } [Test] public void MergeCells() { TestHelper.RunTestExample(@"Misc\MergeCells.xlsx"); } [Test] public void MergeMoves() { TestHelper.RunTestExample(@"Misc\MergeMoves.xlsx"); } [Test] public void Outline() { TestHelper.RunTestExample(@"Misc\Outline.xlsx"); } [Test] public void RightToLeft() { TestHelper.RunTestExample(@"Misc\RightToLeft.xlsx"); } [Test] public void SheetProtection() { TestHelper.RunTestExample(@"Misc\SheetProtection.xlsx"); } [Test] public void SheetViews() { TestHelper.RunTestExample(@"Misc\SheetViews.xlsx"); } [Test] public void ShiftingFormulas() { TestHelper.RunTestExample(@"Misc\ShiftingFormulas.xlsx"); } [Test] public void ShowCase() { TestHelper.RunTestExample(@"Misc\ShowCase.xlsx"); } [Test] public void TabColors() { TestHelper.RunTestExample(@"Misc\TabColors.xlsx"); } [Test] public void WorkbookProperties() { TestHelper.RunTestExample(@"Misc\WorkbookProperties.xlsx"); } [Test] public void WorkbookProtection() { TestHelper.RunTestExample(@"Misc\WorkbookProtection.xlsx"); } } }