Commit 62900816 authored by Yann Garcia's avatar Yann Garcia

Unify changes from ITS

parent 611ff673
This diff is collapsed.
#pragma once
#include <memory>
#include "codec.hh"
#include "params.hh"
class Base_Type;
class Record_Type;
class TTCN_Typedescriptor_t;
class TTCN_Buffer;
namespace LibItsHttp__TypesAndValues {
class HttpMessage;
class Request;
class Response;
class HeaderLines;
class HeaderLine;
}
namespace LibItsHttp__MessageBodyTypes {
class HttpMessageBody;
}
struct encoding_context {
unsigned int length;
unsigned char is_content_length_present;
encoding_context() { reset(); };
void reset() { length = -1; is_content_length_present = 0x00; };
};
struct decoding_context {
unsigned int length;
unsigned char is_binary;
bool chunked;
decoding_context() { reset(); };
void reset() { length = -1; is_binary = 0x00; chunked = false; };
};
class http_codec: public codec <
LibItsHttp__TypesAndValues::HttpMessage,
LibItsHttp__TypesAndValues::HttpMessage>
{
encoding_context _ec;
decoding_context _dc;
std::map<std::string, std::unique_ptr<codec<Record_Type, Record_Type> > > _codecs;
public:
explicit http_codec() : codec<LibItsHttp__TypesAndValues::HttpMessage, LibItsHttp__TypesAndValues::HttpMessage>(), _ec(), _dc(), _codecs() { };
virtual ~http_codec() { };
virtual int encode (const LibItsHttp__TypesAndValues::HttpMessage&, OCTETSTRING& data);
virtual int decode (const OCTETSTRING& data, LibItsHttp__TypesAndValues::HttpMessage&, params* params = NULL);
void set_payload_codecs(const std::string& p_codecs);
private:
int encode_request (const LibItsHttp__TypesAndValues::Request& p_request, TTCN_Buffer& p_encoding_buffer);
int encode_response (const LibItsHttp__TypesAndValues::Response& p_response, TTCN_Buffer& p_encoding_buffer);
int encode_body(const LibItsHttp__MessageBodyTypes::HttpMessageBody& p_message_body, OCTETSTRING& p_encoding_buffer, const std::string& p_content_type);
int decode_headers(TTCN_Buffer& decoding_buffer, LibItsHttp__TypesAndValues::HeaderLines& headers, std::string& p_content_type);
int decode_header(CHARSTRING& header_line, LibItsHttp__TypesAndValues::HeaderLine& header);
int decode_body(TTCN_Buffer& decoding_buffer, LibItsHttp__MessageBodyTypes::HttpMessageBody& message_body, const std::string& p_content_type);
int get_line(TTCN_Buffer& buffer, CHARSTRING& to, const bool concatenate_header_lines = false);
}; // End of class http_codec
#pragma once
#include <memory>
#include "codec.hh"
#include "params.hh"
class Base_Type;
class Record_Type;
class TTCN_Typedescriptor_t;
class TTCN_Buffer;
namespace LibItsHttp__TypesAndValues {
class HttpMessage;
class Request;
class Response;
class Headers;
class Header;
}
namespace LibItsHttp__MessageBodyTypes {
class HttpMessageBody;
}
struct encoding_context {
unsigned int length;
unsigned char is_content_length_present;
encoding_context() { reset(); };
void reset() { length = -1; is_content_length_present = 0x00; };
};
struct decoding_context {
unsigned int length;
unsigned char is_binary;
bool chunked;
decoding_context() { reset(); };
void reset() { length = -1; is_binary = 0x00; chunked = false; };
};
class http_codec: public codec <
LibItsHttp__TypesAndValues::HttpMessage,
LibItsHttp__TypesAndValues::HttpMessage>
{
encoding_context _ec;
decoding_context _dc;
std::map<std::string, std::unique_ptr<codec<Record_Type, Record_Type> > > _codecs;
public:
explicit http_codec() : codec<LibItsHttp__TypesAndValues::HttpMessage, LibItsHttp__TypesAndValues::HttpMessage>(), _ec(), _dc(), _codecs() { };
virtual ~http_codec() { };
virtual int encode (const LibItsHttp__TypesAndValues::HttpMessage&, OCTETSTRING& data);
virtual int decode (const OCTETSTRING& data, LibItsHttp__TypesAndValues::HttpMessage&, params* params = NULL);
void set_payload_codecs(const std::string& p_codecs);
private:
int encode_request (const LibItsHttp__TypesAndValues::Request& p_request, TTCN_Buffer& p_encoding_buffer);
int encode_response (const LibItsHttp__TypesAndValues::Response& p_response, TTCN_Buffer& p_encoding_buffer);
int encode_body(const LibItsHttp__MessageBodyTypes::HttpMessageBody& p_message_body, OCTETSTRING& p_encoding_buffer, const std::string& p_content_type);
int decode_headers(TTCN_Buffer& decoding_buffer, LibItsHttp__TypesAndValues::Headers& headers, std::string& p_content_type);
int decode_header(CHARSTRING& header_line, LibItsHttp__TypesAndValues::Header& header);
int decode_body(TTCN_Buffer& decoding_buffer, LibItsHttp__MessageBodyTypes::HttpMessageBody& message_body, const std::string& p_content_type);
int get_line(TTCN_Buffer& buffer, CHARSTRING& to, const bool concatenate_header_lines = false);
}; // End of class http_codec
#!/bin/bash
# Turn on debug mode
#set -vx
#set -e
# Colors and Prompt
#export PS1="\w\$ "
#export PS1="\D{%Y-%m-%d %H:%M:%S} \w\n\$ "
export EDITOR=emacs
set -o emacs
# Home working directories
export HOME_FRAMEWORKS=${HOME}/frameworks
export HOME_LIB=${HOME}/lib
export HOME_BIN=${HOME}/bin
export HOME_ETC=${HOME}/etc
export HOME_TMP=${HOME}/tmp
export HOME_DOCS=${HOME}/docs
# Home common include directory
export HOME_INC=${HOME}/include
# Update PATH environment variable
export PATH=${HOME_BIN}:${PATH}
# Update LD_LIBRARY_PATH environment variable
if [ -z "${LD_LIBRARY_PATH}" ]
then
export LD_LIBRARY_PATH=${HOME_LIB}:/usr/local/lib:${HOME}/dev/etsi_its/lib
else
export LD_LIBRARY_PATH=${HOME_LIB}:/usr/local/lib:${HOME}/dev/etsi_its/lib:${LD_LIBRARY_PATH}
fi
# Add JAVA support
#export JAVA_VERSION=1.8.0_92
#export JAVA_JDK=jdk${JAVA_VERSION}
#if [ -d "${HOME_FRAMEWORKS}/${JAVA_JDK}" ]
#then
# export JAVA_HOME=${HOME_FRAMEWORKS}/${JAVA_JDK}/bin
#else
# unset JAVA_VERSION
# unset JAVA_JDK
#fi
# Add TITAN support
export TOP=${HOME_FRAMEWORKS}/titan/titan.core
export TTCN3_DIR=${TOP}/Install
if [ -d ${TTCN3_DIR} ]
then
export TTCN3_BROWSER=mozilla
export PATH=${TTCN3_DIR}/bin:${PATH}
export LD_LIBRARY_PATH=${TTCN3_DIR}/lib:${LD_LIBRARY_PATH}
export MANPATH=${TTCN3_DIR}/man:${MANPATH}
export TTCN3_LICENSE_FILE=${TTCN3_DIR}/etc/license/license.dat
export PATH_DEV_TTCN=${HOME}/dev/ttcn3
# ITS support
export PATH_DEV_ITS=${HOME}/dev/etsi_its
# Emergency Communication support
export PATH_DEV_EMCOM=${HOME}/dev/etsi_emcom
# Mobile-Edge Computing support
export PATH_DEV_MEC=${HOME}/dev/etsi_mec
# Validation folder
export VALIDATION_DIR=${HOME}
fi
export BROWSER=netsurf
export OPENSSL_DIR=/usr/local
export LSAN_OPTIONS=verbosity=1:log_threads=1
......@@ -4,7 +4,7 @@ set -vx
function f_exit {
cd ${CURPWD}
unset TTCN_FILES
unset CC_FILES
unset CFG_FILES
......@@ -52,7 +52,7 @@ find .. -type f -name "*.bak" -exec rm {} \;
find .. -type f -name "*.log" -exec rm {} \;
# Build JSON files if any and put them in objs directory
REFERENCES="LibCommon LibHttp LibMec LibMec/LocationAPI LibMec/RnisAPI LibMec/UEidentityAPI LibMec/BwManagementAPI"
REFERENCES="LibCommon LibHttp LibMec LibMec/LocationAPI LibMec/UEidentityAPI LibMec/RnisAPI LibMec/BwManagementAPI LibMec/Ams LibMec/AppEna LibMec/AppLCM LibMec/Grant LibMec/FixedAccessInformationAPI LibMec/MeoPkgm LibMec/MepmPkgm LibMec/UEAppInterfaceAPI LibMec/UEidentityAPI"
for i in ${REFERENCES}
do
# TTCN code
......
......@@ -158,7 +158,7 @@ done
echo 'Update TTCN-3 files'
TTCN_3_ORG_PATH=${SRC_MEC_PATH}/ttcn
TTCN_3_DST_PATH=${PATH_DEV_MEC}/src
TTCN_3_ATS_LIST='AtsNg112 LibMec LibMec/LocationAPI LibMec/UEidentityAPI LibMec/RnisAPI LibMec/BwManagementAPI LibHttp LibCommon'
TTCN_3_ATS_LIST='AtsMec LibMec LibMec/LocationAPI LibMec/UEidentityAPI LibMec/RnisAPI LibMec/BwManagementAPI LibHttp LibCommon'
for i in ${TTCN_3_ATS_LIST}
do
# TTCN-3 files
......@@ -208,7 +208,7 @@ do
fi
done
TTCN_3_LIB_LIST='TestCodec'
TTCN_3_LIB_LIST='AtsMec'
for i in ${TTCN_3_LIB_LIST}
do
LIST_TTCN_FILES=`find ${TTCN_3_ORG_PATH}/$i -name "*.ttcn" -type f`
......
......@@ -106,7 +106,7 @@ echo 'Update TTCN-3 files'
TTCN_3_ORG_PATH=${SRC_MEC_PATH}/ttcn
TTCN_3_DST_PATH=${PATH_DEV_MEC}/src
CC_SRC_PATH=${SRC_MEC_PATH}/ccsrc
TTCN_3_ATS_LIST='AtsMec TestCodec'
TTCN_3_ATS_LIST='AtsMec'
for i in ${TTCN_3_ATS_LIST}
do
if [ ! -d ${TTCN_3_DST_PATH}/$i ]
......@@ -124,13 +124,8 @@ do
cp ${TTCN_3_ORG_PATH}/../docs/$i/o2.cfg ${TTCN_3_DST_PATH}/$i/docs
done
#######################################################################################
# Remove AtsMec_FixedAccessInformationAPI_TestCases, not supported yet
rm ${TTCN_3_DST_PATH}/AtsMec/ttcn/AtsMec_FixedAccessInformationAPI_TestCases.ttcn
#######################################################################################
# Update libraries & CC files
TTCN_3_LIB_LIST='LibMec LibMec/LocationAPI LibMec/UEidentityAPI LibMec/RnisAPI LibMec/BwManagementAPI LibMec/Ams LibMec/AppEna LibMec/ApplCM LibMec/FixedAccessInformationAPI LibMec/MeoPkgm LibMec/MepmPkgm LibHttp LibCommon'
TTCN_3_LIB_LIST='LibMec LibMec/LocationAPI LibMec/UEidentityAPI LibMec/RnisAPI LibMec/BwManagementAPI LibMec/Ams LibMec/AppEna LibMec/AppLCM LibMec/Grant LibMec/FixedAccessInformationAPI LibMec/MeoPkgm LibMec/MepmPkgm LibMec/UEAppInterfaceAPI LibMec/UEidentityAPI LibHttp LibCommon'
for i in ${TTCN_3_LIB_LIST}
do
if [ ! -d ${TTCN_3_DST_PATH}/$i ]
......@@ -143,6 +138,7 @@ do
then
cp ${TTCN_3_ORG_PATH}/$i/ttcn/*.ttcn ${TTCN_3_DST_PATH}/$i/ttcn
cp ${TTCN_3_ORG_PATH}/$i/json/*.json ${TTCN_3_DST_PATH}/$i/json
cp ${CC_SRC_PATH}/externals/*_ExternalFunctions.cc ${TTCN_3_DST_PATH}/$i/src
elif [ "$i" == "LibHttp" ]
then
cp ${TTCN_3_ORG_PATH}/LibIts/ttcn/Http/*.ttcn ${TTCN_3_DST_PATH}/$i/ttcn
......@@ -163,6 +159,10 @@ do
cp ${TTCN_3_ORG_PATH}/$i/json/*.json ${TTCN_3_DST_PATH}/$i/json
fi
done
#######################################################################################
# Remove AtsMec_FixedAccessInformationAPI_TestCases, not supported yet
rm ${TTCN_3_DST_PATH}/AtsMec/ttcn/AtsMec_FixedAccessInfoAPI_TestCases.ttcn
#######################################################################################
# Apply patches
PATH_PATCHES=`pwd`
......@@ -174,11 +174,6 @@ then
cp ${PATH_PATCHES}/run_ptcs.bash ${PATH_DEV_MEC}/src/AtsMec/bin
cp ${PATH_PATCHES}/run_all.bash ${PATH_DEV_MEC}/src/AtsMec/bin
cp ${PATH_PATCHES}/run_*_simu.bash ${PATH_DEV_MEC}/src/AtsMec/bin
# Update TestCodec
cp ${PATH_PATCHES}/testcodec_generate_makefile.bash ${PATH_DEV_MEC}/src/TestCodec/bin
cp ${PATH_PATCHES}/run_mtc.bash ${PATH_DEV_MEC}/src/TestCodec/bin
cp ${PATH_PATCHES}/run_ptcs.bash ${PATH_DEV_MEC}/src/TestCodec/bin
cp ${PATH_PATCHES}/run_all.bash ${PATH_DEV_MEC}/src/TestCodec/bin
fi
# Set rights
......
......@@ -40,7 +40,7 @@
*/
testcase TP_MEC_SRV_AMS_001_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -104,7 +104,7 @@
*/
testcase TP_MEC_SRV_AMS_001_BR() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
// Test control
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
......@@ -158,7 +158,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.3.3.4
*/
testcase TP_MEC_SRV_AMS_002_OK() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -236,7 +236,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.3.3.4
*/
testcase TP_MEC_SRV_AMS_002_BR() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -309,7 +309,7 @@
*/
testcase TP_MEC_SRV_AMS_011_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -362,7 +362,7 @@
*/
testcase TP_MEC_SRV_AMS_011_NF() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
// Test control
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
......@@ -412,7 +412,7 @@
*/
testcase TP_MEC_SRV_AMS_012_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -489,7 +489,7 @@
*/
testcase TP_MEC_SRV_AMS_012_NF() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
// Test control
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
......@@ -549,7 +549,7 @@
*/
testcase TP_MEC_SRV_AMS_012_BR() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
// Test control
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
......@@ -611,7 +611,7 @@
*/
testcase TP_MEC_SRV_AMS_013_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -660,7 +660,7 @@
*/
testcase TP_MEC_SRV_AMS_013_NF() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
// Test control
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
......@@ -712,7 +712,7 @@
*/
testcase TP_MEC_SRV_AMS_014_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -777,7 +777,7 @@
*/
testcase TP_MEC_SRV_AMS_014_NF() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -832,7 +832,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.6.3.1
*/
testcase TP_MEC_SRV_AMS_003_OK() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -895,7 +895,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.6.3.1
*/
testcase TP_MEC_SRV_AMS_003_BR() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -956,7 +956,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.6.3.4
*/
testcase TP_MEC_SRV_AMS_004_OK() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -1032,7 +1032,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.6.3.4
*/
testcase TP_MEC_SRV_AMS_004_BR() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -1104,7 +1104,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.7.3.1
*/
testcase TP_MEC_SRV_AMS_005_OK() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -1160,7 +1160,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.7.3.1
*/
testcase TP_MEC_SRV_AMS_005_NF() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -1218,7 +1218,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.7.3.5
*/
testcase TP_MEC_SRV_AMS_006_OK() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -1269,7 +1269,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.7.3.5
*/
testcase TP_MEC_SRV_AMS_006_NF() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -1327,7 +1327,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.7.3.2
*/
testcase TP_MEC_SRV_AMS_007_OK() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -1393,7 +1393,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.7.3.2
*/
testcase TP_MEC_SRV_AMS_007_BR() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -1457,7 +1457,7 @@
* @see ETSI GS MEC 021 2.0.8, clause 8.7.3.2
*/
testcase TP_MEC_SRV_AMS_007_NF() runs on HttpComponent system HttpTestAdapter {
var HeaderLines v_headers;
var Headers v_headers;
if (not(PICS_AMS) or not(PICS_AMS_API_SUPPORTED)){
log("*** " & testcasename() & ": PICS_AMS required for executing the TC ***");
setverdict(inconc);
......@@ -1525,7 +1525,7 @@
*/
testcase TP_MEC_SRV_AMS_008_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
// Test control
if (not(PICS_AMS) or not(PICS_AMS_NOTIFICATIONS)) {
......@@ -1591,7 +1591,7 @@
*/
testcase TP_MEC_SRV_AMS_009_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
// Test control
if (not(PICS_AMS) or not(PICS_AMS_NOTIFICATIONS)) {
......@@ -1658,7 +1658,7 @@
*/
testcase TP_MEC_SRV_AMS_010_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var UInt64 v_timestamp;
// Test control
......
......@@ -41,7 +41,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_001_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -108,7 +108,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_001_BR() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -166,7 +166,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_002_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -226,7 +226,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_003_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -284,7 +284,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_003_NF() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -333,7 +333,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_004_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -380,7 +380,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_004_NF() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -430,7 +430,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_005_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -493,7 +493,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_005_NF() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -550,7 +550,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_005_BR() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -607,7 +607,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_006_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -670,7 +670,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_006_NF() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -727,7 +727,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_006_BR() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -784,7 +784,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_007_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -847,7 +847,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_007_NF() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -904,7 +904,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_007_BR() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -962,7 +962,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_008_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -1020,7 +1020,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_009_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -1075,7 +1075,7 @@ module AtsMec_AppLCM_TestCases {
*/
testcase TP_MEC_MEX_LCM_009_NF() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -1136,7 +1136,7 @@ group app_lcm_subscriptions {
*/
testcase TP_MEC_MEX_LCM_010_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -1205,7 +1205,7 @@ group app_lcm_subscriptions {
*/
testcase TP_MEC_MEX_LCM_010_BR() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -1268,7 +1268,7 @@ group app_lcm_subscriptions {
*/
testcase TP_MEC_MEX_LCM_011_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -1332,7 +1332,7 @@ group app_lcm_subscriptions {
*/
testcase TP_MEC_MEX_LCM_012_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -1390,7 +1390,7 @@ group app_lcm_subscriptions {
*/
testcase TP_MEC_MEX_LCM_012_NF() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -1441,7 +1441,7 @@ group app_lcm_subscriptions {
*/
testcase TP_MEC_MEX_LCM_013_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
var HeaderLines v_headers;
var Headers v_headers;
var HttpMessage v_response;
// Test control
......@@ -1492,7 +1492,7 @@ group app_lcm_subscriptions {
*/