blob: 45e2f3d28a13d31c4a67bc5c6658b6750e7e23cf [file] [log] [blame]
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright (c) 2000-2019 Ericsson Telecom AB //
// //
// All rights reserved. This program and the accompanying materials //
// are made available under the terms of the Eclipse Public License v2.0 //
// which accompanies this distribution, and is available at //
// https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html //
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
// Module: EPTF_Variable_PerfTest_Testcases
//
// Purpose:
// This module contains the testcases of generic EPTF Variable.
//
// Module depends on:
// <EPTF_Variable_PerfTest_Definitions>
// <EPTF_Variable_PerfTest_Functions>
// <EPTF_CLL_Variable_Definitions>
// <EPTF_CLL_Variable_Functions>
// <EPTF_CLL_Base_Functions>
// <EPTF_CLL_Common_Definitions>
//
//
// Current Owner:
// Jozsef Gyurusi (ETHJGI)
//
// Last Review Date:
// 2010-xx-xx
//
// Detailed Comments:
// -
//
///////////////////////////////////////////////////////////////
module EPTF_Variable_PerfTest_Testcases {
//=========================================================================
// Import part
//=========================================================================
import from EPTF_Variable_PerfTest_Definitions all;
import from EPTF_Variable_PerfTest_Functions all;
import from EPTF_CLL_Variable_Definitions all;
import from EPTF_CLL_Variable_Functions all;
import from EPTF_CLL_Base_Functions all;
import from EPTF_CLL_Common_Definitions all;
import from EPTF_CLL_Logging_Functions all;
//=========================================================================
// Testcases
//=========================================================================
testcase tc_EPTF_Variable_PerfTest_adjustContent() runs on VariablePerfTest_CT{
f_EPTF_Var_init_CT("MTC");
var VariablePerfTest_CT vlc_VarTest1_CT := VariablePerfTest_CT.create;
var VariablePerfTest_CT vlc_VarTest2_CT := VariablePerfTest_CT.create;
connect(vlc_VarTest1_CT:statusPort1,vlc_VarTest2_CT:statusPort1);
vlc_VarTest1_CT.start(f_EPTF_Variable_PerfTest_AdjustContent_ProviderComponent("test1",{vlc_VarTest2_CT}));
vlc_VarTest2_CT.start(f_EPTF_Variable_PerfTest_AdjustContent_SubscriberComponent("test2",{vlc_VarTest1_CT}));
vlc_VarTest1_CT.done;
vlc_VarTest2_CT.done;
disconnect(vlc_VarTest1_CT:statusPort1,vlc_VarTest2_CT:statusPort1);
f_EPTF_Base_stop(pass);
}
//=========================================================================
// Control Part
//=========================================================================
control {
execute(tc_EPTF_Variable_PerfTest_adjustContent());
}
}