- Sort Score
- Result 10 results
- Languages All
Results 791 - 800 of 1,132 for Expected (0.03 sec)
-
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")); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (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")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
if uint64(len(p.Seq)) > ss { symmetry = uint64(len(p.Seq))%ss == 0 } else { symmetry = ss%uint64(len(p.Seq)) == 0 } } } // With no arg patterns, it is expected that user knows // the right symmetry, so either ellipses patterns are // provided (recommended) or no ellipses patterns. if _, ok := newSetCounts[ss]; !ok && (symmetry || argPatterns == nil) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java
// ============ /** * Verify the CRUD mode. * @param crudMode The CRUD mode. * @param expectedMode The expected mode. */ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) { throwValidationError(messages -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
try { authenticationManager.insert(user); fail("Should throw NullPointerException when processing null chain"); } catch (NullPointerException e) { // Expected behavior when null chain is processed assertTrue(true); } } // Test chains order preservation public void test_chains_orderPreservation() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
try { queryProcessor.execute(context, termQuery, 1.0f); fail(); } catch (InvalidQueryException e) { // expected assertTrue(e.getMessage().contains("Unknown q:")); } } public void test_convertPrefixQuery_withDefaultField() throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
* * <p>Note: in principle this should never need to be used, but it might be useful if the * semantics of an implementation disagree in unforeseen ways with the semantics expected by a * test, or to keep dependent builds clean in spite of an erroneous test. */ @CanIgnoreReturnValue public B suppressing(Method... methods) { return suppressing(asList(methods)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
is((Object) "19700101")); } /** * @throws Exception */ @Test(expected = ConverterRuntimeException.class) public void testConvertValue_throwable() throws Exception { new CopyOptions().converter(new NumberConverter("##0")).convertValue("a", "aaa", Integer.class); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
notifyInfo.decode(buffer, 0, buffer.length); assertEquals(expectedOffset, notifyInfo.getNextEntryOffset()); } @Test @DisplayName("Test toString contains expected information") void testToString() throws SMBProtocolDecodingException { String fileName = "log.txt"; int action = FileNotifyInformation.FILE_ACTION_MODIFIED;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
cmd/erasure-coding.go
tillOffset := min(endShard*shardSize+shardSize, shardFileSize) return tillOffset } // erasureSelfTest performs a self-test to ensure that erasure // algorithms compute expected erasure codes. If any algorithm // produces an incorrect value it fails with a hard error. // // erasureSelfTest tries to catch any issue in the erasure implementation // early instead of silently corrupting data.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.5K bytes - Viewed (0)