/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2016-2020 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
DataManager.Save(_alias, Util.GenerateRandom(100), new Policy());
/* TEST CODE */
- Manager.SetPermission(
+ Assert.DoesNotThrow(() => Manager.SetPermission(
_alias, "other_package_id",
- (int) Permission.Read | (int)Permission.Remove);
+ (int) Permission.Read | (int)Permission.Remove));
/*
* POSTCONDITION
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2016-2020 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
var p12 = GetPkcs12();
/* TEST CODE */
- Pkcs12Manager.Save(_alias, p12, new Policy(), new Policy());
+ Assert.DoesNotThrow(() => Pkcs12Manager.Save(_alias, p12, new Policy(), new Policy()));
AssertEqual(p12, Pkcs12Manager.Get(_alias, null, null));
/*
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
public void LoginMethod_CREATE_CHECK()
{
- LoginMethod m = new LoginMethod();
+ Assert.DoesNotThrow(() => new LoginMethod());
}
}