You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Catch-by-reference for tests/Clip_Tests
This commit is contained in:
@@ -128,7 +128,7 @@ TEST(Clip_Properties)
|
||||
CHECK_EQUAL(true, root["alpha"]["keyframe"].asBool());
|
||||
|
||||
}
|
||||
catch (exception e)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
// Error parsing JSON (or missing keys)
|
||||
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
|
||||
@@ -153,7 +153,7 @@ TEST(Clip_Properties)
|
||||
CHECK_EQUAL(false, root["alpha"]["keyframe"].asBool());
|
||||
|
||||
}
|
||||
catch (exception e)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
// Error parsing JSON (or missing keys)
|
||||
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
|
||||
@@ -177,7 +177,7 @@ TEST(Clip_Properties)
|
||||
CHECK_EQUAL(false, root["alpha"]["keyframe"].asBool());
|
||||
|
||||
}
|
||||
catch (exception e)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
// Error parsing JSON (or missing keys)
|
||||
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
|
||||
@@ -202,7 +202,7 @@ TEST(Clip_Properties)
|
||||
CHECK_EQUAL(true, root["alpha"]["keyframe"].asBool());
|
||||
|
||||
}
|
||||
catch (exception e)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
// Error parsing JSON (or missing keys)
|
||||
throw InvalidJSON("JSON is invalid (missing keys or invalid data types)", "");
|
||||
|
||||
Reference in New Issue
Block a user