Package org.objectweb.speedo.generation.start

Examples of org.objectweb.speedo.generation.start.Main$MyArrayList


        myList.addAll(42, new String[]{"fail"});
    }

    @Test(expected = NullPointerException.class)
    public void testMyList_Illegal5() {
        myList = new MyArrayList();
        myList.addAll(new String[]{"norm"});
        myList.addAll(0, null);
    }
View Full Code Here


        myList.addAll(0, null);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testMyList_Illegal6() {
        myList = new MyArrayList();
        myList.addAll(new String[]{"norm"});
        myList.get(42);
    }
View Full Code Here

        myList.get(42);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testMyList_Illegal7() {
        myList = new MyArrayList();
        myList.get(-1);
    }
View Full Code Here

        myList.get(-1);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testMyList_Illegal8() {
        myList = new MyArrayList();
        myList.remove(-1);
    }
View Full Code Here

        myList.remove(-1);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testMyList_Illegal9() {
        myList = new MyArrayList();
        myList.set(-1, "fail");
    }
View Full Code Here

TOP

Related Classes of org.objectweb.speedo.generation.start.Main$MyArrayList

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.