Lines Matching refs:auto_array
26 #include "atf-c++/detail/auto_array.hpp"
41 // Tests for the "auto_array" class.
51 atf::auto_array< test_array >
52 do_copy(atf::auto_array< test_array >& ta)
54 return atf::auto_array< test_array >(ta);
92 "auto_array smart pointer class");
96 using atf::auto_array;
100 auto_array< test_array > t(new test_array[10]);
109 set_md_var("descr", "Tests the auto_array smart pointer class' copy "
114 using atf::auto_array;
118 auto_array< test_array > t1(new test_array[10]);
122 auto_array< test_array > t2(t1);
133 set_md_var("descr", "Tests the auto_array smart pointer class' copy "
138 using atf::auto_array;
142 auto_array< test_array > t1(new test_array[10]);
146 auto_array< test_array > t2 = test_array::do_copy(t1);
157 set_md_var("descr", "Tests the auto_array smart pointer class' get "
162 using atf::auto_array;
165 auto_array< test_array > t(ta);
172 set_md_var("descr", "Tests the auto_array smart pointer class' release "
177 using atf::auto_array;
181 auto_array< test_array > t(ta1);
194 set_md_var("descr", "Tests the auto_array smart pointer class' reset "
199 using atf::auto_array;
206 auto_array< test_array > t(ta1);
219 set_md_var("descr", "Tests the auto_array smart pointer class' "
224 using atf::auto_array;
228 auto_array< test_array > t1(new test_array[10]);
232 auto_array< test_array > t2;
244 set_md_var("descr", "Tests the auto_array smart pointer class' "
250 using atf::auto_array;
254 auto_array< test_array > t1(new test_array[10]);
258 auto_array< test_array > t2;
270 set_md_var("descr", "Tests the auto_array smart pointer class' access "
275 using atf::auto_array;
277 auto_array< test_array > t(new test_array[10]);
292 // Add the test for the "auto_array" class.