tests: remove legacy test tree
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
#include "fixtures/OpenGLTestFixture.h"
|
||||
#include "XCEngine/RHI/OpenGL/OpenGLDevice.h"
|
||||
|
||||
using namespace XCEngine::RHI;
|
||||
|
||||
TEST_F(OpenGLTestFixture, Device_InitializeWithExistingWindow) {
|
||||
OpenGLDevice device;
|
||||
HWND existingWindow = GetWindow();
|
||||
|
||||
bool result = device.InitializeWithExistingWindow(existingWindow);
|
||||
|
||||
ASSERT_TRUE(result);
|
||||
}
|
||||
|
||||
TEST_F(OpenGLTestFixture, Device_GetDeviceInfo_ReturnsValid) {
|
||||
OpenGLDevice device;
|
||||
device.InitializeWithExistingWindow(GetWindow());
|
||||
|
||||
const auto& info = device.GetDeviceInfo();
|
||||
|
||||
EXPECT_FALSE(info.vendor.empty());
|
||||
EXPECT_FALSE(info.renderer.empty());
|
||||
EXPECT_GE(info.majorVersion, 3);
|
||||
EXPECT_GE(info.minorVersion, 0);
|
||||
}
|
||||
Reference in New Issue
Block a user