- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 3,337 for Same (0.02 sec)
-
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
} // Test ProtocolType name public void test_protocolTypeName() { assertEquals("WEB.name() should return \"WEB\"", "WEB", ProtocolType.WEB.name()); assertEquals("FILE.name() should return \"FILE\"", "FILE", ProtocolType.FILE.name()); } // Test ProtocolType ordinal public void test_protocolTypeOrdinal() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
} private static final class Signature { private final String name; private final ImmutableList<Class<?>> parameterTypes; Signature(Method method) { this(method.getName(), ImmutableList.copyOf(method.getParameterTypes())); } Signature(String name, ImmutableList<Class<?>> parameterTypes) { this.name = name; this.parameterTypes = parameterTypes; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
int referent1 = Encdec.dec_uint32le(buffer, 0); assertTrue(referent1 > 0); // Should be a positive referent ID ndrBuffer.reset(); ndrBuffer.enc_ndr_referent(obj1, 2); // Same object, should get same referent assertEquals(4, ndrBuffer.getIndex()); assertEquals(referent1, Encdec.dec_uint32le(buffer, 0)); ndrBuffer.reset();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
void testHandlerEquality() throws Exception { // Create two URLs with the same handler URL url1 = new URL(null, "smb://host1/share1", handler); URL url2 = new URL(null, "smb://host2/share2", handler); // Both should use the same handler instance assertNotNull(url1); assertNotNull(url2); // Protocol should be consistent
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
@Test void arraysHaveSameLength() { assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length, "WINERR_CODES and WINERR_MESSAGES should have the same length"); } @Test void messagesAlignWithCodes() { for (int i = 0; i < WinError.WINERR_CODES.length; i++) { int code = WinError.WINERR_CODES[i];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
String testKey = "domain.title"; String value1 = fessConfig.get(testKey); String value2 = fessConfig.get(testKey); // Values should be the same assertEquals("Test Fess", value1); assertEquals(value1, value2); } // Test property that should be consistent public void test_get_propertyFilter() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
public void testConstructor2NPE() { double[] a = null; assertThrows(NullPointerException.class, () -> new AtomicDoubleArray(a)); } /** constructor with array is of same size and has all elements */ public void testConstructor2() { AtomicDoubleArray aa = new AtomicDoubleArray(VALUES); assertEquals(VALUES.length, aa.length()); for (int i = 0; i < VALUES.length; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* * <p>This method is used when testing iterators without a known ordering. We poll the target * iterator's next element and pass it to the reference iterator through this method so it can * return the same element. This enables the assertion to pass and the reference iterator to * properly update its state. */ void promoteToNext(E e) { if (nextElements.remove(e)) { nextElements.push(e);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graphs.java
/** * Returns true if {@code graph} has at least one cycle. A cycle is defined as a non-empty subset * of edges in a graph arranged to form a path (a sequence of adjacent outgoing edges) starting * and ending with the same node. * * <p>This method will detect any non-empty cycle, including self-loops (a cycle of length 1). */ public static <N> boolean hasCycle(Graph<N> graph) { int numEdges = graph.edges().size();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graphs.java
/** * Returns true if {@code graph} has at least one cycle. A cycle is defined as a non-empty subset * of edges in a graph arranged to form a path (a sequence of adjacent outgoing edges) starting * and ending with the same node. * * <p>This method will detect any non-empty cycle, including self-loops (a cycle of length 1). */ public static <N> boolean hasCycle(Graph<N> graph) { int numEdges = graph.edges().size();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 23.3K bytes - Viewed (0)