os/security/authorisation/userpromptservice/policies/test/tupspolicies/scripts/tupsnotifier.script
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/authorisation/userpromptservice/policies/test/tupspolicies/scripts/tupsnotifier.script Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,38 @@
1.4 +//
1.5 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// under the terms of the License "Eclipse Public License v1.0"
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +
1.20 +LOAD_SUITE tupspolicies
1.21 +PRINT ----------------------------------------------------------
1.22 +PRINT tupspolicies:
1.23 +PRINT User Prompt Service policy library unit test
1.24 +PRINT ----------------------------------------------------------
1.25 +
1.26 +// Clean environment. Policy directory on system drive must not exist for the first tests
1.27 +// to allow us to check that the library works if the path doesn't exist.
1.28 +RUN_UTILS DELETEFILE c:\upsrefnotifier.txt
1.29 +
1.30 +//! @SYMTestCaseID SEC-UPS-NOTIFIER-0001
1.31 +//! @SYMTestCaseDesc Tests reference, techview notifier
1.32 +//! @SYMTestPriority High
1.33 +//! @SYMTestActions Create requests that should display prompts
1.34 +//! @SYMTestExpectedResults Notifier windows should be displayed with localised text.
1.35 +//! @SYMDevelopedForRelease Oghma
1.36 +START_TESTCASE SEC-UPS-NOTIFIER-0001
1.37 +RUN_TEST_STEP_RESULT 0 100 tupspolicies TEFUnit.CTestPlugins.TestCacheL z:\tups\tpolicies\scripts\tupsnotifier.ini
1.38 +END_TESTCASE SEC-UPS-NOTIFIER-0001
1.39 +
1.40 +// Cleanup automated notifier response
1.41 +RUN_UTILS DELETEFILE c:\upsrefnotifier.txt