Skip to content

Commit

Permalink
build: Ignore org.deegree tests with meaningful message
Browse files Browse the repository at this point in the history
ING-3267
  • Loading branch information
kapil-agnihotri committed Nov 18, 2022
1 parent a57e750 commit c4be00c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions build/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,6 @@ ext {
'eu.esdihumboldt.util.blueprints.entities.test',
'eu.esdihumboldt.hale.io.oml',
'eu.esdihumboldt.hale.io.oml.test',
// exclude them because org.deegree needs to be updated with jaxb dependencies
'eu.esdihumboldt.hale.io.deegree',
'eu.esdihumboldt.hale.io.deegree.ui',
'eu.esdihumboldt.hale.io.deegree.test',
'eu.esdihumboldt.hale.io.feature.deegree'
]

// bundles or fragments that are required additionally for compilation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MappingWriterTest {
* Simple test that checks if a configuration can be successfully written.
*/
@Test
@Ignore("ignoring for the moment to run the tests")
@Ignore("deegree export currently not working due to Java update")
void testSuccessSaveConfig() {
Schema targetSchema = new DefaultSchema(
'http://inspire.ec.europa.eu/schemas/ps/4.0',
Expand All @@ -58,7 +58,7 @@ class MappingWriterTest {
* Simple test that checks if a DDL can be successfully written.
*/
@Test
@Ignore("ignoring for the moment to run the tests")
@Ignore("deegree export currently not working due to Java update")
void testSuccessSaveDDL() {
Schema targetSchema = new DefaultSchema(
'http://inspire.ec.europa.eu/schemas/ps/4.0',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected void analyse(URI location, int sheetNum) throws Exception {
try {
// https://poi.apache.org/components/spreadsheet/quick-guide.html#FileInputStream
Workbook wb;
if (location.getPath().contains(".xls")) {
if (location.getPath().toLowerCase().endsWith(".xls")) {
try (POIFSFileSystem fs = new POIFSFileSystem(inp)) {
wb = new HSSFWorkbook(fs.getRoot(), true);
}
Expand Down

0 comments on commit c4be00c

Please sign in to comment.