mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
test initializer: remove a invalid test case.
This test depends on the machine environment. it's not guaranteed the same result so we remove it.
This commit is contained in:
parent
37e39866dd
commit
775a0bcb1d
1 changed files with 0 additions and 6 deletions
|
@ -48,12 +48,6 @@ TEST_CASE("Negative termination", "[tvgInitializer]")
|
||||||
REQUIRE(Initializer::term(CanvasEngine::Sw) == Result::InsufficientCondition);
|
REQUIRE(Initializer::term(CanvasEngine::Sw) == Result::InsufficientCondition);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("Many threads", "[tvgInitializer]")
|
|
||||||
{
|
|
||||||
REQUIRE(Initializer::init(CanvasEngine::Sw, -1) == Result::FailedAllocation);
|
|
||||||
REQUIRE(Initializer::term(CanvasEngine::Sw) == Result::InsufficientCondition);
|
|
||||||
}
|
|
||||||
|
|
||||||
TEST_CASE("Invalid engine", "[tvgInitializer]")
|
TEST_CASE("Invalid engine", "[tvgInitializer]")
|
||||||
{
|
{
|
||||||
REQUIRE(Initializer::init(CanvasEngine(0), 0) == Result::InvalidArguments);
|
REQUIRE(Initializer::init(CanvasEngine(0), 0) == Result::InvalidArguments);
|
||||||
|
|
Loading…
Add table
Reference in a new issue