Fix compilation of tests under Linux
hopefully works now under Linux and Windows
This commit is contained in:
parent
1c4f485b10
commit
b955a6b79f
|
@ -446,7 +446,7 @@ void OverallTests::checkMkvTestfileHandbrakeChapters()
|
|||
switch (chapter->id()) {
|
||||
case 1:
|
||||
CPPUNIT_ASSERT_EQUAL("Kapitel 01"s, static_cast<const string &>(chapter->names().at(0)));
|
||||
CPPUNIT_ASSERT_EQUAL(0ll, chapter->startTime().totalTicks());
|
||||
CPPUNIT_ASSERT_EQUAL(static_cast<int64>(0), chapter->startTime().totalTicks());
|
||||
CPPUNIT_ASSERT_EQUAL(15, chapter->endTime().seconds());
|
||||
break;
|
||||
case 2:
|
||||
|
|
|
@ -95,7 +95,7 @@ void UtilitiesTests::testTagTarget()
|
|||
{
|
||||
TagTarget target;
|
||||
CPPUNIT_ASSERT(target.isEmpty());
|
||||
CPPUNIT_ASSERT_EQUAL_MESSAGE("default level is 50", 50ull, target.level());
|
||||
CPPUNIT_ASSERT_EQUAL_MESSAGE("default level is 50", static_cast<uint64>(50), target.level());
|
||||
CPPUNIT_ASSERT_EQUAL("level 50"s, target.toString(TagTargetLevel::Unspecified));
|
||||
target = TagTarget(30, { 1, 2, 3 }, { 4 }, { 5, 6 }, { 7, 8, 9 });
|
||||
CPPUNIT_ASSERT(!target.isEmpty());
|
||||
|
|
Loading…
Reference in New Issue