chore: checkpoint current workspace changes
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <XCEngine/Core/Asset/ArtifactContainer.h>
|
||||
#include <XCEngine/Resources/UI/UIDocumentCompiler.h>
|
||||
#include <XCEngine/Resources/UI/UIDocumentLoaders.h>
|
||||
|
||||
@@ -103,6 +104,13 @@ TEST(UISchemaDocument, CompileAndArtifactLoadPopulateSchemaDefinition) {
|
||||
WriteUIDocumentArtifact(artifactPath.string().c_str(), compileResult, &artifactWriteError))
|
||||
<< artifactWriteError.CStr();
|
||||
|
||||
XCEngine::Containers::Array<XCEngine::Core::uint8> artifactPayload;
|
||||
ASSERT_TRUE(ReadArtifactContainerMainEntryPayload(
|
||||
artifactPath.string().c_str(),
|
||||
ResourceType::UISchema,
|
||||
artifactPayload));
|
||||
EXPECT_FALSE(artifactPayload.Empty());
|
||||
|
||||
UIDocumentCompileResult artifactResult = {};
|
||||
ASSERT_TRUE(LoadUIDocumentArtifact(
|
||||
artifactPath.string().c_str(),
|
||||
|
||||
Reference in New Issue
Block a user