Commit 529ae477 authored by Yann Garcia's avatar Yann Garcia
Browse files

Add test for date/time

parent 5ef78c62
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -279,6 +279,11 @@ system.pkiPort.params := "PKI/HTTP(device_mode=1,uri=/its/inner_ec_request,host=
#TestCodec_IVIM.tc_Ivim_UtIvimUpdate
#TestCodec_IVIM.tc_Ivim_UtIvimTermination

# External functions
#TestCodec_ExternalFunctions.tc_f_computePositionUsingDistance
TestCodec_ExternalFunctions.tc_f_getCurrentTime
TestCodec_ExternalFunctions.tc_f_getCurrentTimeUtc

# Security tests
# Security Functions
#TestCodec_SecuredFuntions.tc_sha256_1
@@ -344,15 +349,13 @@ system.pkiPort.params := "PKI/HTTP(device_mode=1,uri=/its/inner_ec_request,host=
#TestCodec_SignedAndEncryptedMessages.tc_decrypted_signed_message_2
#TestCodec_SignedAndEncryptedMessages.tc_decrypted_signed_message_3
#TestCodec_SignedAndEncryptedMessages.tc_decrypted_signed_message_4
# External functions
#TestCodec_ExternalFunctions.tc_f_computePositionUsingDistance
# Pki
#TestCodec_Pki.tc_encode_inner_ec_response_1
#TestCodec_Pki.tc_decode_inner_ec_response_1
#TestCodec_Pki.tc_inner_ec_request_1
#TestCodec_Pki.tc_inner_ec_request_2
#TestCodec_Pki.tc_inner_ec_request_3
TestCodec_Pki.tc_inner_ec_response_1
#TestCodec_Pki.tc_inner_ec_response_1
#TestCodec_Pki.tc_inner_ec_functions_1
#TestCodec_Pki.tc_inner_ec_functions_2
#TestCodec_Pki.tc_inner_ec_functions_3
+6 −0
Original line number Diff line number Diff line
@@ -16,6 +16,12 @@ module TestCodec_ExternalFunctions {
    log("v_timeStamp= ", v_timeStamp);
  }

  testcase tc_f_getCurrentTimeUtc() runs on TCType system TCType {
    var integer v_timeStamp := 0;
    v_timeStamp := fx_getCurrentTimeUtc();
    log("v_timeStamp= ", v_timeStamp);
  }

  testcase tc_f_computePositionUsingDistance() runs on TCType system TCType {
    var Int32 v_latitude;
    var Int32 v_longitude;