- Sort Score
- Num 10 results
- Language All
Results 1061 - 1070 of 1,612 for EXPECTED (0.23 seconds)
-
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
import jcifs.CIFSException; import jcifs.Credentials; /** * Tests for SmbRenewableCredentials interface. * * Since this file is an interface with a single method, we provide small * helper implementations to exercise expected interaction patterns and edge cases. */ @ExtendWith(MockitoExtension.class) public class SmbRenewableCredentialsTest { // Simple base class to satisfy the extended CredentialsInternal contractCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
SmbResource r = itr.next(); // Assert: the invalid name was skipped, valid one returned assertNotNull(r); assertTrue(r.getName().startsWith("OKSERVER"), "Expected valid entry to be adapted"); assertFalse(itr.hasNext()); } @Test @DisplayName("Filter rejects first, accepts second; interactions verified")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
public void testCreation_arrayOfArray() { String[] array = new String[] {"a"}; Multiset<String[]> multiset = ImmutableMultiset.<String[]>of(array); Multiset<String[]> expected = HashMultiset.create(); expected.add(array); assertEquals(expected, multiset); } public void testCreation_arrayContainingOnlyNull() { @Nullable String[] array = new @Nullable String[] {null};
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
assertEquals(option1.getFieldNaming(), option2.getFieldNaming()); } @Test public void test_allMethodsReturnExpectedValues() { // Comprehensive test to verify all methods return expected values FessJsonResourceProvider testProvider = new FessJsonResourceProvider(); // Verify nulls suppression is enabled assertTrue("Nulls should be suppressed", testProvider.isNullsSuppressed());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.1K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
assertEquals(10, ticker.read()); assertEquals(20, ticker.read()); for (TimeUnit timeUnit : TimeUnit.values()) { ticker.setAutoIncrementStep(0, timeUnit); assertEquals( "Expected no auto-increment when setting autoIncrementStep to 0 " + timeUnit, 30, ticker.read()); } } public void testAutoIncrement_negative() { FakeTicker ticker = new FakeTicker();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
assertTrue(set.contains(2)); assertTrue(set.contains(3)); assertFalse(set.contains(4)); } // TODO: https://youtrack.jetbrains.com/issue/KT-71001/ - Enable when Kotlin throws expected CCE. @J2ktIncompatible public void testContains_typeMismatch() { ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.open(0, 4), integers()); assertFalse(set.contains((Object) "blah")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 19.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
"x=foo&Server=name,server,name", "paramOnly=,paramOnly,''", "noeq&other=1,other,1" }) void testQueryLookup(String query, String key, String expected) { // No context mocks needed for static method test assertEquals(expected, SmbResourceLocatorImpl.queryLookup(query, key)); } @Test @DisplayName("resolveInContext builds relative paths with and without share")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
// We primarily want to ensure the method can be called without compilation errors // Log the exception for debugging purposes but don't fail the test System.out.println("Expected exception in test environment: " + t.getClass().getSimpleName() + ": " + t.getMessage()); // Verify that it's a system-related exception, not a method signature issueCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
for (Class<?> mutableClass : mutableClasses) { Object instance = ArbitraryInstances.get(mutableClass); assertWithMessage("Expected to return non-null for: %s", mutableClass) .that(instance) .isNotNull(); assertWithMessage("Expected to return fresh instance for: " + mutableClass) .that(ArbitraryInstances.get(mutableClass)) .isNotSameInstanceAs(instance); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
} RuntimeException multiples(boolean overflow) { if (exceptionSupplier != null) { throw exceptionSupplier.get(); } StringBuilder sb = new StringBuilder().append("expected one element but was: <").append(element); for (Object o : extras) { sb.append(", ").append(o); } if (overflow) { sb.append(", ..."); } sb.append('>');Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.3K bytes - Click Count (0)