org.eso.ias.supervisor.test
Members list
Packages
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
class CommandManagerclass Objecttrait Matchableclass Any
Companion object
Companion object
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CommandManagerMock.type
A mockup of the DASUs to run in the Supervisor without the complexity of DASUs and ASCEs
A mockup of the DASUs to run in the Supervisor without the complexity of DASUs and ASCEs
Value parameters
- dasuDao
-
the DASU configuration
- inputSubscriber
-
the subscriber getting events to be processed
- outputPublisher
-
the publisher to send the output
Attributes
- Companion
- object
- Supertypes
Attributes
- Supertypes
-
class AnyFlatSpectrait AnyFlatSpecLiketrait Documentingtrait Alertingtrait Notifyingtrait Informingtrait CanVerbtrait MustVerbtrait ShouldVerbtrait TestRegistrationtrait TestSuitetrait Suitetrait Serializabletrait Assertionstrait TripleEqualstrait TripleEqualsSupportclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class AnyFlatSpectrait AnyFlatSpecLiketrait Documentingtrait Alertingtrait Notifyingtrait Informingtrait CanVerbtrait MustVerbtrait ShouldVerbtrait TestRegistrationtrait TestSuitetrait Suitetrait Serializabletrait Assertionstrait TripleEqualstrait TripleEqualsSupportclass Objecttrait Matchableclass AnyShow all
This test checks if the the TF running in a templated ASCE is able to get the inputs by their IDs by calling getValue.
This test checks if the the TF running in a templated ASCE is able to get the inputs by their IDs by calling getValue.
It instantiates a templated DASU with one ASCE that has 2 inputs of type Long plus 2 inputs of type alarm. The TF simes the values of the longs plus 2 and 1 for the alarms. One input is from a non templated input, other one one is templated annd the alarms are templated input instances. The TF gets the values of the inputs by calling getEval and not directly accessing the map. getEval must recognize the templated and not templated parameters. For templated parameters, getValue must take into account the instance of the DASU/ASCE and the instance of templated inputs instances.
The test instantiates the DASU with the ASCE and send the inputs. Finally, it checks the output.
The test, instantiates a real DASU and ASCE i.e. no mock used here.
The configuration is read from test/CDB: Supervisor: SupervisorToTestInputs Template: TemplToTestInputs DASU: DasuToTestInputs ASCE: AsceToTestInputs Inputs: Templated: TemplatedId (Long) Non Templated: NonTemplatedId (Long) Output: TemplatedOutId (Long)
Attributes
- Supertypes
-
class AnyFlatSpectrait AnyFlatSpecLiketrait Documentingtrait Alertingtrait Notifyingtrait Informingtrait CanVerbtrait MustVerbtrait ShouldVerbtrait TestRegistrationtrait TestSuitetrait Suitetrait Serializabletrait Assertionstrait TripleEqualstrait TripleEqualsSupportclass Objecttrait Matchableclass AnyShow all