Gems/Atom/RPI/Code/Tests/Model/ModelTests.cpp
TEST_F(ModelTests, AddLodStreamBufferNoBegin)
    {
        using namespace AZ;

        Data::Asset<RPI::BufferAsset> validStreamBuffer = BuildTestBuffer(10, sizeof(float) * 3);

        ErrorMessageFinder messageFinder("Begin() was not called");

        RPI::ModelLodAssetCreator creator;
        creator.AddLodStreamBuffer(validStreamBuffer);
    }
// Tests that if we call AddLodStreamBuffer without calling
// Begin first on the ModelLodAssetCreator that it
// fails as expected.
Tests that if we call AddLodStreamBuffer without calling
Begin first on the ModelLodAssetCreator that it
fails as expected.
Tests that if we call AddLodStreamBuffer without calling Begin first on the ModelLodAssetCreator that it fails as expected .
TEST_F(ModelTests, AddLodStreamBufferNoBegin)
    {
        using namespace AZ;
        Data::Asset<RPI::BufferAsset> validStreamBuffer = BuildTestBuffer(10, sizeof(float) * 3);
        ErrorMessageFinder messageFinder("Begin() was not called");
        RPI::ModelLodAssetCreator creator;
        creator.AddLodStreamBuffer(validStreamBuffer);
    }
TEST_F ( ModelTests , AddLodStreamBufferNoBegin ) { using namespace AZ ; Data :: Asset < RPI :: BufferAsset > validStreamBuffer = BuildTestBuffer ( 10 , sizeof ( float ) * 3 ) ; ErrorMessageFinder messageFinder ( " " ) ; RPI :: ModelLodAssetCreator creator ; creator . AddLodStreamBuffer ( validStreamBuffer ) ; }
Tests that if we call AddLodStreamBuffer without calling
Begin first on the ModelLodAssetCreator that it
fails as expected.
Tests that if we call AddLodStreamBuffer without calling Begin first on the ModelLodAssetCreator that it fails as expected .