message: camera: don't do E90 specific tests by default
diff: using namespace dronecore;
  using namespace std::placeholders; // for `_1`
  +// To run specific tests for Yuneec cameras.
  +const static bool is_e90 = false;
  +
  TEST(CameraTest, ShowSettingsAndOptions)
  {
  DroneCore dc;
  @@ -38,7 +41,10 @@ TEST(CameraTest, ShowSettingsAndOptions)
  for (auto setting : settings) {
  LogDebug() << "-" << setting;
  }
  +
  + if (is_e90) {
  EXPECT_EQ(settings.size(), 9);
  + }
  set_mode(camera, Camera::Mode::VIDEO);
  @@ -50,8 +56,12 @@ TEST(CameraTest, ShowSettingsAndOptions)
  for (auto setting : settings) {
  LogDebug() << "-" << setting;
  }
  +
  + if (is_e90) {
  EXPECT_EQ(settings.size(), 6);
  + }
  + if (is_e90) {
  std::vector<std::string> options;
  // Try something that is specific to the camera mode.
  @@ -80,6 +90,7 @@ TEST(CameraTest, ShowSettingsAndOptions)
  EXPECT_FALSE(camera->get_possible_options("CAM_BLABLA", options));
  EXPECT_EQ(options.size(), 0);
  }
  +}
  TEST(CameraTest, SetSettings)
  {
  @@ -104,6 +115,7 @@ TEST(CameraTest, SetSettings)
  // Try setting garbage first
  EXPECT_EQ(set_setting(camera, "DOES_NOT", "EXIST"), Camera::Result::ERROR);
  + if (is_e90) {
  std::string value_set;
  EXPECT_EQ(set_setting(camera, "CAM_PHOTOQUAL", "1"), Camera::Result::SUCCESS);
  EXPECT_EQ(get_setting(camera, "CAM_PHOTOQUAL", value_set), Camera::Result::SUCCESS);
  @@ -203,3 +215,4 @@ TEST(CameraTest, SetSettings)
  EXPECT_TRUE(camera->get_setting_str("CAM_SHUTTERSPD", description));
  EXPECT_STREQ(description.c_str(), "Shutter Speed");
  }
  +}
  