#include #include #include #include #include #include #include #include #include #include "etwlistener.h" #include #include #include #include #include "TestMediaType.h" #include #include #include #include #include "APOStressTest.h" #include "CAPXHelper.h" using namespace std; using namespace wil; using namespace WEX::Logging; using namespace WEX::Common; #define POLICY_KERNEL_ONECORE_DEVICE_FAMILY_ID L"Kernel-OneCore-DeviceFamilyID" class CAPOThreadingFrameworkTest { CAPOThreadingFrameworkTest(){}; ~CAPOThreadingFrameworkTest(){}; BEGIN_TEST_CLASS(CAPOThreadingFrameworkTest) START_APPVERIFIFER TEST_CLASS_PROPERTY(L"Owner", L"auddev") TEST_CLASS_PROPERTY(L"TestClassification", L"Feature") TEST_CLASS_PROPERTY(L"BinaryUnderTest", L"audiodg.exe") TEST_CLASS_PROPERTY(L"ArtifactUnderTest", L"audioenginebaseapop.h") TEST_CLASS_PROPERTY(L"RunAs", L"Elevated") TEST_CLASS_PROPERTY(L"ThreadingModel", L"MTA") TEST_CLASS_PROPERTY(L"Ignore", L"false") TEST_CLASS_PROPERTY(L"EtwLogger:WPRProfileFile", L"Audio-Tests.wprp") TEST_CLASS_PROPERTY(L"EtwLogger:WPRProfile", L"MultimediaCategory.Verbose.File") END_APPVERIFIER END_TEST_CLASS() public: TEST_METHOD_SETUP(setUpMethod); TEST_METHOD_CLEANUP(tearDownMethod); protected: BEGIN_TEST_METHOD(ThreadingFrameworkTest) COMMON_ONECORE_TEST_PROPERTIES TEST_METHOD_PROPERTY(L"Kits.TestId", L"392B0972-F7EA-42A7-BA24-6304C3C621DB") TEST_METHOD_PROPERTY(L"Kits.TestId2", L"5A5448AF-9D13-44B2-BC0C-D352A9B37268") TEST_METHOD_PROPERTY(L"Kits.TestName", L"Audio APO CAPX - Test the Threading Framework - ThreadingFrameworkTest") TEST_METHOD_PROPERTY(L"Kits.ExpectedRuntime", L"30") TEST_METHOD_PROPERTY(L"Kits.TimeoutInMinutes", L"60") TEST_METHOD_PROPERTY(L"Kits.Description", L"Third Party CAPX APO Test: ThreadingFrameworkTest") APO_TEST_PROPERTIES END_TEST_METHOD() private: DWORD m_dwPlatform = DEVICEFAMILYINFOENUM_UAP; std::vector> m_capxEndpoints; };