BoxingConversionTest.java (791:2199365892b1) | BoxingConversionTest.java (1006:95fc7fd39be2) |
---|---|
1/* 2 * Copyright (c) 2010, Oracle and/or its affiliates. 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 * --- 104 unchanged lines hidden (view full) --- 113 abstract Type[] getFromTypes(BoxingConversionTest harness); 114 abstract Type[] getToTypes(BoxingConversionTest harness); 115 abstract Result[][] getResults(BoxingConversionTest harness); 116 } 117 118 static final Result T = Result.OK_BOTH; 119 static final Result F = Result.FAIL_BOTH; 120 static final Result A = Result.OK_ASSIGN_ONLY; | 1/* 2 * Copyright (c) 2010, Oracle and/or its affiliates. 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 * --- 104 unchanged lines hidden (view full) --- 113 abstract Type[] getFromTypes(BoxingConversionTest harness); 114 abstract Type[] getToTypes(BoxingConversionTest harness); 115 abstract Result[][] getResults(BoxingConversionTest harness); 116 } 117 118 static final Result T = Result.OK_BOTH; 119 static final Result F = Result.FAIL_BOTH; 120 static final Result A = Result.OK_ASSIGN_ONLY; |
121 static final Result X = Result.FAIL_BOTH.FAIL_BOTH; | |
122 123 Result[][] results1 = { 124 //byte, short, int, long, float, double, char, bool, Byte, Short, Integer, Long, Float, Double, Character, Boolean 125 /*byte*/ { T , T , T , T , T , T , F , F , T , F , F , F , F , F , F , F }, 126 /*short*/ { F , T , T , T , T , T , F , F , F , T , F , F , F , F , F , F }, 127 /*int*/ { F , F , T , T , T , T , F , F , F , F , T , F , F , F , F , F }, 128 /*long*/ { F , F , F , T , T , T , F , F , F , F , F , T , F , F , F , F }, 129 /*float*/ { F , F , F , F , T , T , F , F , F , F , F , F , T , F , F , F }, --- 125 unchanged lines hidden --- | 121 122 Result[][] results1 = { 123 //byte, short, int, long, float, double, char, bool, Byte, Short, Integer, Long, Float, Double, Character, Boolean 124 /*byte*/ { T , T , T , T , T , T , F , F , T , F , F , F , F , F , F , F }, 125 /*short*/ { F , T , T , T , T , T , F , F , F , T , F , F , F , F , F , F }, 126 /*int*/ { F , F , T , T , T , T , F , F , F , F , T , F , F , F , F , F }, 127 /*long*/ { F , F , F , T , T , T , F , F , F , F , F , T , F , F , F , F }, 128 /*float*/ { F , F , F , F , T , T , F , F , F , F , F , F , T , F , F , F }, --- 125 unchanged lines hidden --- |