Skip to content

Commit f5db673

Browse files
Disable tests valid only on windows. (#1130)
1 parent 7065828 commit f5db673

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

dotnet/test/DotNetCoreUnitTest/Excel/ExcelPoiTest.cs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public void TestDeleteSheet()
259259

260260
}
261261

262-
[Fact]
262+
[WindowsOnlyFact]
263263

264264
public void TestSetCellValues()
265265
{
@@ -281,7 +281,7 @@ public void TestSetCellValues()
281281
excel.Save();
282282
}
283283

284-
[Fact]
284+
[WindowsOnlyFact]
285285

286286
public void TestFormulas()
287287
{
@@ -450,7 +450,7 @@ public void TestGetWorksheets()
450450
excel.Close();
451451
}
452452

453-
[Fact]
453+
[WindowsOnlyFact]
454454

455455
public void TestHiddenCells()
456456
{
@@ -475,8 +475,7 @@ public void TestHiddenCells()
475475
excel.Close();
476476
}
477477

478-
[Fact]
479-
478+
[WindowsOnlyFact]
480479
public void TestProtectSheet()
481480
{
482481
ExcelSpreadsheetGXWrapper excel = Create("testProtectSheet");
@@ -1080,7 +1079,7 @@ public void TestSaveAs()
10801079

10811080
}
10821081

1083-
[Fact]
1082+
[WindowsOnlyFact]
10841083
public void TestAutoFit()
10851084
{
10861085
ExcelSpreadsheetGXWrapper excel = Create("testAutoFit");
@@ -1097,7 +1096,7 @@ public void TestAutoFit()
10971096
excel.Save();
10981097
excel.Close();
10991098
}
1100-
[Fact]
1099+
[WindowsOnlyFact]
11011100
public void TestDateFormat()
11021101
{
11031102
ExcelSpreadsheetGXWrapper excel = Create("testDateFormat");

0 commit comments

Comments
 (0)