Examples of outerClassString()


Examples of org.apache.harmony.pack200.IcTuple.outerClassString()

        tuple.C = "orw/SimpleHelloWorld$SimpleHelloWorldInner";
        tuple.C2 = null;
        tuple.F = 0;
        tuple.N = null;
        assertEquals("SimpleHelloWorldInner", tuple.simpleClassName());
        assertEquals("orw/SimpleHelloWorld", tuple.outerClassString());

        tuple = new IcTuple();
        tuple.C = "java/util/AbstractList$2$Local";
        tuple.C2 = null;
        tuple.F = 0;
View Full Code Here

Examples of org.apache.harmony.pack200.IcTuple.outerClassString()

        tuple.C = "java/util/AbstractList$2$Local";
        tuple.C2 = null;
        tuple.F = 0;
        tuple.N = null;
        assertEquals("Local", tuple.simpleClassName());
        assertEquals("java/util/AbstractList$2", tuple.outerClassString());

        tuple = new IcTuple();
        tuple.C = "java/util/AbstractList#2#Local";
        tuple.C2 = null;
        tuple.F = 0;
View Full Code Here

Examples of org.apache.harmony.pack200.IcTuple.outerClassString()

        tuple.C = "java/util/AbstractList#2#Local";
        tuple.C2 = null;
        tuple.F = 0;
        tuple.N = null;
        assertEquals("Local", tuple.simpleClassName());
        assertEquals("java/util/AbstractList$2", tuple.outerClassString());

        tuple = new IcTuple();
        tuple.C = "java/util/AbstractList$1";
        tuple.C2 = null;
        tuple.F = 0;
View Full Code Here

Examples of org.apache.harmony.pack200.IcTuple.outerClassString()

        tuple.C = "java/util/AbstractList$1";
        tuple.C2 = null;
        tuple.F = 0;
        tuple.N = null;
        assertEquals("1", tuple.simpleClassName());
        assertEquals("java/util/AbstractList", tuple.outerClassString());
    }

    public void testExplicitClassTupleParsing() {
        IcTuple tuple = new IcTuple();
        tuple.C = "Foo$$2$Local";
View Full Code Here

Examples of org.apache.harmony.pack200.IcTuple.outerClassString()

        tuple.C = "Foo$$2$Local";
        tuple.C2 = null;
        tuple.F = IcTuple.NESTED_CLASS_FLAG;
        tuple.N = "$2$Local";
        assertEquals("$2$Local", tuple.simpleClassName());
        assertEquals(null, tuple.outerClassString());

        tuple = new IcTuple();
        tuple.C = "Red$Herring";
        tuple.C2 = "Red$Herring";
        tuple.F = IcTuple.NESTED_CLASS_FLAG;
View Full Code Here

Examples of org.apache.harmony.pack200.IcTuple.outerClassString()

        tuple.C = "Red$Herring";
        tuple.C2 = "Red$Herring";
        tuple.F = IcTuple.NESTED_CLASS_FLAG;
        tuple.N = null;
        assertEquals(null, tuple.simpleClassName());
        assertEquals("Red$Herring", tuple.outerClassString());

        tuple = new IcTuple();
        tuple.C = "X$1$Q";
        tuple.C2 = "X$1";
        tuple.F = IcTuple.NESTED_CLASS_FLAG;
View Full Code Here

Examples of org.apache.harmony.pack200.IcTuple.outerClassString()

        tuple.C = "X$1$Q";
        tuple.C2 = "X$1";
        tuple.F = IcTuple.NESTED_CLASS_FLAG;
        tuple.N = "Q";
        assertEquals("Q", tuple.simpleClassName());
        assertEquals("X$1", tuple.outerClassString());
    }
}
View Full Code Here

Examples of org.apache.harmony.unpack200.IcTuple.outerClassString()

    public void testPredictedClassTupleParsing() {
        IcTuple tuple = new IcTuple(
                "orw/SimpleHelloWorld$SimpleHelloWorldInner", 0, null, null,
                -1, -1, -1);
        assertEquals("SimpleHelloWorldInner", tuple.simpleClassName());
        assertEquals("orw/SimpleHelloWorld", tuple.outerClassString());

        tuple = new IcTuple("java/util/AbstractList$2$Local", 0, null, null,
                -1, -1, -1);
        assertEquals("Local", tuple.simpleClassName());
        assertEquals("java/util/AbstractList$2", tuple.outerClassString());
View Full Code Here

Examples of org.apache.harmony.unpack200.IcTuple.outerClassString()

        assertEquals("orw/SimpleHelloWorld", tuple.outerClassString());

        tuple = new IcTuple("java/util/AbstractList$2$Local", 0, null, null,
                -1, -1, -1);
        assertEquals("Local", tuple.simpleClassName());
        assertEquals("java/util/AbstractList$2", tuple.outerClassString());

        tuple = new IcTuple("java/util/AbstractList#2#Local", 0, null, null,
                -1, -1, -1);
        assertEquals("Local", tuple.simpleClassName());
        assertEquals("java/util/AbstractList$2", tuple.outerClassString());
View Full Code Here

Examples of org.apache.harmony.unpack200.IcTuple.outerClassString()

        assertEquals("java/util/AbstractList$2", tuple.outerClassString());

        tuple = new IcTuple("java/util/AbstractList#2#Local", 0, null, null,
                -1, -1, -1);
        assertEquals("Local", tuple.simpleClassName());
        assertEquals("java/util/AbstractList$2", tuple.outerClassString());

        tuple = new IcTuple("java/util/AbstractList$1", 0, null, null, -1, -1,
                -1);
        assertEquals("1", tuple.simpleClassName());
        assertEquals("java/util/AbstractList", tuple.outerClassString());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.