Commit fb6fd706 authored by Kristin Berry's avatar Kristin Berry
Browse files

try moving set of filename into setup

parent c5db1a97
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -68,12 +68,15 @@ class FramerParameterizedTest : public ::testing::TestWithParam<csm::ImageCoord>
protected:
  csm::Isd isd;
  
  void printIsd(csm::Isd &localIsd) {
  std::string printIsd(csm::Isd &localIsd) {
    std::string str;
    std::multimap<std::string,std::string> isdmap= localIsd.parameters();
    for (auto it = isdmap.begin(); it != isdmap.end();++it){
      
      std::cout << it->first << " : " << it->second << std::endl;
      str.append(it->first);
      str.append(":");
      str.append(it->second);
    }
    return str;
  }
  UsgsAstroFrameSensorModel* createModel(csm::Isd &modifiedIsd) {
    
@@ -106,6 +109,7 @@ class FrameIsdTest : public ::testing::Test {
    }
    UsgsAstroFrameSensorModel* createModel(csm::Isd &modifiedIsd) {
      UsgsAstroFramePlugin frameCameraPlugin;
      modifiedIsd.setFilename("data/simpleFramerISD.img");
      csm::Model *model = frameCameraPlugin.constructModelFromISD(
              modifiedIsd,"USGS_ASTRO_FRAME_SENSOR_MODEL");
      UsgsAstroFrameSensorModel* sensorModel = dynamic_cast<UsgsAstroFrameSensorModel *>(model);