photosgallery/slideshow/engine/tsrc/t_cshwviewcontrol/t_cshwviewcontrol.cpp
changeset 0 4e91876724a2
child 18 bcb43dc84c44
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   Test for view control for the slideshow
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 //  CLASS HEADER
       
    22 #include "t_cshwviewcontrol.h"
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <digia/eunit/EUnitMacros.h>
       
    26 #include <digia/eunit/EUnitDecorators.h>
       
    27 
       
    28 //  INTERNAL INCLUDES
       
    29 #include "shwviewcontrol.h"
       
    30 #include "shwevent.h"
       
    31 #include "shwslideshowenginepanic.h"
       
    32 
       
    33 TBool gPanicCalled;
       
    34 namespace NShwEngine
       
    35 	{
       
    36 	extern void Panic( TShwEnginePanic aPanic )
       
    37 	    {
       
    38 	    gPanicCalled = ETrue;
       
    39 	    // in test situation we just leave
       
    40 	    User::Leave( aPanic );
       
    41 	    }
       
    42 	}
       
    43 
       
    44 // CONSTRUCTION
       
    45 T_CShwViewControl* T_CShwViewControl::NewL()
       
    46     {
       
    47     T_CShwViewControl* self = T_CShwViewControl::NewLC();
       
    48     CleanupStack::Pop();
       
    49 
       
    50     return self;
       
    51     }
       
    52 
       
    53 T_CShwViewControl* T_CShwViewControl::NewLC()
       
    54     {
       
    55     T_CShwViewControl* self = new( ELeave ) T_CShwViewControl();
       
    56     CleanupStack::PushL( self );
       
    57 
       
    58     self->ConstructL();
       
    59 
       
    60     return self;
       
    61     }
       
    62 
       
    63 // Destructor (virtual by CBase)
       
    64 T_CShwViewControl::~T_CShwViewControl()
       
    65     {
       
    66     Teardown();
       
    67     }
       
    68 
       
    69 // Default constructor
       
    70 T_CShwViewControl::T_CShwViewControl()
       
    71     {
       
    72     }
       
    73 
       
    74 // Second phase construct
       
    75 void T_CShwViewControl::ConstructL()
       
    76     {
       
    77     // The ConstructL from the base class CEUnitTestSuiteClass must be called.
       
    78     // It generates the test case table.
       
    79     CEUnitTestSuiteClass::ConstructL();
       
    80     }
       
    81 
       
    82 void T_CShwViewControl::SendEventL( MShwEvent* aEvent )
       
    83 	{
       
    84 	// need to clone the event since the caller goes out of scope
       
    85 	iEvent = aEvent->CloneLC();
       
    86 	CleanupStack::Pop();
       
    87 	}
       
    88 
       
    89 const TInt KTestTransitionDuration = 987;
       
    90 const TInt KTestViewDuration = 678;
       
    91 
       
    92 //  METHODS
       
    93 TBool gMediaListCalled = EFalse;
       
    94 void T_CShwViewControl::MGlxMediaList_MethodCalled( TMGlxMediaListMethodId /*aMethodId*/ )
       
    95 	{
       
    96 	// media list was called
       
    97 	gMediaListCalled = ETrue;
       
    98 	}
       
    99 
       
   100 void T_CShwViewControl::SetupL()
       
   101 	{
       
   102 	iStubMediaList = new( ELeave ) TMGlxMediaList_Stub( this );
       
   103 
       
   104 	// create viewcontrol
       
   105 	iCShwViewControl = 
       
   106 		CShwViewControl::NewL( 
       
   107 			*iStubMediaList, KTestTransitionDuration, KTestViewDuration );
       
   108 	// set the event queue
       
   109 	iCShwViewControl->SetEventQueue( this );
       
   110 	
       
   111 	// reset flags
       
   112 	gPanicCalled = EFalse;
       
   113 	gMediaListCalled = EFalse;
       
   114 	}
       
   115 
       
   116 void T_CShwViewControl::Teardown()
       
   117 	{
       
   118 	// delete the object
       
   119 	delete iCShwViewControl; 
       
   120 	iCShwViewControl = NULL;
       
   121 	
       
   122 	delete iStubMediaList;
       
   123 	iStubMediaList = NULL;
       
   124 	
       
   125 	// delete the event
       
   126 	delete iEvent;
       
   127 	iEvent = NULL;
       
   128 	}
       
   129 
       
   130 void T_CShwViewControl::TestNewlL()
       
   131 	{
       
   132 	}
       
   133 
       
   134 void T_CShwViewControl::TestNotifyL1L()
       
   135 	{
       
   136 	// Path
       
   137 	// true: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   138 	TShwEventStart start;
       
   139 	// call notify
       
   140 	iCShwViewControl->NotifyL( &start );
       
   141 
       
   142 	EUNIT_ASSERT_DESC( iEvent, "event was received" );
       
   143 	TShwEventStartView* startview = dynamic_cast<TShwEventStartView*>( iEvent );
       
   144 	EUNIT_ASSERT_DESC( startview, "event was TShwEventStartView" );
       
   145 	EUNIT_ASSERT_EQUALS_DESC(
       
   146 		startview->Parameter(), KTestViewDuration, "event had correct parameter" );
       
   147 	}
       
   148 
       
   149 void T_CShwViewControl::TestNotifyL2L()
       
   150     {
       
   151 	// Path
       
   152 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   153 	//  true: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   154 	// false: if( iTransitionReadyReceived || iUserNavigated )
       
   155     TShwEventReadyToView ready2view;
       
   156     iCShwViewControl->NotifyL( &ready2view );
       
   157 
       
   158 	EUNIT_ASSERT_DESC( !iEvent, "event was not received" );
       
   159     }
       
   160 
       
   161 void T_CShwViewControl::TestNotifyL3L()
       
   162     {
       
   163 	// Path
       
   164 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   165 	//  true: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   166 	//  true: if( iTransitionReadyReceived || iUserNavigated )
       
   167     TShwEventTransitionReady trans;
       
   168     iCShwViewControl->NotifyL( &trans );
       
   169 
       
   170     TShwEventReadyToView ready2view;
       
   171     iCShwViewControl->NotifyL( &ready2view );
       
   172 
       
   173 	EUNIT_ASSERT_DESC( iEvent, "event was received" );
       
   174 	TShwEventStartView* startview = dynamic_cast<TShwEventStartView*>( iEvent );
       
   175 	EUNIT_ASSERT_DESC( startview, "event was TShwEventStartView" );
       
   176 	EUNIT_ASSERT_EQUALS_DESC( 
       
   177 		startview->Parameter(), KTestViewDuration, "event had correct parameter" );
       
   178     }
       
   179 
       
   180 void T_CShwViewControl::TestNotifyL4L()
       
   181     {
       
   182 	// Path
       
   183 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   184 	// false: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   185 	//  true: else if( dynamic_cast< TShwEventTransitionReady* >( aEvent ) )
       
   186 	// false: if( iReadyToViewReceived )
       
   187     TShwEventTransitionReady trans;
       
   188     iCShwViewControl->NotifyL( &trans );
       
   189 
       
   190 	EUNIT_ASSERT_DESC( !iEvent, "event was not received" );
       
   191     }
       
   192     
       
   193 void T_CShwViewControl::TestNotifyL5L()
       
   194     {
       
   195 	// Path
       
   196 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   197 	// false: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   198 	//  true: else if( dynamic_cast< TShwEventTransitionReady* >( aEvent ) )
       
   199 	//  true: if( iReadyToViewReceived )
       
   200     TShwEventReadyToView ready2view;
       
   201     iCShwViewControl->NotifyL( &ready2view );
       
   202 
       
   203     TShwEventTransitionReady trans;
       
   204     iCShwViewControl->NotifyL( &trans );
       
   205 
       
   206 	EUNIT_ASSERT_DESC( iEvent, "event was received" );
       
   207 	TShwEventStartView* startview = dynamic_cast<TShwEventStartView*>( iEvent );
       
   208 	EUNIT_ASSERT_DESC( startview, "event was TShwEventStartView" );
       
   209 	EUNIT_ASSERT_EQUALS_DESC( 
       
   210 		startview->Parameter(), KTestViewDuration, "event had correct parameter" );
       
   211     }
       
   212 
       
   213 void T_CShwViewControl::TestNotifyL6L()
       
   214     {
       
   215 	// Path
       
   216 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   217 	// false: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   218 	// false: else if( dynamic_cast< TShwEventTransitionReady* >( aEvent ) )
       
   219 	//  true: else if( dynamic_cast< TShwEventTimerBeat* >( aEvent ) )
       
   220 	//  true: 	 if( iTimerReceived && iReadyToAdvanceReceived && (!iPaused) && (iList.Count() > 1) )
       
   221 	// call notify first with view ready
       
   222 	TShwEventReadyToAdvance viewReady;
       
   223     iCShwViewControl->NotifyL( &viewReady );
       
   224 	// then send timer beat
       
   225     TShwEventTimerBeat beat;
       
   226     iCShwViewControl->NotifyL( &beat );
       
   227 	// validate
       
   228 	EUNIT_ASSERT_DESC( iEvent, "event was received" );
       
   229 	TShwEventStartTransition* startview = dynamic_cast<TShwEventStartTransition*>( iEvent );
       
   230 	EUNIT_ASSERT_DESC( startview, "event was TShwEventStartTransition" );
       
   231 	EUNIT_ASSERT_EQUALS_DESC( 
       
   232 		startview->Parameter(), KTestTransitionDuration, "event had correct parameter" );
       
   233     }
       
   234     
       
   235 void T_CShwViewControl::TestNotifyL7L()
       
   236     {
       
   237 	// Path
       
   238 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   239 	// false: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   240 	// false: else if( dynamic_cast< TShwEventTransitionReady* >( aEvent ) )
       
   241 	//  true: else if( dynamic_cast< TShwEventTimerBeat* >( aEvent ) )
       
   242 	//  false: 	 if( iTimerReceived && iReadyToAdvanceReceived && (!iPaused) && (iList.Count() > 1) )
       
   243 	// send timer beat
       
   244     TShwEventTimerBeat beat;
       
   245     iCShwViewControl->NotifyL( &beat );
       
   246 	EUNIT_ASSERT_DESC( !iEvent, "event was not received" );
       
   247     }
       
   248 
       
   249 void T_CShwViewControl::TestNotifyL8L()
       
   250     {
       
   251 	// Path
       
   252 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   253 	// false: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   254 	// false: else if( dynamic_cast< TShwEventTransitionReady* >( aEvent ) )
       
   255 	//  true: else if( dynamic_cast< TShwEventTimerBeat* >( aEvent ) )
       
   256 	//  false: 	 if( iTimerReceived && iReadyToAdvanceReceived && (!iPaused) && (iList.Count() > 1) )
       
   257     // test iPaused
       
   258 	// call notify first with view ready
       
   259 	TShwEventReadyToAdvance viewReady;
       
   260     iCShwViewControl->NotifyL( &viewReady );
       
   261 	// send pause
       
   262 	TShwEventPause pause;
       
   263     iCShwViewControl->NotifyL( &pause );
       
   264 	// then send timer beat
       
   265     TShwEventTimerBeat beat;
       
   266     iCShwViewControl->NotifyL( &beat );
       
   267 	// validate
       
   268 	EUNIT_ASSERT_DESC( !iEvent, "event was not received" );
       
   269     }
       
   270     
       
   271 void T_CShwViewControl::TestNotifyL9L()
       
   272     {
       
   273 	// Path
       
   274 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   275 	// false: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   276 	// false: else if( dynamic_cast< TShwEventTransitionReady* >( aEvent ) )
       
   277 	//  true: else if( dynamic_cast< TShwEventTimerBeat* >( aEvent ) )
       
   278 	//  false: 	 if( iTimerReceived && iReadyToAdvanceReceived && (!iPaused) && (iList.Count() > 1) )
       
   279 	// test iList.Count()
       
   280 	// call notify first with view ready
       
   281 	TShwEventReadyToAdvance viewReady;
       
   282     iCShwViewControl->NotifyL( &viewReady );
       
   283     // set list count to be one
       
   284     iStubMediaList->iCount = 1;
       
   285 	// then send timer beat
       
   286     TShwEventTimerBeat beat;
       
   287     iCShwViewControl->NotifyL( &beat );
       
   288 	// validate
       
   289 	EUNIT_ASSERT_DESC( !iEvent, "event was not received" );
       
   290     }
       
   291     
       
   292 void T_CShwViewControl::TestNotifyL10L()
       
   293     {
       
   294 	// Path
       
   295 	// all top level ifs are false
       
   296     iCShwViewControl->NotifyL( NULL );
       
   297 
       
   298 	EUNIT_ASSERT_DESC( !iEvent, "event was not received" );
       
   299     }
       
   300 
       
   301 void T_CShwViewControl::TestNotifyL11L()
       
   302     {
       
   303     // Path
       
   304 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   305 	// false: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   306 	// false: else if( dynamic_cast< TShwEventTransitionReady* >( aEvent ) )
       
   307 	// false: else if( dynamic_cast< TShwEventTimerBeat* >( aEvent ) )
       
   308 	//  true: else if( dynamic_cast< TShwEventReadyToAdvance* >( aEvent ) )
       
   309 	//  true:	if( iTimerReceived && iReadyToAdvanceReceived && (!iPaused) && (iList.Count() > 1) )
       
   310     // iTimerReceived value should be ETrue
       
   311 	// send timerbeat first
       
   312 	TShwEventTimerBeat beat;
       
   313     iCShwViewControl->NotifyL( &beat );
       
   314     // then send the ready to advance
       
   315     TShwEventReadyToAdvance view_ready;
       
   316     iCShwViewControl->NotifyL( &view_ready );
       
   317 	// validate
       
   318 	EUNIT_ASSERT_DESC( iEvent, "event was received" );
       
   319 	TShwEventStartTransition* start = dynamic_cast<TShwEventStartTransition*>( iEvent );
       
   320 	EUNIT_ASSERT_DESC( start, "event was TShwEventStartTransition" );
       
   321 	EUNIT_ASSERT_EQUALS_DESC(
       
   322 		start->Parameter(), KTestTransitionDuration, "event had correct parameter" );
       
   323     }
       
   324     
       
   325 void T_CShwViewControl::TestNotifyL12L()
       
   326     {
       
   327     // Path
       
   328 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   329 	// false: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   330 	// false: else if( dynamic_cast< TShwEventTransitionReady* >( aEvent ) )
       
   331 	// false: else if( dynamic_cast< TShwEventTimerBeat* >( aEvent ) )
       
   332 	//  true: else if( dynamic_cast< TShwEventReadyToAdvance* >( aEvent ) )
       
   333 	//  true:	if( iTimerReceived && iReadyToAdvanceReceived && (!iPaused) && (iList.Count() > 1) )
       
   334     // iTimerReceived value should be EFalse
       
   335     // send the view ready
       
   336     TShwEventReadyToAdvance view_ready;
       
   337     iCShwViewControl->NotifyL( &view_ready );
       
   338 
       
   339 	EUNIT_ASSERT_DESC( !iEvent, "event was not received" );
       
   340     }
       
   341 
       
   342 void T_CShwViewControl::TestNotifyL13L()
       
   343     {
       
   344     // Path
       
   345 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   346 	// false: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   347 	// false: else if( dynamic_cast< TShwEventTransitionReady* >( aEvent ) )
       
   348 	// false: else if( dynamic_cast< TShwEventTimerBeat* >( aEvent ) )
       
   349 	//  true: else if( dynamic_cast< TShwEventReadyToAdvance* >( aEvent ) )
       
   350 	//  true:	if( iTimerReceived && iReadyToAdvanceReceived && (!iPaused) && (iList.Count() > 1) )
       
   351     // iTimerReceived value should be ETrue, iPaused should be false
       
   352 	// send timerbeat first
       
   353 	TShwEventTimerBeat beat;
       
   354     iCShwViewControl->NotifyL( &beat );
       
   355 	// send pause
       
   356 	TShwEventPause pause;
       
   357     iCShwViewControl->NotifyL( &pause );
       
   358     // send the view ready
       
   359     TShwEventReadyToAdvance view_ready;
       
   360     iCShwViewControl->NotifyL( &view_ready );
       
   361 
       
   362 	EUNIT_ASSERT_DESC( !iEvent, "event was not received" );
       
   363     }
       
   364 
       
   365 void T_CShwViewControl::TestNotifyL14L()
       
   366     {
       
   367     // test pause - usernavigate - resume
       
   368     // Path
       
   369 	// false: if( dynamic_cast< TShwEventStart* >( aEvent ) )
       
   370 	// false: else if( dynamic_cast< TShwEventReadyToView* >( aEvent ) )
       
   371 	// false: else if( dynamic_cast< TShwEventTransitionReady* >( aEvent ) )
       
   372 	// false: else if( dynamic_cast< TShwEventTimerBeat* >( aEvent ) )
       
   373 	// false: else if( dynamic_cast< TShwEventReadyToAdvance* >( aEvent ) )
       
   374 	//  true: else if ( dynamic_cast< TShwEventNextImage* >( aEvent )
       
   375 
       
   376 	// send pause
       
   377 	TShwEventPause pause;
       
   378     iCShwViewControl->NotifyL( &pause );
       
   379 
       
   380     // send the previous image
       
   381     TShwEventPreviousImage previous;
       
   382     iCShwViewControl->NotifyL( &previous );
       
   383 
       
   384 	// validate that start view was not yet sent
       
   385 	EUNIT_ASSERT_DESC( !iEvent, "event was not received" );
       
   386 
       
   387 	// send ready to view
       
   388 	TShwEventReadyToView readyToView;
       
   389     iCShwViewControl->NotifyL( &readyToView );
       
   390 
       
   391 	// validate that start view was sent
       
   392 	EUNIT_ASSERT_DESC( iEvent, "event was received" );
       
   393 	TShwEventStartView* startview = dynamic_cast<TShwEventStartView*>( iEvent );
       
   394 	EUNIT_ASSERT_DESC( startview, "event was TShwEventStartView" );
       
   395 	EUNIT_ASSERT_EQUALS_DESC( startview->Parameter(), 
       
   396 		KTestViewDuration, "event had correct parameter" );
       
   397 	// release event
       
   398 	delete iEvent;
       
   399 	iEvent = NULL;
       
   400 
       
   401 	// send resume
       
   402 	TShwEventResume resume;
       
   403     iCShwViewControl->NotifyL( &resume );
       
   404 
       
   405 	// validate that start view was sent again
       
   406 	EUNIT_ASSERT_DESC( iEvent, "event was received" );
       
   407 	startview = dynamic_cast<TShwEventStartView*>( iEvent );
       
   408 	EUNIT_ASSERT_DESC( startview, "event was TShwEventStartView" );
       
   409 	EUNIT_ASSERT_EQUALS_DESC( startview->Parameter(), 
       
   410 		KTestViewDuration, "event had correct parameter" );
       
   411     }
       
   412 
       
   413 //  TEST TABLE
       
   414 EUNIT_BEGIN_TEST_TABLE(
       
   415     T_CShwViewControl,
       
   416     "CShwViewControl test suite",
       
   417     "UNIT" )
       
   418 
       
   419 EUNIT_ALLOC_TEST(
       
   420     "Constructor test",
       
   421     "CShwViewControl",
       
   422     "NewL",
       
   423     "FUNCTIONALITY",
       
   424     SetupL, TestNewlL, Teardown )
       
   425 
       
   426 EUNIT_ALLOC_TEST(
       
   427     "NotifyL - path 1",
       
   428     "CShwViewControl",
       
   429     "NotifyL",
       
   430     "FUNCTIONALITY",
       
   431     SetupL, TestNotifyL1L, Teardown )
       
   432 
       
   433 EUNIT_ALLOC_TEST(
       
   434     "NotifyL - path 2",
       
   435     "CShwViewControl",
       
   436     "NotifyL",
       
   437     "FUNCTIONALITY",
       
   438     SetupL, TestNotifyL2L, Teardown )
       
   439 
       
   440 EUNIT_ALLOC_TEST(
       
   441     "NotifyL - path 3",
       
   442     "CShwViewControl",
       
   443     "NotifyL",
       
   444     "FUNCTIONALITY",
       
   445     SetupL, TestNotifyL3L, Teardown )
       
   446 
       
   447 EUNIT_ALLOC_TEST(
       
   448     "NotifyL - path 4",
       
   449     "CShwViewControl",
       
   450     "NotifyL",
       
   451     "FUNCTIONALITY",
       
   452     SetupL, TestNotifyL4L, Teardown )
       
   453 
       
   454 EUNIT_ALLOC_TEST(
       
   455     "NotifyL - path 5",
       
   456     "CShwViewControl",
       
   457     "NotifyL",
       
   458     "FUNCTIONALITY",
       
   459     SetupL, TestNotifyL5L, Teardown )
       
   460 
       
   461 EUNIT_ALLOC_TEST(
       
   462     "NotifyL - path 6",
       
   463     "CShwViewControl",
       
   464     "NotifyL",
       
   465     "FUNCTIONALITY",
       
   466     SetupL, TestNotifyL6L, Teardown )
       
   467 
       
   468 EUNIT_ALLOC_TEST(
       
   469     "NotifyL - path 7",
       
   470     "CShwViewControl",
       
   471     "NotifyL",
       
   472     "FUNCTIONALITY",
       
   473     SetupL, TestNotifyL7L, Teardown )
       
   474 
       
   475 EUNIT_ALLOC_TEST(
       
   476     "NotifyL - path 8",
       
   477     "CShwViewControl",
       
   478     "NotifyL",
       
   479     "FUNCTIONALITY",
       
   480     SetupL, TestNotifyL8L, Teardown )
       
   481 
       
   482 EUNIT_ALLOC_TEST(
       
   483     "NotifyL - path 9",
       
   484     "CShwViewControl",
       
   485     "NotifyL",
       
   486     "FUNCTIONALITY",
       
   487     SetupL, TestNotifyL9L, Teardown )
       
   488 
       
   489 EUNIT_ALLOC_TEST(
       
   490     "NotifyL - path 10",
       
   491     "CShwViewControl",
       
   492     "NotifyL",
       
   493     "FUNCTIONALITY",
       
   494     SetupL, TestNotifyL10L, Teardown )
       
   495 
       
   496 EUNIT_ALLOC_TEST(
       
   497     "NotifyL - path 11",
       
   498     "CShwViewControl",
       
   499     "NotifyL",
       
   500     "FUNCTIONALITY",
       
   501     SetupL, TestNotifyL11L, Teardown )
       
   502 
       
   503 EUNIT_ALLOC_TEST(
       
   504     "NotifyL - path 12",
       
   505     "CShwViewControl",
       
   506     "NotifyL",
       
   507     "FUNCTIONALITY",
       
   508     SetupL, TestNotifyL12L, Teardown )
       
   509 
       
   510 EUNIT_ALLOC_TEST(
       
   511     "NotifyL - path 13",
       
   512     "CShwViewControl",
       
   513     "NotifyL",
       
   514     "FUNCTIONALITY",
       
   515     SetupL, TestNotifyL13L, Teardown )
       
   516 
       
   517 EUNIT_ALLOC_TEST(
       
   518     "NotifyL - path 14",
       
   519     "CShwViewControl",
       
   520     "NotifyL",
       
   521     "FUNCTIONALITY",
       
   522     SetupL, TestNotifyL14L, Teardown )
       
   523 
       
   524 EUNIT_END_TEST_TABLE
       
   525 
       
   526 //  END OF FILE