Package org.apache.harmony.beans.tests.java.beans.XMLEncoderTest

Examples of org.apache.harmony.beans.tests.java.beans.XMLEncoderTest.DependencyBean


    }

    public void testReadObject_PropertyDependency() {
        XMLDecoder dec = new XMLDecoder(this.getClass().getResourceAsStream(
                "/xml/DependencyBean.xml"));
        DependencyBean b = (DependencyBean) dec.readObject();
        assertEquals(888, b.getInts()[0]);
        assertSame(b.getInts(), b.getRef());
    }
View Full Code Here


    }

    public void testReadObject_PropertyDependency() {
        XMLDecoder dec = new XMLDecoder(this.getClass().getResourceAsStream(
                "/xml/DependencyBean.xml"));
        DependencyBean b = (DependencyBean) dec.readObject();
        assertEquals(888, b.getInts()[0]);
        assertSame(b.getInts(), b.getRef());
    }
View Full Code Here

    }

    public void testReadObject_PropertyDependency() {
        XMLDecoder dec = new XMLDecoder(this.getClass().getResourceAsStream(
                "/xml/DependencyBean.xml"));
        DependencyBean b = (DependencyBean) dec.readObject();
        assertEquals(888, b.getInts()[0]);
        assertSame(b.getInts(), b.getRef());
    }
View Full Code Here

    }

    public void testReadObject_PropertyDependency() {
        XMLDecoder dec = new XMLDecoder(this.getClass().getResourceAsStream(
                "/xml/DependencyBean.xml"));
        DependencyBean b = (DependencyBean) dec.readObject();
        assertEquals(888, b.getInts()[0]);
        assertSame(b.getInts(), b.getRef());
    }
View Full Code Here

    }

    public void testReadObject_PropertyDependency() {
        XMLDecoder dec = new XMLDecoder(this.getClass().getResourceAsStream(
                "/xml/DependencyBean.xml"));
        DependencyBean b = (DependencyBean) dec.readObject();
        assertEquals(888, b.getInts()[0]);
        assertSame(b.getInts(), b.getRef());
    }
View Full Code Here

TOP

Related Classes of org.apache.harmony.beans.tests.java.beans.XMLEncoderTest.DependencyBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.