2018-05-11 09:44:37 +02:00
|
|
|
/*
|
2018-09-18 09:11:08 +02:00
|
|
|
* Copyright (C) 2018 Intel Corporation
|
2018-05-11 09:44:37 +02:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-05-11 09:44:37 +02:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2018-06-12 09:42:47 +02:00
|
|
|
#include "runtime/helpers/hw_info.h"
|
2018-05-11 09:44:37 +02:00
|
|
|
#include "runtime/os_interface/windows/wddm/wddm.h"
|
2018-05-18 10:18:16 +02:00
|
|
|
#include "unit_tests/helpers/debug_manager_state_restore.h"
|
2018-05-11 09:44:37 +02:00
|
|
|
#include "test.h"
|
|
|
|
|
|
2018-05-18 10:18:16 +02:00
|
|
|
#include <typeinfo>
|
|
|
|
|
|
2018-05-11 09:44:37 +02:00
|
|
|
using namespace OCLRT;
|
|
|
|
|
|
2018-05-18 10:18:16 +02:00
|
|
|
TEST(wddmCreateTests, givenInputVersionWhenCreatingThenCreateRequestedObject) {
|
2018-08-14 11:05:17 +02:00
|
|
|
std::unique_ptr<Wddm> wddm(Wddm::createWddm());
|
|
|
|
|
EXPECT_EQ(typeid(*wddm.get()), typeid(Wddm));
|
2018-05-11 09:44:37 +02:00
|
|
|
}
|