You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Clip_Tests.cpp: No InvalidJSON "" file_path args
This commit is contained in:
@@ -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)");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user