add: added EnumerationValue test
This commit is contained in:
parent
1768d24a38
commit
cdf484cc11
|
@ -895,16 +895,16 @@ public class ALTest extends BasicTest {
|
||||||
int getVal;
|
int getVal;
|
||||||
|
|
||||||
System.out.print("\nEnumeration Value Test. ");
|
System.out.print("\nEnumeration Value Test. ");
|
||||||
/*
|
|
||||||
while (enumeration[i].enumName) {
|
while (i < enumerationString.length) {
|
||||||
getVal = alGetEnumValue(enumeration[i].enumName);
|
getVal = al.getEnumValue(enumerationString[i]);
|
||||||
if (getVal != enumeration[i].value) {
|
if (getVal != enumeration[i]) {
|
||||||
printf("\n%s has an invalid enum value.", enumeration[i].enumName);
|
System.out.print("\n" + enumerationString[i] + " has an invalid enum value.");
|
||||||
result = false;
|
result = false;
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
if(result == true) {
|
if(result == true) {
|
||||||
System.out.print("PASSED.");
|
System.out.print("PASSED.");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue