4 require "director_string.php";
7 check::functions(array(a_get_first,a_call_get_first,a_string_length,a_process_text,a_call_process_func,stringvector_size,stringvector_is_empty,stringvector_clear,stringvector_push,stringvector_pop,stringvector_capacity,stringvector_reserve));
9 check::classes(array(A,StringVector));
11 check::globals(array(a,a_call,a_m_strings,stringvector));
14 function get_first() {
15 return parent::get_first() . " world!";
18 function process_text($string) {
19 parent::process_text($string);
20 $this->smem = "hello";
27 check::equal($b->get_first(),"hello world!", "get_first failed");
29 $b->call_process_func();
31 check::equal($b->smem, "hello", "smem failed");