77 ~CT_NonNativeAppsStep(); |
75 ~CT_NonNativeAppsStep(); |
78 |
76 |
79 virtual TVerdict doTestStepPreambleL(); |
77 virtual TVerdict doTestStepPreambleL(); |
80 virtual TVerdict doTestStepPostambleL(); |
78 virtual TVerdict doTestStepPostambleL(); |
81 virtual TVerdict doTestStepL(); |
79 virtual TVerdict doTestStepL(); |
|
80 |
|
81 enum TOption |
|
82 { |
|
83 EAppA, |
|
84 EAppB |
|
85 }; |
82 |
86 |
83 private: |
87 private: |
84 HBufC8* OpenFileAndReadBufferLC(RApaLsSession& aApparcServer, RFs& aFileServer, const TDesC& aFullFileName); |
88 HBufC8* OpenFileAndReadBufferLC(RApaLsSession& aApparcServer, RFs& aFileServer, const TDesC& aFullFileName); |
85 void OpenFileAndSetFilePositionToSomewhereUnusualLC(RFile& aFile, TInt& aFilePosition, RFs& aFileServer, const TDesC& aFullFileName); |
89 void OpenFileAndSetFilePositionToSomewhereUnusualLC(RFile& aFile, TInt& aFilePosition, RFs& aFileServer, const TDesC& aFullFileName); |
86 void TestFilePosition(RFile& aFile, TInt aFilePosition); |
90 void TestFilePosition(RFile& aFile, TInt aFilePosition); |
87 void TestResultsOfAppForDocumentAndServiceL(TUid aServiceUid, TInt aError, const TUid& aAppUid, const TDataType& aDataType, const TDesC8& aExpectedDataType); |
91 void TestResultsOfAppForDocumentAndServiceL(TUid aServiceUid, TInt aError, const TUid& aAppUid, const TDataType& aDataType, const TDesC8& aExpectedDataType); |
88 void CheckPropertyUpdateAndResetL(const TDesC& aExpectedNewValue); |
92 void CheckPropertyUpdateAndResetL(const TDesC& aExpectedNewValue); |
89 void CheckApplicationLaunchesOkayL(RApaLsSession& aApparcServer, const CApaCommandLine& aCommandLine, TAny* aOption); |
93 void CheckApplicationLaunchesOkayL(RApaLsSession& aApparcServer, const CApaCommandLine& aCommandLine, TOption aOption); |
90 void CheckApplicationFailsToLaunchL(RApaLsSession& aApparcServer, const CApaCommandLine& aCommandLine, TAny* aOption); |
94 void CheckApplicationFailsToLaunchL(RApaLsSession& aApparcServer, const CApaCommandLine& aCommandLine, TOption aOption); |
91 void WaitForApplistUpdate(RApaLsSession& aApparcServer); |
95 void WaitForApplistUpdate(RApaLsSession& aApparcServer); |
92 private: |
96 private: |
93 void TestAppForDocumentL(RApaLsSession& aApparcServer, RFs& aFileServer, const RTstFileArray& aFileArray); |
97 void TestAppForDocumentL(RApaLsSession& aApparcServer, RFs& aFileServer, const RTstFileArray& aFileArray); |
94 void TestAppForDocumentAndServiceL(RApaLsSession& aApparcServer, RFs& aFileServer, const RTstFileArray& aFileArray); |
98 void TestAppForDocumentAndServiceL(RApaLsSession& aApparcServer, RFs& aFileServer, const RTstFileArray& aFileArray); |
95 void TestRecognizingL(RApaLsSession& aApparcServer, RFs& aFileServer, const RTstFileArray& aFileArray); |
99 void TestRecognizingL(RApaLsSession& aApparcServer, RFs& aFileServer, const RTstFileArray& aFileArray); |
96 void TestStartDocumentL(RApaLsSession& aApparcServer, RFs& aFileServer, const RTstFileArray& aFileArray); |
100 void TestStartDocumentL(RApaLsSession& aApparcServer, RFs& aFileServer, const RTstFileArray& aFileArray); |
97 void TestRegisterNonNativeApplicationL(RApaLsSession& aApparcServer, RFs& aFileServer); |
101 void TestRegisterNonNativeApplicationL(RApaLsSession& aApparcServer, RFs& aFileServer); |
98 void TestGetAppIconForNonNativeL(RApaLsSession& aApparcServer, RFs& aFileServer, CApaRegistrationResourceFileWriter* const aRegistrationResourceFileWriter, CApaLocalisableResourceFileWriter* const aLocalisableResourceFileWriter); |
102 void TestGetAppIconForNonNativeL(RApaLsSession& aApparcServer, RFs& aFileServer, CApaRegistrationResourceFileWriter* const aRegistrationResourceFileWriter, CApaLocalisableResourceFileWriter* const aLocalisableResourceFileWriter); |
99 void TestCommitNNAppUpdatesL(RApaLsSession& aApparcServer); |
103 void TestCommitNNAppUpdatesL(RApaLsSession& aApparcServer); |
100 void TestForceCommitNNAppUpdatesL(RApaLsSession& aApparcServer); |
104 void TestForceCommitNNAppUpdatesL(RApaLsSession& aApparcServer); |
101 void TestForceCommitL(RApaLsSession& aApparcServer, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriter, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriterB, CApaCommandLine& aNextCommandLine); |
105 void TestForceCommitL(RApaLsSession& aApparcServer, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriter, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriterB, CApaCommandLine& aNextCommandLine); |
102 void TestRollbackRegistrationL(RApaLsSession& aApparcServer, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriter, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriterB, CApaCommandLine& aNextCommandLine); |
106 void TestRollbackRegistrationL(RApaLsSession& aApparcServer, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriter, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriterB, CApaCommandLine& aNextCommandLine); |
103 void TestRollbackDeregistrationL(RApaLsSession& aApparcServer, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriter, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriterB, CApaCommandLine& aNextCommandLine); |
107 void TestRollbackDeregistrationL(RApaLsSession& aApparcServer, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriter, CApaRegistrationResourceFileWriter& aRegistrationResourceFileWriterB, CApaCommandLine& aNextCommandLine); |
104 |
108 |
105 private: |
109 private: |
106 |
110 |
107 }; |
111 }; |
108 |
112 |
109 |
113 |
110 _LIT(KT_NonNativeAppsStep,"T_NonNativeApps"); |
114 _LIT(KT_NonNativeAppsStep,"T_NonNativeApps"); |
111 |
115 |
112 #endif |
116 #endif |
|
117 |