--- a/appfw/apparchitecture/tef/T_AppList.cpp Thu Aug 19 10:05:08 2010 +0300
+++ b/appfw/apparchitecture/tef/T_AppList.cpp Tue Aug 31 15:24:25 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -23,6 +23,12 @@
#include <apgcli.h>
#include "T_AppList.h"
+#include "T_SisFileInstaller.h"
+
+_LIT(KApparcTestAppSisFile, "z:\\apparctest\\apparctestsisfiles\\TApparcTestApp.sis");
+_LIT(KApparcTestAppComponent, "TApparcTestApp");
+
+
CTestAppListStep::CTestAppListStep()
{
@@ -60,6 +66,23 @@
TEST(ret==KErrNone);
}
+TVerdict CTestAppListStep::doTestStepPreambleL()
+ {
+ CSisFileInstaller sisFileInstaller;
+ INFO_PRINTF2(_L("Installing sis file from -> %S"), &KApparcTestAppSisFile);
+ sisFileInstaller.InstallSisAndWaitForAppListUpdateL(KApparcTestAppSisFile);
+
+ SetTestStepResult(EPass);
+ return TestStepResult();
+ }
+
+TVerdict CTestAppListStep::doTestStepPostambleL()
+ {
+ CSisFileInstaller sisFileInstaller;
+ sisFileInstaller.UninstallSisL(KApparcTestAppComponent);
+
+ return TestStepResult();
+ }
TVerdict CTestAppListStep::doTestStepL()
{
@@ -75,3 +98,5 @@
INFO_PRINTF1(_L("Test Finished"));
return TestStepResult();
}
+
+