Class AbstractWidgetDeclarationSpringTest


  • public abstract class AbstractWidgetDeclarationSpringTest
    extends java.lang.Object
    • Constructor Detail

      • AbstractWidgetDeclarationSpringTest

        public AbstractWidgetDeclarationSpringTest()
    • Method Detail

      • prepareTestInstance

        public void prepareTestInstance()
      • testWidgetController

        public void testWidgetController()
      • testSocketUniqueness

        public void testSocketUniqueness()
      • testSocketTypeExists

        public void testSocketTypeExists()
      • testInputSocketNameAndTypeCompatibility

        public void testInputSocketNameAndTypeCompatibility()
                                                     throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • testForwardSocketEvents

        public void testForwardSocketEvents()
      • socketInputsShouldBeSerializable

        public void socketInputsShouldBeSerializable()
        Verifies if socket inputs declared in definition.xml files are serializable, what is required to work with Angular.js framework properly. This test is executed only if test class deriving from this class is annotated with @SocketsAreJsonSerializable annotation
      • socketOutputsShouldBeSerializable

        public void socketOutputsShouldBeSerializable()
        Verifies if socket outputs declared in definition.xml files are serializable, what is required to work with Angular.js framework properly. This test is executed only if test class deriving from this class is annotated with @SocketsAreJsonSerializable annotation
      • assertThatObjectIsJsonSerializable

        public void assertThatObjectIsJsonSerializable​(java.lang.Object object,
                                                       java.lang.String socketName)