blob: de04942635cc614dcf489766d2aed142776855a0 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001#
2# Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# This code is free software; you can redistribute it and/or modify it
6# under the terms of the GNU General Public License version 2 only, as
7# published by the Free Software Foundation.
8#
9# This code is distributed in the hope that it will be useful, but WITHOUT
10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12# version 2 for more details (a copy is included in the LICENSE file that
13# accompanied this code).
14#
15# You should have received a copy of the GNU General Public License version
16# 2 along with this work; if not, write to the Free Software Foundation,
17# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18#
19# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20# CA 95054 USA or visit www.sun.com if you need additional information or
21# have any questions.
22#
23
24# @test
25# @bug 4911536
26# @summary This test verifies that the new implementation of rmic
27# generates equivalent classes as the old implementation, for a set
28# of sample input classes.
29# @author Peter Jones
30#
31# @build AgentServerImpl
32# @build AppleImpl
33# @build AppleUserImpl
34# @build ComputeServerImpl
35# @build CountServerImpl
36# @build DayTimeServerImpl
37# @build G1Impl
38# @build MyObjectImpl
39# @build NotActivatableServerImpl
40# @build OrangeEchoImpl
41# @build OrangeImpl
42# @build ServerImpl
43# @run shell run.sh
44
45if [ "${TESTJAVA}" = "" ]
46then
47 echo "TESTJAVA not set. Test cannot execute. Failed."
48 exit 1
49fi
50
51set -ex
52
53#
54# miscellaneous remote classes collected from other tests
55#
56
57sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \
58 AgentServerImpl \
59 AppleImpl \
60 AppleUserImpl \
61 ComputeServerImpl \
62 CountServerImpl \
63 DayTimeServerImpl \
64 G1Impl \
65 MyObjectImpl \
66 NotActivatableServerImpl \
67 OrangeEchoImpl \
68 OrangeImpl \
69 ServerImpl
70
71#
72# remote classes in the J2SE implementation
73#
74
75sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \
76 sun.rmi.registry.RegistryImpl \
77 sun.rmi.server.Activation\$ActivationMonitorImpl \
78 sun.rmi.server.Activation\$ActivationSystemImpl \
79 sun.rmi.server.Activation\$ActivatorImpl \
80 java.rmi.activation.ActivationGroup