testIntrospection now complete

This commit is contained in:
Marty Kraimer
2010-10-28 10:08:20 -04:00
parent 55b44e953d
commit 59c2d447c1
13 changed files with 368 additions and 200 deletions

79
test/testIntrospect Normal file
View File

@@ -0,0 +1,79 @@
testScalar
boolean boolean
byte byte
short short
int int
long long
float float
double double
string string
testScalarArray
booleanArray boolean
byteArray byte
shortArray short
intArray int
longArray long
floatArray float
doubleArray double
stringArray string
testSimpleStructure
structure value
double value
structure alarm
int severity
string message
structure timeStamp
long secondsPastEpoch
int nanoSeconds
structure display
string description
string format
string units
structure limit
double low
double high
structure control
structure limit
double low
double high
double minStep
structure valueAlarm
boolean active
double lowAlarmLimit
double lowWarningLimit
double highWarningLimit
double highAlarmLimit
int lowAlarmSeverity
int lowWarningSeverity
int highWarningSeverity
int highAlarmSeverity
double hystersis
testStructureArray
structure value
structureArray value
structure powerSupply
structure voltage
double value
structure alarm
int severity
string message
structure power
double value
structure alarm
int severity
string message
structure current
double value
structure alarm
int severity
string message
structure alarm
int severity
string message
structure timeStamp
long secondsPastEpoch
int nanoSeconds

12
test/testIntrospect.pl Executable file
View File

@@ -0,0 +1,12 @@
eval 'exec perl -S $0 ${1+"$@"}' # -*- Mode: perl -*-
if $running_under_some_shell; # testIntrospect.pl
$EPICS_HOST_ARCH = "linux-x86";
system ("rm testIntrospect");
system ("rm testIntrospectDiff");
system ("../bin/${EPICS_HOST_ARCH}/testIntrospect testIntrospect");
system ("diff testIntrospect testIntrospectGold >> testIntrospectDiff");
if(-z "testIntrospectDiff") {
print "testIntrospect OK\n";
} else {
print "testIntrospect Failed\n";
}

0
test/testIntrospectDiff Normal file
View File

79
test/testIntrospectGold Normal file
View File

@@ -0,0 +1,79 @@
testScalar
boolean boolean
byte byte
short short
int int
long long
float float
double double
string string
testScalarArray
booleanArray boolean
byteArray byte
shortArray short
intArray int
longArray long
floatArray float
doubleArray double
stringArray string
testSimpleStructure
structure value
double value
structure alarm
int severity
string message
structure timeStamp
long secondsPastEpoch
int nanoSeconds
structure display
string description
string format
string units
structure limit
double low
double high
structure control
structure limit
double low
double high
double minStep
structure valueAlarm
boolean active
double lowAlarmLimit
double lowWarningLimit
double highWarningLimit
double highAlarmLimit
int lowAlarmSeverity
int lowWarningSeverity
int highWarningSeverity
int highAlarmSeverity
double hystersis
testStructureArray
structure value
structureArray value
structure powerSupply
structure voltage
double value
structure alarm
int severity
string message
structure power
double value
structure alarm
int severity
string message
structure current
double value
structure alarm
int severity
string message
structure alarm
int severity
string message
structure timeStamp
long secondsPastEpoch
int nanoSeconds