|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/usr/share/junit/samples/ |
Upload File : |
Êþº¾ . ‚ junit/samples/VectorTest junit/framework/TestCase fEmpty Ljava/util/Vector; fFull class$0 Ljava/lang/Class; Synthetic <init> ()V Code
LineNumberTable LocalVariableTable this Ljunit/samples/VectorTest; main ([Ljava/lang/String;)V suite ()Ljunit/framework/Test;
junit/textui/TestRunner run 4(Ljunit/framework/Test;)Ljunit/framework/TestResult;
args [Ljava/lang/String; setUp java/util/Vector #
$ & ( java/lang/Integer * (I)V ,
+ -
addElement (Ljava/lang/Object;)V / 0
$ 1 junit/framework/TestSuite 3 5 junit.samples.VectorTest 7 java/lang/Class 9 forName %(Ljava/lang/String;)Ljava/lang/Class; ; <
: = java/lang/NoClassDefFoundError ? java/lang/Throwable A
getMessage ()Ljava/lang/String; C D
B E (Ljava/lang/String;)V G
@ H (Ljava/lang/Class;)V J
4 K java/lang/ClassNotFoundException M testCapacity size ()I P Q
$ R
assertTrue (Z)V T U
V I i testClone clone ()Ljava/lang/Object; [ \
$ ] contains (Ljava/lang/Object;)Z _ `
$ a testContains
testElementAt elementAt (I)Ljava/lang/Object; e f
$ g intValue i Q
+ j .Should raise an ArrayIndexOutOfBoundsException l fail n G
o (java/lang/ArrayIndexOutOfBoundsException q Ljava/lang/Integer;
testRemoveAll removeAllElements u
$ v isEmpty ()Z x y
$ z testRemoveElement
removeElement } `
$ ~
SourceFile VectorTest.java !
/ *· ±
6 ¸ ¸ W±
! "