Skip to content

Commit e00fecc

Browse files
[git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v22.06/": change = 119276]
1 parent 0e04d23 commit e00fecc

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/*
2+
* Copyright (c) 2000, 2026, Oracle and/or its affiliates.
3+
*
4+
* Licensed under the Universal Permissive License v 1.0 as shown at
5+
* https://oss.oracle.com/licenses/upl.
6+
*/
7+
8+
package com.oracle.coherence.common.internal.util;
9+
10+
11+
import org.junit.jupiter.api.Test;
12+
13+
import static org.hamcrest.Matchers.is;
14+
import static org.hamcrest.MatcherAssert.assertThat;
15+
16+
/**
17+
* Unit Test for {@link CanonicalNames}
18+
*
19+
* @author cp 05/15/2025
20+
* @since 25.03.2
21+
*/
22+
public class CanonicalNamesTest
23+
{
24+
25+
/**
26+
* Test for COH-32395
27+
*/
28+
@Test
29+
public void testComputeValueExtractorCanonicalName()
30+
{
31+
String canonicalName = CanonicalNames.computeValueExtractorCanonicalName("isbnNo");
32+
assertThat(canonicalName, is("isbnNo"));
33+
34+
canonicalName = CanonicalNames.computeValueExtractorCanonicalName("getIsbnNo()");
35+
assertThat(canonicalName, is("isbnNo"));
36+
37+
canonicalName = CanonicalNames.computeValueExtractorCanonicalName("isValidValue()");
38+
assertThat(canonicalName, is("validValue"));
39+
}
40+
}

prj/test/unit/coherence-core-tests/src/test/java/com/tangosol/coherence/component/net/security/StandardTests.java renamed to prj/test/unit/coherence-core-tests/src/test/java/com/tangosol/coherence/component/net/security/StandardTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2022, Oracle and/or its affiliates.
2+
* Copyright (c) 2000, 2026, Oracle and/or its affiliates.
33
*
44
* Licensed under the Universal Permissive License v 1.0 as shown at
55
* https://oss.oracle.com/licenses/upl.
@@ -32,7 +32,7 @@
3232
/**
3333
* @author jk 2016.04.21
3434
*/
35-
public class StandardTests
35+
public class StandardTest
3636
{
3737

3838
@Test

0 commit comments

Comments
 (0)