aboutsummaryrefslogtreecommitdiff
path: root/java_src/src/test/java/com/google/crypto/tink/hybrid/HybridKeyTemplatesTest.java
diff options
context:
space:
mode:
authorjuerg <juerg@google.com>2021-08-30 23:35:08 -0700
committerCopybara-Service <copybara-worker@google.com>2021-08-30 23:35:50 -0700
commit2fd2d6f4d4f48431b4ac8f409de4117f0a68ceb2 (patch)
treeb50310926f1050f5bf4f59926ec2ee6f2d02be2b /java_src/src/test/java/com/google/crypto/tink/hybrid/HybridKeyTemplatesTest.java
parenta47628f01875b3f826484e0cdacb41f48f72c578 (diff)
downloadtink-2fd2d6f4d4f48431b4ac8f409de4117f0a68ceb2.tar.gz
Change some Java test and test method names.
Words at the beginning of a method or after a _ should be in lower case. PiperOrigin-RevId: 393929898
Diffstat (limited to 'java_src/src/test/java/com/google/crypto/tink/hybrid/HybridKeyTemplatesTest.java')
-rw-r--r--java_src/src/test/java/com/google/crypto/tink/hybrid/HybridKeyTemplatesTest.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/java_src/src/test/java/com/google/crypto/tink/hybrid/HybridKeyTemplatesTest.java b/java_src/src/test/java/com/google/crypto/tink/hybrid/HybridKeyTemplatesTest.java
index 3b36d3501..cdd2e9893 100644
--- a/java_src/src/test/java/com/google/crypto/tink/hybrid/HybridKeyTemplatesTest.java
+++ b/java_src/src/test/java/com/google/crypto/tink/hybrid/HybridKeyTemplatesTest.java
@@ -39,7 +39,7 @@ public class HybridKeyTemplatesTest {
private static final Charset UTF_8 = Charset.forName("UTF-8");
@Test
- public void testECIES_P256_HKDF_HMAC_SHA256_AES128_GCM() throws Exception {
+ public void eciesP256HkdfHmaSha256Aes128Gcm() throws Exception {
KeyTemplate template = HybridKeyTemplates.ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM;
assertEquals(new EciesAeadHkdfPrivateKeyManager().getKeyType(), template.getTypeUrl());
assertEquals(OutputPrefixType.TINK, template.getOutputPrefixType());
@@ -61,8 +61,7 @@ public class HybridKeyTemplatesTest {
}
@Test
- public void testECIES_P256_HKDF_HMAC_SHA256_AES128_GCM_COMPRESSED_WITHOUT_PREFIX()
- throws Exception {
+ public void eciesP256HkdfHmacSha256Aes128GcmCompressedWithoutPrefix() throws Exception {
KeyTemplate template =
HybridKeyTemplates.ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM_COMPRESSED_WITHOUT_PREFIX;
assertEquals(new EciesAeadHkdfPrivateKeyManager().getKeyType(), template.getTypeUrl());
@@ -85,7 +84,7 @@ public class HybridKeyTemplatesTest {
}
@Test
- public void testECIES_P256_HKDF_HMAC_SHA256_AES128_CTR_HMAC_SHA256() throws Exception {
+ public void eciesP256HkdfHmacSha256Aes128CtrHmacSha256() throws Exception {
KeyTemplate template = HybridKeyTemplates.ECIES_P256_HKDF_HMAC_SHA256_AES128_CTR_HMAC_SHA256;
assertEquals(new EciesAeadHkdfPrivateKeyManager().getKeyType(), template.getTypeUrl());
assertEquals(OutputPrefixType.TINK, template.getOutputPrefixType());