diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2021-01-23 23:04:49 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2021-01-23 23:04:49 +0000 |
commit | 54fde895e66a402b41455ff5c181bd91d811d35d (patch) | |
tree | c1922bfb9d51d83357779b575395d58652af57ab /src/ooxml/testcases | |
parent | 904c77e242d4f8b456f8df26af7b0ee3b8d07f86 (diff) | |
download | poi-54fde895e66a402b41455ff5c181bd91d811d35d.tar.gz poi-54fde895e66a402b41455ff5c181bd91d811d35d.zip |
Sonar fixes
add asserts to tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885859 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/testcases')
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFName.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFName.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFName.java index 19d0bbb2b4..0792ddc655 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFName.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFName.java @@ -17,20 +17,19 @@ package org.apache.poi.xssf.usermodel; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; import java.io.IOException; import java.util.Arrays; import org.apache.poi.ss.usermodel.BaseTestNamedRange; import org.apache.poi.ss.util.CellRangeAddress; -import org.apache.poi.xssf.XSSFTestDataSamples; import org.apache.poi.xssf.XSSFITestDataProvider; +import org.apache.poi.xssf.XSSFTestDataSamples; import org.junit.jupiter.api.Test; -/** - * @author Yegor Kozlov - */ public final class TestXSSFName extends BaseTestNamedRange { public TestXSSFName() { |