diff options
author | 2016-09-10 12:41:16 +0800 | |
---|---|---|
committer | 2016-09-10 15:46:25 +0800 | |
commit | 7476493080d6c7dc895f1eeda7d4781c8295b03f (patch) | |
tree | dcbbaa7f416fa7e2da285f60085bbb8dcbb331d2 /common-util/src/test/java/org/openo/baseservice/encrypt/cbb/impl/AesCipherTest.java | |
parent | fd23b5c6940b86e1f98742ea0537917d4266f0c9 (diff) |
Modify license information.
JIRA:https://jira.open-o.org/browse/OCS-46
Change-Id: Iff62c4f5a9f29e20ab6f54772f60b1ab7ea65b1a
Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com>
fix the build error.
Change-Id: Iecab881eaad2442d48da9a162f2207f742e6982c
Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com>
fix the build error.
Change-Id: Iecab881eaad2442d48da9a162f2207f742e6982c
Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com>
Diffstat (limited to 'common-util/src/test/java/org/openo/baseservice/encrypt/cbb/impl/AesCipherTest.java')
-rw-r--r-- | common-util/src/test/java/org/openo/baseservice/encrypt/cbb/impl/AesCipherTest.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/common-util/src/test/java/org/openo/baseservice/encrypt/cbb/impl/AesCipherTest.java b/common-util/src/test/java/org/openo/baseservice/encrypt/cbb/impl/AesCipherTest.java index 3241b14..c66e36a 100644 --- a/common-util/src/test/java/org/openo/baseservice/encrypt/cbb/impl/AesCipherTest.java +++ b/common-util/src/test/java/org/openo/baseservice/encrypt/cbb/impl/AesCipherTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, Huawei Technologies Co., Ltd. + * Copyright 2016 Huawei Technologies Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,7 +39,7 @@ import mockit.NonStrictExpectations; * </p> * * @author - * @version SDNO 0.5 02-Jun-2016 + * @version 02-Jun-2016 */ public class AesCipherTest { @@ -47,7 +47,7 @@ public class AesCipherTest { * <br/> * * @throws java.lang.Exception - * @since SDNO 0.5 + * @since */ @BeforeClass public static void setUpBeforeClass() throws Exception { @@ -58,7 +58,7 @@ public class AesCipherTest { * <br/> * * @throws java.lang.Exception - * @since SDNO 0.5 + * @since */ @AfterClass public static void tearDownAfterClass() throws Exception { @@ -68,7 +68,7 @@ public class AesCipherTest { * <br/> * * @throws java.lang.Exception - * @since SDNO 0.5 + * @since */ @Before public void setUp() throws Exception { @@ -78,7 +78,7 @@ public class AesCipherTest { * <br/> * * @throws java.lang.Exception - * @since SDNO 0.5 + * @since */ @After public void tearDown() throws Exception { @@ -157,7 +157,7 @@ public class AesCipherTest { /** * <br/> * - * @since SDNO 0.5 + * @since */ @Test public void testCipherManagerImplStringDiffKey() { @@ -185,7 +185,7 @@ public class AesCipherTest { final AbstractCipher cipherManager = CipherCreator.instance().create("secret-key"); final String encrypted = cipherManager.encrypt("test-encrypt"); - Assert.assertEquals(encrypted, encrypted); + Assert.assertEquals(encrypted, null); } |