Test Class
Contains methods for automated testing of your Canvas classes.
Use this class to test your implementation of Canvas.CanvasLifecycleHandler with mock test data. You can create a test Canvas.RenderContext with mock application and environment context data and use this data to verify that your CanvasLifecycleHandler is being invoked correctly.
-
The Test class provides constants that are used as keys when you set mock application and environment context data.
-
The Test class provides methods for creating test contexts and invoking your CanvasLifecycleHandler with mock data.
See Also