comment: Osmocom_CTRL: fix example for f_counter_name_vals_list_add()
Change-Id: I2ff77176267058ced3639a42127f0063bed2fd60
This commit is contained in:
parent
e02dbcce9f
commit
1393d02d0d
|
@ -166,14 +166,14 @@ module Osmocom_CTRL_Functions {
|
||||||
*
|
*
|
||||||
* // run some tests that increment rate counters in the program,
|
* // run some tests that increment rate counters in the program,
|
||||||
* // and increment expected counters accordingly:
|
* // and increment expected counters accordingly:
|
||||||
* my_counters := f_counter_name_vals_list_add(my_counters, instance_nr := 1, "mscpool:subscr:new", 7);
|
* f_counter_name_vals_list_add(my_counters, instance_nr := 1, "mscpool:subscr:new", 7);
|
||||||
* my_counters := f_counter_name_vals_list_add(my_counters, instance_nr := 2, "mscpool:subscr:attach_lost", 3);
|
* f_counter_name_vals_list_add(my_counters, instance_nr := 2, "mscpool:subscr:attach_lost", 3);
|
||||||
*
|
*
|
||||||
* // verify that the program reflects the expected counters:
|
* // verify that the program reflects the expected counters:
|
||||||
* f_counter_name_vals_expect_n(instance_name := "msc", my_counters);
|
* f_counter_name_vals_expect_n(instance_name := "msc", my_counters);
|
||||||
*
|
*
|
||||||
* // run some more tests...
|
* // run some more tests...
|
||||||
* my_counters := f_counter_name_vals_list_add(my_counters, instance_nr := 0, "mscpool:subscr:known");
|
* f_counter_name_vals_list_add(my_counters, instance_nr := 0, "mscpool:subscr:known");
|
||||||
* // and verify again
|
* // and verify again
|
||||||
* f_counter_name_vals_expect_n(instance_name := "msc", my_counters);
|
* f_counter_name_vals_expect_n(instance_name := "msc", my_counters);
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue