Skip to content

Commit bd1ec61

Browse files
committed
Fix tests after changing how cube decides to open files as geotiffs vs cubes
1 parent adfb255 commit bd1ec61

File tree

4 files changed

+1
-5
lines changed

4 files changed

+1
-5
lines changed

isis/src/base/objs/CubeManager/CubeManager.truth

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,4 @@ Setting number of open cubes > 60 percent of system open file limit
5050

5151
Attempting to open a file that does not exist:
5252
**I/O ERROR** Failed to open [dne.cub].
53-
**PROGRAMMER ERROR** Gdal failed to open [dne.cub].
5453
**I/O ERROR** Unable to open [dne.cub].

isis/src/base/objs/ShapeModelFactory/ShapeModelFactory.truth

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ Unit test for Isis::ShapeModel
4040
**I/O ERROR** Invalid shape model file [NotAFile] in Kernels group.
4141
**ERROR** The given shape model file is not a valid ISIS DEM. Unable to open as an ISIS cube.
4242
**I/O ERROR** Failed to open [NotAFile].
43-
**PROGRAMMER ERROR** Gdal failed to open [NotAFile].
4443
**I/O ERROR** Unable to open [NotAFile].
4544
**ERROR** The given shape model file is not a valid NAIF DSK file. Unable to construct a NAIF DSK shape model.
4645
**USER ERROR** NAIF DSK file [NotAFile] does not exist.

isis/src/base/objs/SpectralDefinitionFactory/SpectralDefinitionFactory.truth

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
**ERROR** Unable to open input file [assets/test.csv]. Is it a valid CSV?.
33
**USER ERROR** Unable to open file [assets/test.csv].
44
**I/O ERROR** Failed to open [assets/test.txt].
5-
**PROGRAMMER ERROR** Gdal failed to open [assets/test.txt].
65
**I/O ERROR** Unable to open [assets/test.txt].
76
**I/O ERROR** Failed to open [assets/cube.cub].
8-
**PROGRAMMER ERROR** Gdal failed to open [assets/cube.cub].
97
**I/O ERROR** Unable to open [assets/cube.cub].

isis/tests/GTiffTests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ TEST_F(TempTestingFiles, TestGTiffCreateWriteCopy) {
9090

9191
// Test the open and read methods
9292
Cube in(file2);
93-
check_tiff(in, file2, 150, 200, 2, 0, 1, 7, 0, 2, 1, 1, 0, 6516);
93+
check_tiff(in, file2, 150, 200, 2, 0, 1, 7, 0, 2, 1, 1, 0, 65536);
9494

9595
LineManager inLine(in);
9696
j = 0;

0 commit comments

Comments
 (0)