Clip_Tests.cpp: No InvalidJSON "" file_path args

This commit is contained in:
FeRD (Frank Dana)
2019-08-27 15:49:22 -04:00
parent 291719ff05
commit 18c8b61b25

View File

@@ -120,7 +120,7 @@ TEST(Clip_Properties)
if (!success)
// Raise exception
throw InvalidJSON("JSON could not be parsed (or is invalid)", "");
throw InvalidJSON("JSON could not be parsed (or is invalid)");
try
{
@@ -132,7 +132,7 @@ TEST(Clip_Properties)
catch (const std::exception& e)
{
// Error parsing JSON (or missing keys)
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)");
}
@@ -145,7 +145,7 @@ TEST(Clip_Properties)
properties.c_str() + properties.size(), &root, &errors );
if (!success)
// Raise exception
throw InvalidJSON("JSON could not be parsed (or is invalid)", "");
throw InvalidJSON("JSON could not be parsed (or is invalid)");
try
{
@@ -157,7 +157,7 @@ TEST(Clip_Properties)
catch (const std::exception& e)
{
// Error parsing JSON (or missing keys)
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)");
}
@@ -170,7 +170,7 @@ TEST(Clip_Properties)
properties.c_str() + properties.size(), &root, &errors );
if (!success)
// Raise exception
throw InvalidJSON("JSON could not be parsed (or is invalid)", "");
throw InvalidJSON("JSON could not be parsed (or is invalid)");
try
{
@@ -181,7 +181,7 @@ TEST(Clip_Properties)
catch (const std::exception& e)
{
// Error parsing JSON (or missing keys)
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)");
}
@@ -194,7 +194,7 @@ TEST(Clip_Properties)
properties.c_str() + properties.size(), &root, &errors );
if (!success)
// Raise exception
throw InvalidJSON("JSON could not be parsed (or is invalid)", "");
throw InvalidJSON("JSON could not be parsed (or is invalid)");
try
{
@@ -206,7 +206,7 @@ TEST(Clip_Properties)
catch (const std::exception& e)
{
// Error parsing JSON (or missing keys)
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)");
}