- Sort Score
- Num 10 results
- Language All
Results 581 - 590 of 937 for isInvalid (0.39 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
int originalSize = collection.size(); Iterator<E> iterator = collection.iterator(); Object element = iterator.next(); // If it's an Entry, it may become invalid once it's removed from the Map. Copy it. if (element instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) element; element = mapEntry(entry.getKey(), entry.getValue()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
void testGetOEMBytesWithUnsupportedEncoding() { // Given Configuration mockConfig = mock(Configuration.class); when(mockConfig.getOemEncoding()).thenReturn("INVALID-ENCODING"); // When & Then RuntimeCIFSException exception = assertThrows(RuntimeCIFSException.class, () -> { Strings.getOEMBytes(TEST_STRING, mockConfig); });
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
public void test_throwAndCatchWithCause() { // Test throwing and catching the exception with cause String expectedMessage = "System error occurred"; Exception expectedCause = new IllegalStateException("Invalid state"); try { throw new FessSystemException(expectedMessage, expectedCause); } catch (FessSystemException e) { assertEquals(expectedMessage, e.getMessage());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.6K bytes - Click Count (0) -
cmd/config-migrate.go
if err = json.Unmarshal(data, cfg); err != nil { // Unable to parse old JSON simply re-initialize a new one. return newServerCfg() } } if !globalCredViaEnv && cfg.Credential.IsValid() { // Preserve older credential if we do not have // root credentials set via environment variable. globalActiveCred = cfg.Credential }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java
if (value != null) { try { boost = Float.parseFloat(value); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Invalid boost value, keeping current: value={}, error={}", value, e.getMessage()); } } } } @Override public String getConfigId() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 02:07:40 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java
float boost = 1.5f; QueryBuilder result = fuzzyQueryCommand.execute(context, fuzzyQuery, boost); assertNotNull(result); } // Test execute method with invalid query type @Test public void test_execute_withInvalidQuery() { QueryContext context = new QueryContext("test", false); Query invalidQuery = new TermQuery(new Term("field", "value"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
* Test that generic exceptions are caught and null is returned */ @Test public void test_evaluate_genericExceptionReturnsNull() { final Map<String, Object> params = new HashMap<>(); // Invalid script that will cause an exception assertNull(groovyEngine.evaluate("return nonExistentVariable", params)); } /** * Test that syntax errors return null */ @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
assertEquals("'groupId' is missing.", result.getErrors().get(0)); } @Test void testInvalidCoordinateIds() throws Exception { SimpleProblemCollector result = validate("invalid-coordinate-ids-pom.xml"); assertViolations(result, 0, 2, 0); assertEquals( "'groupId' with value 'o/a/m' does not match a valid id pattern.",Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 33.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
verify(dest, times(1)).getAttributes(); verify(dest, never()).setPathInformation(anyInt(), anyLong(), anyLong(), anyLong()); } @Test @DisplayName("openCopyTargetFile throws NPE on null dest (invalid input)") void openCopyTargetFile_nullDest_throwsNPE() { // Arrange SmbFile dest = null; // Act + Assert
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
callbacks.go
stmt.ReflectValue.Set(reflect.New(stmt.ReflectValue.Type().Elem())) } stmt.ReflectValue = stmt.ReflectValue.Elem() } if !stmt.ReflectValue.IsValid() { db.AddError(ErrInvalidValue) } } for _, f := range p.fns { f(db) } if stmt.SQL.Len() > 0 { db.Logger.Trace(stmt.Context, curTime, func() (string, int64) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:26:07 GMT 2026 - 8.8K bytes - Click Count (0)