Class readExternal_Test

  • All Implemented Interfaces:
    com.sun.javatest.Test

    public class readExternal_Test
    extends com.sun.javatest.lib.MultiTest
    Test: readExternal(ObjectInput);

    The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. We first write out a string object using writeExternal() method and then read it back, if both string values match then this testcase passes, otherwise it fails.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.sun.javatest.lib.MultiTest

        com.sun.javatest.lib.MultiTest.SetupException
    • Field Summary

      • Fields inherited from class com.sun.javatest.lib.MultiTest

        excludeTestCases, log, ref, testArgTypes, testCases, testClass, testMethods
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] argv)  
      com.sun.javatest.Status readExternalTest()  
      • Methods inherited from class com.sun.javatest.lib.MultiTest

        decodeAllArgs, decodeArg, getAllTestCases, getTestCase, init, init, invokeTestCase, reverse, run, run
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • readExternal_Test

        public readExternal_Test()
    • Method Detail

      • main

        public static void main​(java.lang.String[] argv)
      • readExternalTest

        public com.sun.javatest.Status readExternalTest()