fbs/fontandbitmapserver/tfbs/tipctest.CPP
changeset 187 9f66f99ee56f
parent 36 01a6848ebfd7
equal deleted inserted replaced
103:2717213c588a 187:9f66f99ee56f
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 //
    14 //
    15 
    15 
    16 #include "fbsmessage.h"
       
    17 #include "../sfbs/UTILS.H"
    16 #include "../sfbs/UTILS.H"
    18 #include "tipctest.h"
    17 #include "tipctest.h"
    19 #include "fbsdefs.h"
    18 #include "fbsdefs.h"
       
    19 #include "fbsmessage.h"
    20 
    20 
    21 // Invalid parameters to be passed in SendCommand() calls.
    21 // Invalid parameters to be passed in SendCommand() calls.
    22 const TInt KInvalidParam1 = 963955448;
    22 const TInt KInvalidParam1 = 963955448;
    23 const TInt KInvalidParam2 = 963955368;
    23 const TInt KInvalidParam2 = 963955368;
    24 const TInt KInvalidParam3 = 963955300;
    24 const TInt KInvalidParam3 = 963955300;
    73 	TEST(ret==KErrNone);
    73 	TEST(ret==KErrNone);
    74 	TEST(iFs != NULL);
    74 	TEST(iFs != NULL);
    75 	
    75 	
    76 	}
    76 	}
    77 
    77 
    78 /**
       
    79 	@SYMTestCaseID
       
    80 	GRAPHICS-FBSERV-0603
       
    81 
       
    82 	@SYMTestCaseDesc
       
    83 	Tests the sending of commands to a FbsSession 
       
    84 	server thru Inter Process Communication. Sends
       
    85 	both valid and invalid commands.
       
    86 
       
    87 	@SYMTestActions
       
    88 	Commands sent to the server:
       
    89 	1. EFbsMessShutdown
       
    90 	2. EFbsMessFontHeightInTwips
       
    91 	3. EFbsMessFontHeightInTwips
       
    92 	4. EFbsMessFontHeightInPixels
       
    93 	5. EFbsMessFontHeightInPixels
       
    94 	6. EFbsMessAddFontStoreFile
       
    95 	7. EFbsMessAddFontStoreFile
       
    96 	8. EFbsMessInstallFontStoreFile
       
    97 	9. EFbsMessInstallFontStoreFile
       
    98 	10. EFbsMessInstallFontStoreFile
       
    99 	11. EFbsMessBitmapCreate
       
   100 	12. EFbsMessRasterize
       
   101 	13. EFbsMessFaceAttrib
       
   102 	14. EFbsMessHasCharacter
       
   103 	15. EFbsMessFontNameAlias
       
   104 	16. EFbsMessGetNearestFontToDesignHeightInTwips
       
   105 	17. EFbsMessGetNearestFontToMaxHeightInTwips
       
   106 	18. EFbsMessGetNearestFontToDesignHeightInPixels
       
   107 	19. EFbsMessGetNearestFontToMaxHeightInPixels
       
   108 	20. EFbsMessShapeText
       
   109 	21. EFbsMessShapeDelete
       
   110 	22. EFbsMessSetTwipsHeight
       
   111 	23. EFbsMessGetTwipsHeight	
       
   112 	@SYMTestExpectedResults
       
   113     Test should pass
       
   114 
       
   115     @SYMTestCaseID
       
   116     TI18N-GDI-CIT-4086
       
   117 
       
   118     @SYMTestCaseDesc
       
   119     Test if FBS can handle invalid messages correctly
       
   120     and panic the client as needed.
       
   121 
       
   122     @SYMTestActions
       
   123 	24. EFbsMessGetFontTable
       
   124 	25. EFbsMessReleaseFontTable
       
   125 	26. EFbsMessGetGlyphOutline
       
   126 	27.EFbsMessReleaseGlyphOutline
       
   127 	
       
   128 	@SYMTestExpectedResults
       
   129 	Test should pass
       
   130 */
       
   131 void CTIPCTest::RunTestCaseL(TInt aCurTestCase)
    78 void CTIPCTest::RunTestCaseL(TInt aCurTestCase)
   132 	{
    79 	{
   133 	_LIT(KCaseNumber, "CaseNumber");
    80 	_LIT(KCaseNumber, "CaseNumber");
   134 	
    81 	
   135 	TBool res = iStep->GetIntFromConfig(iStep->ConfigSection(), KCaseNumber, aCurTestCase);
    82 	TBool res = iStep->GetIntFromConfig(iStep->ConfigSection(), KCaseNumber, aCurTestCase);
   139 		return;
    86 		return;
   140 		}
    87 		}
   141 		
    88 		
   142 	switch(aCurTestCase)
    89 	switch(aCurTestCase)
   143 		{
    90 		{
       
    91 	/**
       
    92 		@SYMTestCaseID
       
    93 		GRAPHICS-FBSERV-0603
       
    94 
       
    95 		@SYMTestCaseDesc
       
    96 		Tests the sending of commands to a FbsSession 
       
    97 		server thru Inter Process Communication. Sends
       
    98 		both valid and invalid commands.
       
    99 
       
   100 		@SYMTestActions
       
   101 		Commands sent to the server:
       
   102 		1. EFbsMessShutdown
       
   103 		2. EFbsMessFontHeightInTwips
       
   104 		3. EFbsMessFontHeightInTwips
       
   105 		4. EFbsMessFontHeightInPixels
       
   106 		5. EFbsMessFontHeightInPixels
       
   107 		6. EFbsMessAddFontStoreFile
       
   108 		7. EFbsMessAddFontStoreFile
       
   109 		8. EFbsMessInstallFontStoreFile
       
   110 		9. EFbsMessInstallFontStoreFile
       
   111 		10. EFbsMessInstallFontStoreFile
       
   112 		11. EFbsMessBitmapCreate
       
   113 		12. EFbsMessRasterize
       
   114 		13. EFbsMessFaceAttrib
       
   115 		14. EFbsMessHasCharacter
       
   116 		15. EFbsMessFontNameAlias
       
   117 		16. EFbsMessGetNearestFontToDesignHeightInTwips
       
   118 		17. EFbsMessGetNearestFontToMaxHeightInTwips
       
   119 		18. EFbsMessGetNearestFontToDesignHeightInPixels
       
   120 		19. EFbsMessGetNearestFontToMaxHeightInPixels
       
   121 		20. EFbsMessShapeText
       
   122 		21. EFbsMessShapeDelete
       
   123 		22. EFbsMessSetTwipsHeight
       
   124 		23. EFbsMessGetTwipsHeight
       
   125 		
       
   126 		@SYMTestExpectedResults
       
   127 		Test should pass
       
   128 	*/
   144 	case 1:
   129 	case 1:
   145 		INFO_PRINTF1(_L("Shutdown\r\n"));
   130 		INFO_PRINTF1(_L("Shutdown"));
   146 		iFbs->SendCommand(EFbsMessShutdown);
   131 		iFbs->SendCommand(EFbsMessShutdown);
   147 		TestComplete();
   132 		TestComplete();
   148 		break;
   133 		break;
   149 	case 2:
   134 	case 2:
   150 		INFO_PRINTF1(_L("Height in twips with negative typeface index\r\n"));
   135 		INFO_PRINTF1(_L("Height in twips with negative typeface index"));
   151 		iFbs->SendCommand(EFbsMessFontHeightInTwips, -1);	
   136 		iFbs->SendCommand(EFbsMessFontHeightInTwips, -1);	
   152 		TEST(EFalse); // Previous line should have paniced 
   137 		TEST(EFalse); // Previous line should have paniced 
   153 		TestComplete();
   138 		TestComplete();
   154 		break;	
   139 		break;	
   155 	case 3:
   140 	case 3:
   156 		INFO_PRINTF1(_L("Height in twips with invalid size\r\n"));
   141 		INFO_PRINTF1(_L("Height in twips with invalid size"));
   157 		iClient.SendInvalidSize(EFbsMessFontHeightInTwips);
   142 		iClient.SendInvalidSize(EFbsMessFontHeightInTwips);
   158 		TEST(EFalse);
   143 		TEST(EFalse);
   159 		TestComplete();
   144 		TestComplete();
   160 		break;
   145 		break;
   161 	case 4:
   146 	case 4:
   162 		INFO_PRINTF1(_L("Height in pixels with negative typeface index\r\n"));
   147 		INFO_PRINTF1(_L("Height in pixels with negative typeface index"));
   163 		iFbs->SendCommand(EFbsMessFontHeightInPixels, -1);
   148 		iFbs->SendCommand(EFbsMessFontHeightInPixels, -1);
   164 		TEST(EFalse);
   149 		TEST(EFalse);
   165 		TestComplete();
   150 		TestComplete();
   166 		break;
   151 		break;
   167 	case 5:
   152 	case 5:
   168 		INFO_PRINTF1(_L("Height in pixels with invalid size\r\n"));
   153 		INFO_PRINTF1(_L("Height in pixels with invalid size"));
   169 		iClient.SendInvalidSize(EFbsMessFontHeightInPixels);
   154 		iClient.SendInvalidSize(EFbsMessFontHeightInPixels);
   170 		TEST(EFalse);
   155 		TEST(EFalse);
   171 		TestComplete();
   156 		TestComplete();
   172 		break;
   157 		break;
   173 	case 6:
   158 	case 6:
   174 		INFO_PRINTF1(_L("Add font store file with negative length\r\n"));
   159 		INFO_PRINTF1(_L("Add font store file with negative length"));
   175 		iFbs->SendCommand(EFbsMessAddFontStoreFile, 0, -1);
   160 		iFbs->SendCommand(EFbsMessAddFontStoreFile, 0, -1);
   176 		TEST(EFalse);
   161 		TEST(EFalse);
   177 		TestComplete();
   162 		TestComplete();
   178 		break;
   163 		break;
   179 	case 7:
   164 	case 7:
   180 		INFO_PRINTF1(_L("Add font store file with huge length\r\n"));
   165 		INFO_PRINTF1(_L("Add font store file with huge length"));
   181 		iFbs->SendCommand(EFbsMessAddFontStoreFile, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   166 		iFbs->SendCommand(EFbsMessAddFontStoreFile, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   182 		TEST(EFalse);
   167 		TEST(EFalse);
   183 		TestComplete();
   168 		TestComplete();
   184 		break;
   169 		break;
   185 	case 8:
   170 	case 8:
   186 		INFO_PRINTF1(_L("Install font store file with negative length\r\n"));
   171 		INFO_PRINTF1(_L("Install font store file with negative length"));
   187 		iFbs->SendCommand(EFbsMessInstallFontStoreFile, 0, -1);
   172 		iFbs->SendCommand(EFbsMessInstallFontStoreFile, 0, -1);
   188 		TEST(EFalse);
   173 		TEST(EFalse);
   189 		TestComplete();
   174 		TestComplete();
   190 		break;
   175 		break;
   191 	case 9:
   176 	case 9:
   192 		INFO_PRINTF1(_L("Install font store file with huge length\r\n"));
   177 		INFO_PRINTF1(_L("Install font store file with huge length"));
   193 		iFbs->SendCommand(EFbsMessInstallFontStoreFile, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   178 		iFbs->SendCommand(EFbsMessInstallFontStoreFile, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   194 		TEST(EFalse);
   179 		TEST(EFalse);
   195 		TestComplete();
   180 		TestComplete();
   196 		break;
   181 		break;
   197 	case 10:
   182 	case 10:
   198 		INFO_PRINTF1(_L("Remove font store file with active references\r\n"));
   183 		INFO_PRINTF1(_L("Remove font store file with active references"));
   199 		iFbs->SendCommand(EFbsMessRemoveFontStoreFile, 11);
   184 		iFbs->SendCommand(EFbsMessRemoveFontStoreFile, 11);
   200 		// With PDEF121246 (INC120690) fix in place, this test will always pass. Without the fix there will be a KERN 4 panic.
   185 		// With PDEF121246 (INC120690) fix in place, this test will always pass. Without the fix there will be a KERN 4 panic.
   201 		TEST(ETrue); 
   186 		TEST(ETrue); 
   202 		TestComplete();
   187 		TestComplete();
   203 		break;
   188 		break;
   204 	case 11:
   189 	case 11:
   205 		INFO_PRINTF1(_L("Bitmap create with invalid display mode\r\n"));
   190 		INFO_PRINTF1(_L("Bitmap create with invalid display mode"));
   206 		iClient.SendInvalidDisplayMode(EFbsMessBitmapCreate);
   191 		iClient.SendInvalidDisplayMode(EFbsMessBitmapCreate);
   207 		TEST(EFalse);
   192 		TEST(EFalse);
   208 		TestComplete();
   193 		TestComplete();
   209 		break;
   194 		break;
   210 	case 12:
   195 	case 12:
   211 		INFO_PRINTF1(_L("Rasterize with invalid bitmap handle\r\n"));
   196 		INFO_PRINTF1(_L("Rasterize with invalid bitmap handle"));
   212 		iFbs->SendCommand(EFbsMessRasterize, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   197 		iFbs->SendCommand(EFbsMessRasterize, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   213 		TEST(EFalse);
   198 		TEST(EFalse);
   214 		TestComplete();
   199 		TestComplete();
   215 		break;
   200 		break;
   216 	case 13:
   201 	case 13:
   217 		INFO_PRINTF1(_L("Face Attribute with invalid bitmap handle\r\n"));
   202 		INFO_PRINTF1(_L("Face Attribute with invalid bitmap handle"));
   218 		iFbs->SendCommand(EFbsMessFaceAttrib, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   203 		iFbs->SendCommand(EFbsMessFaceAttrib, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   219 		TEST(EFalse);
   204 		TEST(EFalse);
   220 		TestComplete();
   205 		TestComplete();
   221 		break;
   206 		break;
   222 	case 14:
   207 	case 14:
   223 		INFO_PRINTF1(_L("Has Character with invalid bitmap handle\r\n"));
   208 		INFO_PRINTF1(_L("Has Character with invalid bitmap handle"));
   224 		iFbs->SendCommand(EFbsMessHasCharacter, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   209 		iFbs->SendCommand(EFbsMessHasCharacter, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   225 		TEST(EFalse);
   210 		TEST(EFalse);
   226 		TestComplete();
   211 		TestComplete();
   227 		break;
   212 		break;
   228 	case 15:
   213 	case 15:
   229 		INFO_PRINTF1(_L("Name Alias with huge alias name length\r\n"));
   214 		INFO_PRINTF1(_L("Name Alias with huge alias name length"));
   230 		iFbs->SendCommand(EFbsMessFontNameAlias, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   215 		iFbs->SendCommand(EFbsMessFontNameAlias, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   231 		TEST(EFalse);
   216 		TEST(EFalse);
   232 		TestComplete();
   217 		TestComplete();
   233 		break;
   218 		break;
   234 	case 16:
   219 	case 16:
   235 		INFO_PRINTF1(_L("Get nearest font to design height in twips with invalid typeface name length\r\n"));
   220 		INFO_PRINTF1(_L("Get nearest font to design height in twips with invalid typeface name length"));
   236 		iClient.SendInvalidNameLength(EFbsMessGetNearestFontToDesignHeightInTwips);
   221 		iClient.SendInvalidNameLength(EFbsMessGetNearestFontToDesignHeightInTwips);
   237 		TEST(EFalse);
   222 		TEST(EFalse);
   238 		TestComplete();
   223 		TestComplete();
   239 		break;
   224 		break;
   240 	case 17:
   225 	case 17:
   241 		INFO_PRINTF1(_L("Get nearest font to max height in twips with invalid typeface name length\r\n"));
   226 		INFO_PRINTF1(_L("Get nearest font to max height in twips with invalid typeface name length"));
   242 		iClient.SendInvalidNameLength(EFbsMessGetNearestFontToMaxHeightInTwips);
   227 		iClient.SendInvalidNameLength(EFbsMessGetNearestFontToMaxHeightInTwips);
   243 		TEST(EFalse);
   228 		TEST(EFalse);
   244 		TestComplete();
   229 		TestComplete();
   245 		break;
   230 		break;
   246 	case 18:
   231 	case 18:
   247 		INFO_PRINTF1(_L("Get nearest font to design height in pixels with invalid typeface name length\r\n"));
   232 		INFO_PRINTF1(_L("Get nearest font to design height in pixels with invalid typeface name length"));
   248 		iClient.SendInvalidNameLength(EFbsMessGetNearestFontToDesignHeightInPixels);
   233 		iClient.SendInvalidNameLength(EFbsMessGetNearestFontToDesignHeightInPixels);
   249 		TEST(EFalse);
   234 		TEST(EFalse);
   250 		TestComplete();
   235 		TestComplete();
   251 		break;
   236 		break;
   252 	case 19:
   237 	case 19:
   253 		INFO_PRINTF1(_L("Get nearest font to max height in pixels with invalid typeface name length\r\n"));
   238 		INFO_PRINTF1(_L("Get nearest font to max height in pixels with invalid typeface name length"));
   254 		iClient.SendInvalidNameLength(EFbsMessGetNearestFontToMaxHeightInPixels);
   239 		iClient.SendInvalidNameLength(EFbsMessGetNearestFontToMaxHeightInPixels);
   255 		TEST(EFalse);
   240 		TEST(EFalse);
   256 		TestComplete();
   241 		TestComplete();
   257 		break;
   242 		break;
   258 	case 20:
   243 	case 20:
   259 		INFO_PRINTF1(_L("Shape text with invalid bitmap font handle\r\n"));
   244 		INFO_PRINTF1(_L("Shape text with invalid bitmap font handle"));
   260 		iFbs->SendCommand(EFbsMessShapeText, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   245 		iFbs->SendCommand(EFbsMessShapeText, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   261 		TEST(EFalse);
   246 		TEST(EFalse);
   262 		TestComplete();
   247 		TestComplete();
   263 		break;
   248 		break;
   264 	case 21:
   249 	case 21:
   265 		INFO_PRINTF1(_L("Shape delete with invalid bitmap font handle\r\n"));
   250 		INFO_PRINTF1(_L("Shape delete with invalid bitmap font handle"));
   266 		iFbs->SendCommand(EFbsMessShapeDelete, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   251 		iFbs->SendCommand(EFbsMessShapeDelete, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   267 		TEST(EFalse);
   252 		TEST(EFalse);
   268 		TestComplete();
   253 		TestComplete();
   269 		break;
   254 		break;
   270 	case 22:
   255 	case 22:
   271 		INFO_PRINTF1(_L("Set twips height with invalid font handle\r\n"));
   256 		INFO_PRINTF1(_L("Set twips height with invalid font handle"));
   272 		iFbs->SendCommand(EFbsMessSetTwipsHeight, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   257 		iFbs->SendCommand(EFbsMessSetTwipsHeight, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   273 		TEST(EFalse);
   258 		TEST(EFalse);
   274 		TestComplete();
   259 		TestComplete();
   275 		break;
   260 		break;
   276 	case 23:
   261 	case 23:
   277 		INFO_PRINTF1(_L("Get twips height with invalid font handle\r\n"));
   262 		INFO_PRINTF1(_L("Get twips height with invalid font handle"));
   278 		((CTIPCTestStep*)iStep)->SetOverallTestStepID(_L("GRAPHICS-FBSERV-0603"));
       
   279 		((CTIPCTestStep*)iStep)->RecordTestResultL();
       
   280 		((CTIPCTestStep*)iStep)->CloseTMSGraphicsStep();
       
   281 		iFbs->SendCommand(EFbsMessGetTwipsHeight, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   263 		iFbs->SendCommand(EFbsMessGetTwipsHeight, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   282 		TEST(EFalse);
   264 		TEST(EFalse);
   283 		TestComplete();
   265 		TestComplete();
   284 		break;	
   266 		break;	
   285 	case 24:
   267 	case 24:
   286 		INFO_PRINTF1(_L("Get Font Table with wrong msg\r\n"));
   268 		/**
   287 		iFbs->SendCommand(EFbsMessGetFontTable, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);   
   269 			@SYMTestCaseID	GRAPHICS-FBSERV-0630
       
   270 
       
   271 			@SYMTestCaseDesc
       
   272 			Tests that invalid font handle to EFbsMessGetGlyphs causes panic
       
   273 
       
   274 			@SYMTestExpectedResults
       
   275 			Client should panic with FBSERV -8
       
   276 		*/
       
   277 		INFO_PRINTF1(_L("Get glyphs from glyph atlas with invalid font handle"));
       
   278 		iFbs->SendCommand(EFbsMessGetGlyphs, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
       
   279 		TEST(EFalse);
       
   280 		TestComplete();
       
   281 		break;
       
   282 	case 25:
       
   283 		/**
       
   284 			@SYMTestCaseID	GRAPHICS-FBSERV-0670
       
   285 
       
   286 			@SYMTestCaseDesc
       
   287 			Tests that invalid font handle to EFbsMessGetGlyphMetrics causes panic
       
   288 
       
   289 			@SYMTestExpectedResults
       
   290 			Client should panic with FBSERV -8
       
   291 		*/
       
   292 		INFO_PRINTF1(_L("Get glyph metrics with invalid font handle"));
       
   293 		iFbs->SendCommand(EFbsMessGetGlyphMetrics, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
       
   294 		TEST(EFalse);
       
   295 		TestComplete();
       
   296 		break;
       
   297 	/**
       
   298 		@SYMTestCaseID
       
   299 		TI18N-GDI-CIT-4086
       
   300 
       
   301 		@SYMTestCaseDesc
       
   302 		Test if FBS can handle invalid messages correctly
       
   303 		and panic the client as needed.
       
   304 
       
   305 		@SYMTestActions
       
   306 		26. EFbsMessGetFontTable
       
   307 		27. EFbsMessReleaseFontTable
       
   308 		28. EFbsMessGetGlyphOutline
       
   309 		29. EFbsMessReleaseGlyphOutline
       
   310 	
       
   311 		@SYMTestExpectedResults
       
   312 		Test should pass
       
   313 	*/
       
   314 	case 26:
       
   315 		INFO_PRINTF1(_L("Get Font Table with wrong msg"));
       
   316 		iFbs->SendCommand(EFbsMessGetFontTable, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   288 		TEST(EFalse); 
   317 		TEST(EFalse); 
   289 		TestComplete();
   318 		TestComplete();
   290 		break;
   319 		break;
   291 	case 25:
   320 	case 27:
   292 		INFO_PRINTF1(_L("Release Font Table with wrong msg\r\n"));
   321 		INFO_PRINTF1(_L("Release Font Table with wrong msg"));
   293 		iFbs->SendCommand(EFbsMessReleaseFontTable, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);   
   322 		iFbs->SendCommand(EFbsMessReleaseFontTable, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   294 		TEST(EFalse); 
   323 		TEST(EFalse); 
   295 		TestComplete();
   324 		TestComplete();
   296 		break;    
   325 		break;
   297 	case 26:
   326 	case 28:
   298 		INFO_PRINTF1(_L("Get Glyph outline with wrong msg\r\n"));
   327 		INFO_PRINTF1(_L("Get Glyph outline with wrong msg"));
   299 		iFbs->SendCommand(EFbsMessGetGlyphOutline,KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);   
   328 		iFbs->SendCommand(EFbsMessGetGlyphOutline,KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   300 		TEST(EFalse); 
   329 		TEST(EFalse); 
   301 		TestComplete();
   330 		TestComplete();
   302 		break;
   331 		break;
   303 	case 27:
   332 	case 29:
   304 		INFO_PRINTF1(_L("Release Glyph outline with wrong msg\r\n"));
   333 		INFO_PRINTF1(_L("Release Glyph outline with wrong msg"));
   305 		iFbs->SendCommand(EFbsMessReleaseGlyphOutline, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);   
   334 		iFbs->SendCommand(EFbsMessReleaseGlyphOutline, KInvalidParam1, KInvalidParam2, KInvalidParam3, KInvalidParam4);
   306 		TEST(EFalse); 
   335 		TEST(EFalse); 
   307 		TestComplete();
   336 		TestComplete();
   308 		break;
   337 		break;
   309 	case 28:
   338 	case 30:
   310 		TestComplete();
   339 		TestComplete();
   311 		break;
   340 		break;
   312 		}
   341 		}
   313 	}
   342 	}
   314 	
   343