Unverified Commit 6b1778f6 authored by Tim Giroux's avatar Tim Giroux Committed by GitHub
Browse files

add missing / in various gtests (#4374)

parent 85a21612
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -315,12 +315,12 @@ TEST_F(DefaultCube, FunctionalTestCam2mapFramerMock) {
  labelStrm >> userMap;
  PvlGroup &userGrp = userMap.findGroup("Mapping", Pvl::Traverse);

  QVector<QString> args = {"to=" + tempDir.path() + "level2.cub", "matchmap=yes"};
  QVector<QString> args = {"to=" + tempDir.path() + "/level2.cub", "matchmap=yes"};
  UserInterface ui(APP_XML, args);

  Pvl log;
  MockProcessRubberSheet rs;
  FileName fn(tempDir.path() + "level2.cub");
  FileName fn(tempDir.path() + "/level2.cub");
  CubeAttributeOutput  outputAttr(fn);
  Cube outputCube;
  outputCube.setDimensions(1, 1, 1);
@@ -362,13 +362,13 @@ TEST_F(LineScannerCube, FunctionalTestCam2mapLineScanMock){
  labelStrm >> userMap;
  PvlGroup &userGrp = userMap.findGroup("Mapping", Pvl::Traverse);

  QVector<QString> args = {"to=" + tempDir.path() + "level2.cub", "matchmap=yes"};
  QVector<QString> args = {"to=" + tempDir.path() + "/level2.cub", "matchmap=yes"};

  UserInterface ui(APP_XML, args);

  Pvl log;
  MockProcessRubberSheet rs;
  FileName fn(tempDir.path() + "level2.cub");
  FileName fn(tempDir.path() + "/level2.cub");
  CubeAttributeOutput outputAttr(fn);
  Cube outputCube;
  outputCube.setDimensions(1, 1, 1);
@@ -411,7 +411,7 @@ TEST_F(DefaultCube, FunctionalTestCam2mapForwardMock) {
  labelStrm >> userMap;
  PvlGroup &userGrp = userMap.findGroup("Mapping", Pvl::Traverse);

  QVector<QString> args = {"to=" + tempDir.path()+ "level2.cub",
  QVector<QString> args = {"to=" + tempDir.path()+ "/level2.cub",
                          "matchmap=yes",
                          "warpalgorithm=forwardpatch",
                          "patchsize=0"};
@@ -419,7 +419,7 @@ TEST_F(DefaultCube, FunctionalTestCam2mapForwardMock) {

  Pvl log;
  MockProcessRubberSheet rs;
  FileName fn(tempDir.path() + "level2.cub");
  FileName fn(tempDir.path() + "/level2.cub");
  CubeAttributeOutput  outputAttr(fn);
  Cube outputCube;
  outputCube.setDimensions(1, 1, 1);
@@ -462,7 +462,7 @@ TEST_F(DefaultCube, FunctionalTestCam2mapReverseMock) {
  labelStrm >> userMap;
  PvlGroup &userGrp = userMap.findGroup("Mapping", Pvl::Traverse);

  QVector<QString> args = {"to=" + tempDir.path() + "level2.cub",
  QVector<QString> args = {"to=" + tempDir.path() + "/level2.cub",
                          "matchmap=yes",
                          "warpalgorithm=reversepatch",
                          "patchsize=3"};
@@ -470,7 +470,7 @@ TEST_F(DefaultCube, FunctionalTestCam2mapReverseMock) {

  Pvl log;
  MockProcessRubberSheet rs;
  FileName fn(tempDir.path() + "level2.cub");
  FileName fn(tempDir.path() + "/level2.cub");
  CubeAttributeOutput  outputAttr(fn);
  Cube outputCube;
  outputCube.setDimensions(1, 1, 1);
+1 −1
Original line number Diff line number Diff line
@@ -465,7 +465,7 @@ namespace Isis {
      cubeL = new Cube();
      cubeR = new Cube();

      cubeLPath = tempDir.path() + "observationPairL.cub";
      cubeLPath = tempDir.path() + "/observationPairL.cub";
      cubeRPath = tempDir.path() + "/observationPairR.cub";

      cubeL->fromIsd(cubeLPath, labelPathL, *isdPathL, "rw");
+3 −3
Original line number Diff line number Diff line
@@ -311,7 +311,7 @@ TEST_F(ThreeImageNetwork, FunctionalTestCnetextractInclusivePointlist) {
}

TEST_F(ThreeImageNetwork, FunctionalTestCnetextractCubeCubelist) {
  QString reducedCubeList = tempDir.path() + "reducedCubes.lis";
  QString reducedCubeList = tempDir.path() + "/reducedCubes.lis";
  cubeList->pop_back();
  cubeList->pop_back();
  cubeList->write(reducedCubeList);
@@ -340,7 +340,7 @@ TEST_F(ThreeImageNetwork, FunctionalTestCnetextractCubeCubelist) {
}

TEST_F(ThreeImageNetwork, FunctionalTestCnetextractCubeCubemeasures) {
  QString reducedCubeList = tempDir.path() + "reducedCubes.lis";
  QString reducedCubeList = tempDir.path() + "/reducedCubes.lis";
  cubeList->pop_back();
  cubeList->pop_back();
  cubeList->write(reducedCubeList);
@@ -374,7 +374,7 @@ TEST_F(ThreeImageNetwork, FunctionalTestCnetextractCubeCubemeasures) {
}

TEST_F(ThreeImageNetwork, FunctionalTestCnetextractCubeRetainreference) {
  QString reducedCubeList = tempDir.path() + "reducedCubes.lis";
  QString reducedCubeList = tempDir.path() + "/reducedCubes.lis";
  cubeList->pop_back();
  cubeList->pop_back();
  cubeList->write(reducedCubeList);
+4 −4
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ TEST_F(MroHiriseCube, FunctionalTestsHimosDefault) {
  cubeList->write(mosFileList);

  QVector<QString> args = {"from=" + mosFileList.toString(),
                           "to=" + tempDir.path() + "outputMos.cub"};
                           "to=" + tempDir.path() + "/outputMos.cub"};

  UserInterface options(APP_XML, args);
  try {
@@ -62,7 +62,7 @@ TEST_F(MroHiriseCube, FunctionalTestsHimosError) {
  cubeList->write(mosFileList);

  QVector<QString> args = {"from=" + mosFileList.toString(),
                           "to=" + tempDir.path() + "outputMos.cub"};
                           "to=" + tempDir.path() + "/outputMos.cub"};

  UserInterface options(APP_XML, args);
  try {
@@ -88,7 +88,7 @@ TEST_F(MroHiriseCube, FunctionalTestsHimosMismatchObs) {
  cubeList->write(mosFileList);

  QVector<QString> args = {"from=" + mosFileList.toString(),
                           "to=" + tempDir.path() + "outputMos.cub"};
                           "to=" + tempDir.path() + "/outputMos.cub"};

  UserInterface options(APP_XML, args);
  try {
@@ -114,7 +114,7 @@ TEST_F(MroHiriseCube, FunctionalTestsHimosMismatchFilter) {
  cubeList->write(mosFileList);

  QVector<QString> args = {"from=" + mosFileList.toString(),
                           "to=" + tempDir.path() + "outputMos.cub"};
                           "to=" + tempDir.path() + "/outputMos.cub"};

  UserInterface options(APP_XML, args);
  try {
+2 −2
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ static QString APP_XML = FileName("$ISISROOT/bin/xml/lronac2pds.xml").expanded()

TEST_F(ObservationPair, FunctionalTestLronac2pdsIof) {
  QVector<QString> args = {"from=" + cubeLPath,
                           "to=" + tempDir.path() + "LroNacL.img"};
                           "to=" + tempDir.path() + "/LroNacL.img"};
  UserInterface options(APP_XML, args);
  Pvl appLog;

@@ -48,7 +48,7 @@ TEST_F(ObservationPair, FunctionalTestLronac2pdsIof) {

TEST_F(ObservationPair, FunctionalTestLronac2pdsRadiance) {
  QVector<QString> args = {"from=" + cubeLPath,
                           "to=" + tempDir.path() + "LroNacL.img"};
                           "to=" + tempDir.path() + "/LroNacL.img"};
  UserInterface options(APP_XML, args);
  Pvl appLog;

Loading