Check List Eth Network

Checks a list of Ethernet network paths.

Arguments Description

*paths*(list[str]): A list of paths to be checked.

params (list[str]): A list of expected values.

operation (int): Specifies the operation type.
  • 0 (All): All the given paths should succeed in order to return true.

  • 1 (ONLY ONE): At least one path should succeed to return true.

Returns

bool: True if check succeeds, false otherwise.

Example

${paths}= Create List ${EcuName}::${ServiceId}::${InstanceId}::${MethodId}::RETURN::${outputName} ${EcuName}::${ServiceId}::${InstanceId}::${MethodId}::RETURN::${outputName}
${params}= Create List 1 0
${res}= Check List Eth Network ${paths} ${params} ${1}

Note

  • The number of paths to be checked should be equal to the number of params.

  • If a SomeIP member to be checked belongs to a dynamic array, then the size of the dynamic array should be set previously using this keyword : Prepare SomeIp Dynamic Length Array ${EcuName}::${ServiceId}::${InstanceId}::${MessageId}::${array_member}::1 size