PCU: Add simple test for PCUIF RACH Indication
Change-Id: I8fa6de711391837ed16888c48b22cd29892f222f
This commit is contained in:
parent
a321981987
commit
16e92f4169
|
@ -247,6 +247,24 @@ testcase TC_sns_chg_weight() runs on RAW_Test_CT {
|
||||||
setverdict(pass);
|
setverdict(pass);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
import from PCUIF_Types all;
|
||||||
|
import from PCUIF_CodecPort all;
|
||||||
|
|
||||||
|
private function f_pcuif_tx(template (value) PCUIF_Message msg) runs on RAW_PCU_CT {
|
||||||
|
PCU.send(t_SD_PCUIF(g_pcu_conn_id, msg));
|
||||||
|
}
|
||||||
|
|
||||||
|
testcase TC_pcuif_rach() runs on RAW_Test_CT {
|
||||||
|
f_sns_bringup_1c1u();
|
||||||
|
|
||||||
|
f_pcuif_tx(ts_PCUIF_RACH_IND(bts_nr:=0, ra:=23, is_11bit:=0, burst_type:=BURST_TYPE_0,
|
||||||
|
fn:=42, arfcn:=871, qta:=0));
|
||||||
|
PCU.receive(t_SD_PCUIF(g_pcu_conn_id,
|
||||||
|
tr_PCUIF_DATA_REQ(bts_nr:=0, trx_nr:=0, ts_nr:=0, block_nr:=?, fn:=?,
|
||||||
|
sapi:=PCU_IF_SAPI_AGCH, data:=?)));
|
||||||
|
setverdict(pass);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
control {
|
control {
|
||||||
|
@ -259,6 +277,8 @@ control {
|
||||||
execute( TC_sns_add() );
|
execute( TC_sns_add() );
|
||||||
execute( TC_sns_del() );
|
execute( TC_sns_del() );
|
||||||
execute( TC_sns_chg_weight() );
|
execute( TC_sns_chg_weight() );
|
||||||
|
|
||||||
|
execute( TC_pcuif_rach() );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue