Class SerializationDebugUtil

java.lang.Object
com.vaadin.testbench.uiunittest.SerializationDebugUtil

public final class SerializationDebugUtil extends Object
  • Method Details

    • assertSerializable

      public static void assertSerializable(Object root, StringBuilder report)
      Asserts that the given object graph is fully serializable. If not, throws an AssertionError with a detailed report of non-serializable fields found.
      Parameters:
      root - the root object to test for serializability
    • assertSerializable

      public static void assertSerializable(Object root)
      Asserts that the given object graph is fully serializable. If not, throws an AssertionError with a detailed report of non-serializable fields found.
      Parameters:
      root - the root object to test for serializability