- Sort Score
- Result 10 results
- Languages All
Results 821 - 830 of 1,443 for expected (0.03 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
/** * Verifies that the provided CRUD mode matches the expected mode. * Throws a validation error if the modes do not match. * * @param crudMode the actual CRUD mode * @param expectedMode the expected CRUD mode */ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 20.3K bytes - Viewed (0) -
cmd/generic-handlers_test.go
} func TestIsHTTPHeaderSizeTooLarge(t *testing.T) { for i, test := range isHTTPHeaderSizeTooLargeTests { if res := isHTTPHeaderSizeTooLarge(test.header); res != test.shouldFail { t.Errorf("Test %d: Expected %v got %v", i, res, test.shouldFail) } } } var containsReservedMetadataTests = []struct { header http.Header shouldFail bool }{ {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
void testMaskSecretValueWithCredentials(String input, String expected) { // When String result = Strings.maskSecretValue(input); // Then assertEquals(expected, result, "Should mask password in SMB URL"); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
when(src.getAttributes()).thenReturn(SmbConstants.ATTR_NORMAL); byte[][] buffers = new byte[][] { new byte[1], new byte[1] }; // Act + Assert (no exception expected) assertDoesNotThrow(() -> SmbCopyUtil.copyFile(src, dest, buffers, 1, new WriterThread(), sh, dh)); // Verify that server-side path engaged at least the initial opens
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
cmd/admin-handlers-users_test.go
} // 4. List groups and members and verify groups, err := s.adm.ListGroups(ctx) if err != nil { c.Fatalf("group list err: %v", err) } expected := []string{group} if !slices.Equal(groups, expected) { c.Fatalf("expected group listing: %v, got: %v", expected, groups) } groupInfo, err := s.adm.GetGroupDescription(ctx, group) if err != nil { c.Fatalf("group desc err: %v", err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
} } /** * Tests the unwrap functionality. */ @Nested public class UnwrapFunctionalityTest { /** * Verifies that unwrap returns the expected underlying object. */ @Test public void testUnwrap() { when(smbPipeHandle.unwrap(SmbPipeHandleInternal.class)).thenReturn(mockSmbPipeHandleInternal);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
try { // 1.8, 9, 10, 11, 12 etc val version = jvmVersion.toInt() if (version >= 9) return null } catch (_: NumberFormatException) { // expected on >= JDK 9 } // Find Jetty's ALPN extension for OpenJDK. try { val alpnClassName = "org.eclipse.jetty.alpn.ALPN" val alpnClass = Class.forName(alpnClassName, true, null)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.1K bytes - Viewed (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();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
@Override public Integer apply(String key) { return multiset.count(key); } }); assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts); } finally { pool.shutdownNow(); } // Since we have access to the backing map, verify that there are no zeroes in the map
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6K bytes - Viewed (0) -
guava/src/com/google/common/collect/MoreCollectors.java
ToOptionalState() { element = null; extras = emptyList(); } IllegalArgumentException multiples(boolean overflow) { 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('>');
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 5.4K bytes - Viewed (0)