Initial revision
From-SVN: r102074
This commit is contained in:
parent
6f4434b39b
commit
f911ba985a
4557 changed files with 1000262 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
import java.util.*;
|
||||
|
||||
public class ResourceBundleTest
|
||||
{
|
||||
public static void main(String args[])
|
||||
{
|
||||
try {
|
||||
ResourceBundle messageRB =
|
||||
ResourceBundle.getBundle("sun.tools.javac.resources.javac");
|
||||
|
||||
String bundle = (String)messageRB.getObject("main.usage");
|
||||
if (null == bundle)
|
||||
throw new Exception("javac.main.usage resource is null");
|
||||
|
||||
System.out.println("PASSED: Resource javac.main.usage existed");
|
||||
} catch (Exception e) {
|
||||
System.out.println("FAILED: " + e);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
import java.util.*;
|
||||
|
||||
public class SimpleTimeZoneTest
|
||||
{
|
||||
public static void main(String args[])
|
||||
{
|
||||
try {
|
||||
SimpleTimeZone gmt = new SimpleTimeZone(0, "GMT");
|
||||
System.out.println("PASSED: timezone="+gmt.toString());
|
||||
} catch (Exception e) {
|
||||
System.out.println("FAILED: "+e);
|
||||
}
|
||||
}
|
||||
}
|
7
libjava/classpath/testsuite/java.util/execute.exp
Normal file
7
libjava/classpath/testsuite/java.util/execute.exp
Normal file
|
@ -0,0 +1,7 @@
|
|||
#
|
||||
# Author: Petter Reinholdtsen <pere@td.org.uit.no>
|
||||
|
||||
# Load support procs
|
||||
load_lib java.exp
|
||||
|
||||
test-java-source
|
Loading…
Add table
Add a link
Reference in a new issue