DJBErp -> DJB 클래스 이름 첨자 변경
This commit is contained in:
+2
-2
@@ -21,9 +21,9 @@ import com.eactive.eai.common.security.CryptoModuleService;
|
|||||||
*
|
*
|
||||||
* 반환값: 복호화된 평문 (String)
|
* 반환값: 복호화된 평문 (String)
|
||||||
*/
|
*/
|
||||||
public class DJBErpDecryt extends PostfixMathCommand {
|
public class DJBDecryt extends PostfixMathCommand {
|
||||||
|
|
||||||
public DJBErpDecryt() {
|
public DJBDecryt() {
|
||||||
numberOfParameters = -1;
|
numberOfParameters = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
+2
-2
@@ -21,9 +21,9 @@ import com.eactive.eai.common.security.CryptoModuleService;
|
|||||||
*
|
*
|
||||||
* 반환값: Base64 인코딩된 암호문 (String)
|
* 반환값: Base64 인코딩된 암호문 (String)
|
||||||
*/
|
*/
|
||||||
public class DJBErpEncryt extends PostfixMathCommand {
|
public class DJBEncryt extends PostfixMathCommand {
|
||||||
|
|
||||||
public DJBErpEncryt() {
|
public DJBEncryt() {
|
||||||
numberOfParameters = -1;
|
numberOfParameters = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
+5
-5
@@ -33,7 +33,7 @@ import com.eactive.eai.common.security.CryptoModuleService;
|
|||||||
import com.eactive.eai.common.util.ApplicationContextProvider;
|
import com.eactive.eai.common.util.ApplicationContextProvider;
|
||||||
|
|
||||||
@TestMethodOrder(MethodOrderer.DisplayName.class)
|
@TestMethodOrder(MethodOrderer.DisplayName.class)
|
||||||
class DJBErpCryptoFunctionTest {
|
class DJBCryptoFunctionTest {
|
||||||
|
|
||||||
private static final String MODULE_NAME = "TEST_MODULE";
|
private static final String MODULE_NAME = "TEST_MODULE";
|
||||||
private static final String PLAIN_TEXT = "plaintext-value";
|
private static final String PLAIN_TEXT = "plaintext-value";
|
||||||
@@ -44,8 +44,8 @@ class DJBErpCryptoFunctionTest {
|
|||||||
private static GenericApplicationContext ctx;
|
private static GenericApplicationContext ctx;
|
||||||
private static CryptoModuleService mockService;
|
private static CryptoModuleService mockService;
|
||||||
|
|
||||||
private DJBErpDecryt decryt;
|
private DJBDecryt decryt;
|
||||||
private DJBErpEncryt encryt;
|
private DJBEncryt encryt;
|
||||||
|
|
||||||
// =========================================================================
|
// =========================================================================
|
||||||
// 클래스 초기화
|
// 클래스 초기화
|
||||||
@@ -73,8 +73,8 @@ class DJBErpCryptoFunctionTest {
|
|||||||
reset(mockService);
|
reset(mockService);
|
||||||
when(mockService.decrypt(any(), anyMap(), isNull(), any(byte[].class))).thenReturn(PLAIN_BYTES);
|
when(mockService.decrypt(any(), anyMap(), isNull(), any(byte[].class))).thenReturn(PLAIN_BYTES);
|
||||||
when(mockService.encrypt(any(), anyMap(), isNull(), any(byte[].class))).thenReturn(CIPHER_BYTES);
|
when(mockService.encrypt(any(), anyMap(), isNull(), any(byte[].class))).thenReturn(CIPHER_BYTES);
|
||||||
decryt = new DJBErpDecryt();
|
decryt = new DJBDecryt();
|
||||||
encryt = new DJBErpEncryt();
|
encryt = new DJBEncryt();
|
||||||
}
|
}
|
||||||
|
|
||||||
// =========================================================================
|
// =========================================================================
|
||||||
Reference in New Issue
Block a user