Refine editor shell asset contract
This commit is contained in:
@@ -38,8 +38,9 @@ TEST(EditorShellAssetValidationTest, DefaultShellAssetPassesValidation) {
|
||||
ASSERT_EQ(
|
||||
shellAsset.shellDefinition.workspacePresentations.size(),
|
||||
shellAsset.panelRegistry.panels.size());
|
||||
ASSERT_EQ(shellAsset.shellDefinition.statusSegments.size(), 1u);
|
||||
ASSERT_EQ(shellAsset.shellDefinition.statusSegments.size(), 2u);
|
||||
EXPECT_EQ(shellAsset.shellDefinition.statusSegments.front().label, "Editor Shell");
|
||||
EXPECT_EQ(shellAsset.shellDefinition.statusSegments.back().label, "editor-foundation-root");
|
||||
EXPECT_EQ(
|
||||
shellAsset.shellDefinition.workspacePresentations.front().panelId,
|
||||
"editor-foundation-root");
|
||||
|
||||
Reference in New Issue
Block a user