ScriptCanvasTestingSystemComponent.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzCore/Component/Component.h>
  10. #include <ScriptCanvas/Bus/ScriptCanvasExecutionBus.h>
  11. #include <ScriptCanvas/Bus/UnitTestVerificationBus.h>
  12. namespace ScriptCanvasTesting
  13. {
  14. class ScriptCanvasTestingSystemComponent
  15. : public AZ::Component
  16. , public ScriptCanvasEditor::UnitTestVerificationBus::Handler
  17. {
  18. public:
  19. AZ_COMPONENT(ScriptCanvasTestingSystemComponent, "{4D0AA0FD-8451-4AA3-883E-82ADB1C44568}");
  20. static void Reflect(AZ::ReflectContext* context);
  21. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
  22. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
  23. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
  24. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent);
  25. ScriptCanvasEditor::UnitTestResult Verify(ScriptCanvasEditor::Reporter reporter) override;
  26. protected:
  27. ////////////////////////////////////////////////////////////////////////
  28. // AZ::Component...
  29. void Init() override;
  30. void Activate() override;
  31. void Deactivate() override;
  32. ////////////////////////////////////////////////////////////////////////
  33. };
  34. }