kerneltest/e32test/buffer/t_circ.cpp
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
--- a/kerneltest/e32test/buffer/t_circ.cpp	Tue Aug 31 16:34:26 2010 +0300
+++ b/kerneltest/e32test/buffer/t_circ.cpp	Wed Sep 01 12:34:56 2010 +0100
@@ -232,34 +232,6 @@
 			test(Mem::Compare(buf,arraySize,theCharArray,arraySize)==KErrNone);
 			}
 		}
-	
-	// Test Reset, Put and Get
-	TInt count = cbInt->Count();
-	test(count>0);
-	cbInt->Reset();
-	count = cbInt->Count();
-	test(count==0);
-	TUint index = 0;
-	
-	// Put 100 integers to the circular buffer.
-	TUint numberOfObjects= 100;
-	for(index=1;index<=numberOfObjects; index++)
-	    {
-	    TInt result= cbInt->Put(index);
-	    User::LeaveIfError(result);
-	    }
-	count = cbInt->Count();
-	test(count==100);
-	
-	// Get 50 integers from the circular buffer.
-	for(index=1;index<=(numberOfObjects/2); index++)
-	    {
-	    TUint cb = cbInt->Get();
-	    test(cb==index);
-	    }
-	count = cbInt->Count();
-	test(count==50);
-		
 	delete [] buf;
 	delete cbInt;
 	}