kerneltest/e32test/buffer/t_sque.cpp
changeset 121 661475905584
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
120:b42b9ce90ea9 121:661475905584
   938 void TestTQueIter<T,Iter>::Test5()
   938 void TestTQueIter<T,Iter>::Test5()
   939 	{
   939 	{
   940 	T item1,item2;
   940 	T item1,item2;
   941 	TSglQue<T> que(_FOFF(T,iLink));
   941 	TSglQue<T> que(_FOFF(T,iLink));
   942 	Iter* iter;
   942 	Iter* iter;
   943 	T* a;
       
   944 
   943 
   945 	que.AddFirst(item2);
   944 	que.AddFirst(item2);
   946 	que.AddFirst(item1);
   945 	que.AddFirst(item1);
   947 	test.Start(_L("Constructor"));
   946 	test.Start(_L("Constructor"));
   948 	iter=new Iter(que);
   947 	iter=new Iter(que);
   949 	test.Next(_L("Iterators"));
   948 	test.Next(_L("Iterators"));
   950 	a=*iter;
       
   951 	(*iter)++;
   949 	(*iter)++;
   952 	delete iter;
   950 	delete iter;
   953 	test.Next(_L("Finished"));
   951 	test.Next(_L("Finished"));
   954 	test.End();
   952 	test.End();
   955 	}
   953 	}