개발잡다 (5) 썸네일형 리스트형 SameSite Chrome 이슈 @Profile vs @ActiveProfile ActiveProfiles is a class-level annotation that is used to declare which active bean definition profiles should be used when loading an ApplicationContext for test classes. @Profile은 해당 어노테이션의 값에 해당하는 profile로 어플리케이션이 실행될 때 이 어노테이션이 붙은 빈이 ApplicationContext에 등록된다. ActiveProfiles is a class-level annotation that is used to declare which active bean definition profiles should be used when loading .. Junit5 - Test Instance Lifecycle In order to allow individual test methods to be executed in isolation and to avoid unexpected side effects due to mutable test instance state, JUnit creates a new instance of each test class before executing each test method (see Test Classes and Methods). This "per-method" test instance lifecycle is the default behavior in JUnit Jupiter and is analogous to all previous versions of JUnit. Junit5.. Base64 - RFC 2045/RFC 4648 Currently, XMLDSIG references RFC 2045 (one of the MIME RFCs) for a definition of Base64 encoding/decoding. (See section 6.8 of [1].) It has been pointed out to me that RFC 2045 *requires* that Base64-encoded content have line breaks at least every 76 characters. Paragraph 6 reads as follows: Base64를 디코딩하는데 안되는 이슈가 발생하여 봤더니 base64 타입에 따라 다르게 인코딩되는 것을 알게 되었다. RFC 2045의 경우는 매 76자 마다 개행문자를 넣는다. MIM.. ISO 8601 시간 포맷 이전 1 다음