[0.4.14][ACPI_APITEST] Mark test failures as todos ROSTESTS-360

This is a true unit test and runs the same code on Windows as it does on
ROS, so this uses unconditional todos rather than todo_ros.
This avoids test failures on Windows and hopefully makes things less
confusing.

Those tests were once introduced by 0.4.14-dev-1383-g9bcd835 9bcd835074

fix ported back from 0.4.15-dev-5649-g d5999c6b66
This commit is contained in:
Joachim Henze 2023-02-21 00:20:15 +01:00
parent 0d1186afa3
commit c6a6ee97fc

View file

@ -2,7 +2,7 @@
* PROJECT: ReactOS API Tests
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
* PURPOSE: Unit Tests for acpi!Bus_PDO_QueryResourceRequirements
* COPYRIGHT: Copyright 2017-2020 Thomas Faber (thomas.faber@reactos.org)
* COPYRIGHT: Copyright 2017-2023 Thomas Faber (thomas.faber@reactos.org)
*/
#include <apitest.h>
@ -501,6 +501,7 @@ START_TEST(Bus_PDO_QueryResourceRequirements)
ok(ReqList->InterfaceType == Internal, "InterfaceType = %u\n", ReqList->InterfaceType);
ok(ReqList->BusNumber == 0, "BusNumber = %lu\n", ReqList->BusNumber);
ok(ReqList->SlotNumber == 0, "SlotNumber = %lu\n", ReqList->SlotNumber);
todo_if(1)
ok(ReqList->AlternativeLists == 2, "AlternativeLists = %lu\n", ReqList->AlternativeLists);
ok(ReqList->List[0].Version == 1, "List[0].Version = %u\n", ReqList->List[0].Version);
ok(ReqList->List[0].Revision == 1, "List[0].Revision = %u\n", ReqList->List[0].Revision);
@ -525,6 +526,7 @@ START_TEST(Bus_PDO_QueryResourceRequirements)
expect_irq(&ReqList2->Descriptors[5], IO_RESOURCE_ALTERNATIVE, CmResourceShareDeviceExclusive, 7, 7);
}
ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList));
todo_if(1)
ok_int(ReqList->ListSize, (ULONG_PTR)&ReqList2->Descriptors[6] - (ULONG_PTR)ReqList);
ExFreePoolWithTag(ReqList, 'RpcA');
}