diff -r d57b86b1867a -r dc268b18d709 kerneltest/e32test/property/t_basic.cpp --- a/kerneltest/e32test/property/t_basic.cpp Mon Sep 13 15:16:07 2010 +0100 +++ b/kerneltest/e32test/property/t_basic.cpp Wed Sep 22 10:53:45 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of the License "Eclipse Public License v1.0" @@ -52,6 +52,14 @@ r = prop.Delete(mySid, iKey); TF_ERROR(r, r == KErrNone); + // Test deprecated method without policies + r = prop.Define(iCategory, iKey, iType); + TF_ERROR(r, r == KErrNone); + r = prop.Define(iCategory, iKey, iType); + TF_ERROR(r, r == KErrAlreadyExists); + r = prop.Delete(iCategory, iKey); + TF_ERROR(r, r == KErrNone); + // Test re-definition doesn't change security settings // Defect DEF050961 - Re-defining an RProperty causes the security policy to be overwritten {