testIntrospection now complete
This commit is contained in:
79
test/testIntrospect
Normal file
79
test/testIntrospect
Normal 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
12
test/testIntrospect.pl
Executable 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
0
test/testIntrospectDiff
Normal file
79
test/testIntrospectGold
Normal file
79
test/testIntrospectGold
Normal 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
|
||||
Reference in New Issue
Block a user