bool TestExtOptions::test_get_cfg_var() {
  try {
    f_get_cfg_var("");
  } catch (NotSupportedException e) {
    return Count(true);
  }
  return Count(false);
}
Esempio n. 2
0
bool TestExtOptions::test_get_loaded_extensions() {
  VERIFY(!f_get_loaded_extensions().empty());
  return Count(true);
}

bool TestExtOptions::test_get_extension_funcs() {
  try {
    f_get_extension_funcs("");
  } catch (const NotSupportedException& e) {
    return Count(true);
  }
  return Count(false);
}

bool TestExtOptions::test_get_cfg_var() {
  VERIFY(!f_get_cfg_var(""))
  return Count(true);
}

bool TestExtOptions::test_get_current_user() {
  f_get_current_user();
  return Count(true);
}

bool TestExtOptions::test_get_defined_constants() {
  try {
    f_get_defined_constants(true);
    return Count(false);
  } catch (const NotSupportedException& e) {
    return Count(true);
  }