{lyn7298} removing PythonBuilderRequestBus from PythonAssetBuilder (#6115)
* {lyn7298} removing PythonBuilderRequestBus from PythonAssetBuilder
* PythonBuilderRequestBus is a depreciated event bus
* removing the unsupported API
Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>
* removing the PythonBuilderRequestBus_Behavior_Exists test
Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>
This commit is contained in:
@@ -106,17 +106,4 @@ namespace UnitTest
|
||||
PythonBuilderNotificationBus::Event(builderId, &PythonBuilderNotificationBus::Events::OnCancel);
|
||||
EXPECT_EQ(1, mockJobHandler.m_onCancelCount);
|
||||
}
|
||||
|
||||
TEST_F(PythonBuilderProcessJobTest, PythonBuilderRequestBus_Behavior_Exists)
|
||||
{
|
||||
using namespace PythonAssetBuilder;
|
||||
using namespace AssetBuilderSDK;
|
||||
|
||||
RegisterAssetBuilder(m_app.get(), m_systemEntity);
|
||||
|
||||
auto entry = m_app->GetBehaviorContext()->m_ebuses.find("PythonBuilderRequestBus");
|
||||
ASSERT_NE(m_app->GetBehaviorContext()->m_ebuses.end(), entry);
|
||||
EXPECT_NE(entry->second->m_events.end(), entry->second->m_events.find("WriteSliceFile"));
|
||||
EXPECT_NE(entry->second->m_events.end(), entry->second->m_events.find("CreateEditorEntity"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user