|
Java => qq |
class t02_14 {
public static boolean got14(){
try {
Class c = Class.forName( "java.lang.CharSequence" ) ;
}
catch (ClassNotFoundException cnfe){
return false ;
}
return true ;
}
}
|,
NAME => 't02_14' ,
) ;
BEGIN {
my $got14 = t02_14::t02_14->got14() ;
if (! $got14 ){
plan( tests => 0) ;
exit (0) ;
}
plan( tests => 4) ;
}
Java => 'DATA' ,
) ;
my $t = new types2_1() ;
{
ok( $t ->_CharSequence( undef ), undef ) ;
ok( $t ->_CharSequence(0), "0" ) ;
ok( $t ->_CharSequence( "charsequence" ), "charsequence" ) ;
}
ok( $t ->__get_private()->{proto}->ObjectCount(), 1) ;
|