kerneltest/f32test/server/t_notifier.cpp
changeset 31 56f325a607ea
parent 0 a41df078684a
child 109 b3a1d9898418
equal deleted inserted replaced
15:4122176ea935 31:56f325a607ea
  1550 					    }
  1550 					    }
  1551 					else
  1551 					else
  1552 					    {
  1552 					    {
  1553 					    safe_test(aTest,_pathC.Match(aFullname),__LINE__,aPackage.iLineCall);  
  1553 					    safe_test(aTest,_pathC.Match(aFullname),__LINE__,aPackage.iLineCall);  
  1554 					    }
  1554 					    }
  1555 					
       
  1556 					}
  1555 					}
  1557 				else
  1556 				else
  1558 					{
  1557 					{
  1559 					aTest.Printf(_L("(%d) - OVERFLOW\n"),threadID);
  1558 					aTest.Printf(_L("(%d) - OVERFLOW\n"),threadID);
  1560 					//Overflow
  1559 					//Overflow
  4271 	//
  4270 	//
  4272 	// EAllOps3: A file is created, its size is increased size aIterations times, decreased (aIterations - 1) times
  4271 	// EAllOps3: A file is created, its size is increased size aIterations times, decreased (aIterations - 1) times
  4273 	// 			 and then deleted
  4272 	// 			 and then deleted
  4274 	//     aMaxNotifications = 1 + 2*aIterations
  4273 	//     aMaxNotifications = 1 + 2*aIterations
  4275 	//
  4274 	//
  4276 	r = TestMultipleNotificationsL(_L(""),KFilename10,4,6,t_notification::EAllOps3,(TUint)TFsNotification::EAllOps,KMinNotificationBufferSize,(TBool)EFalse,__LINE__);
  4275 	r = TestMultipleNotificationsL(_L(""),KFilename10,4,9,t_notification::EAllOps3,(TUint)TFsNotification::EAllOps,KMinNotificationBufferSize*2,(TBool)EFalse,__LINE__);
  4277 	test(r==KErrNone);
  4276 	test(r==KErrNone);
  4278 	//
  4277 	//
  4279 	// 4.	Add notification for all operations
  4278 	// 4.	Add notification for all operations
  4280 	//		Create a file
  4279 	//		Create a file
  4281 	//		Change the file attribute
  4280 	//		Change the file attribute
  4342 	//
  4341 	//
  4343 	// A file is created, its size is increased size aIterations times, decreased (aIterations - 1) times
  4342 	// A file is created, its size is increased size aIterations times, decreased (aIterations - 1) times
  4344 	// and then deleted
  4343 	// and then deleted
  4345 	//     aMaxNotifications = 1 + 2*aIterations
  4344 	//     aMaxNotifications = 1 + 2*aIterations
  4346 	//
  4345 	//
  4347 	r = TestMultipleNotificationsL(_L(""),KFilename11,4,6,t_notification::EAllOps3,TFsNotification::EDelete | TFsNotification::ECreate | TFsNotification::EFileChange,KMinNotificationBufferSize,(TBool)EFalse,__LINE__);
  4346 	r = TestMultipleNotificationsL(_L(""),KFilename11,4,9,t_notification::EAllOps3,TFsNotification::EDelete | TFsNotification::ECreate | TFsNotification::EFileChange,KMinNotificationBufferSize,(TBool)EFalse,__LINE__);
  4348 	test(r==KErrNone);
  4347 	test(r==KErrNone);
  4349 	//
  4348 	//
  4350 	// TFsNotification::EAttribute | TFsNotification::EDelete | TFsNotification::ECreate
  4349 	// TFsNotification::EAttribute | TFsNotification::EDelete | TFsNotification::ECreate
  4351 	// 3.	Add notification for create, attribute change and delete for a specific file
  4350 	// 3.	Add notification for create, attribute change and delete for a specific file
  4352 	//		Create a file
  4351 	//		Create a file