--| Copyright (c) 1993-2006 University of Southern California and contributors. --| All rights reserved. --| Your use of this work is governed under the terms of the GNU General --| Public License version 2. -- This is a test control file test_name switch-parents-assertion-order test_description After initial compilation, the order of two parent classes in an inheritance clause is switched. After recompilation, alternate postconditions of an inherited routine should be evaluated in a different order, but they are not. copy_sub Ace $TEST Ace define PARENTS "TEST1; TEST2" copy_sub test.e $CLUSTER test.e copy_raw test1.e $CLUSTER test1.e copy_raw test2.e $CLUSTER test2.e copy_raw shared.e $CLUSTER shared.e compile_melted compile_result ok execute_work NONE exec_output1 execute_result ok compare exec_output1 output1 define PARENTS "TEST2; TEST1" copy_sub test.e $CLUSTER test.e compile_melted compile_result ok execute_work NONE exec_output2 execute_result ok compare exec_output2 output1 cleanup_compile compile_melted compile_result ok execute_work NONE exec_output3 execute_result ok compare exec_output3 output2 test_end