- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,192 for _invalid (0.25 seconds)
-
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
// Since we can't easily mock the IOException, we'll test with invalid data writeTestFile("invalid => "); // Invalid format try { charMappingFile.reload(null); // If no exception, the file might have been parsed with warnings assertTrue(true); } catch (Exception e) { // Expected for invalid format assertTrue(true); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
validator.initialize(annotation); // Test that the method can be called (even if context handling is complex) try { final boolean result = validator.isValid("test", null); assertNotNull(Boolean.valueOf(result), "isValid should return a boolean result"); } catch (final NullPointerException e) { // This is expected if the implementation requires a non-null context
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
public void test_constructor_withMessageAndCause() { // Test constructor with message and cause final String message = "Job processing failed"; final Exception cause = new IllegalStateException("Invalid state"); final JobProcessingException exception = new JobProcessingException(message, cause); assertNotNull(exception); assertEquals(message, exception.getMessage());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
assertNull(entry.name.buffer); } @Test @DisplayName("Should throw exception for invalid conformance") void testDecodeInvalidConformance() throws NdrException { // Given: Mocked buffer data with invalid conformance samr.SamrSamEntry entry = new samr.SamrSamEntry(); when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // idx, _name_bufferp
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java
*/ public void setExistNextPage(final boolean existNextPage) { this.existNextPage = existNextPage; } /** * Gets the number of records to display per page. * If not set or invalid, returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.4K bytes - Click Count (0) -
cmd/object-lambda-handlers.go
writeErrorResponse(ctx, w, tokenErr, r.URL) return } if subtle.ConstantTimeCompare([]byte(resp.Header.Get(xhttp.AmzRequestToken)), []byte(eventData.GetObjectContext.OutputToken)) != 1 { tokenErr := errorCodes.ToAPIErr(ErrInvalidToken) tokenErr.Description = "The request token included in the request is invalid" writeErrorResponse(ctx, w, tokenErr, r.URL) return
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 6.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/LdapConfigurationException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * An exception thrown when LDAP configuration is invalid. */ public class LdapConfigurationException extends FessSystemException { private static final long serialVersionUID = 1L; /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.1K bytes - Click Count (0) -
docs_src/path_operation_advanced_configuration/tutorial007_py310.py
}, ) async def create_item(request: Request): raw_body = await request.body() try: data = yaml.safe_load(raw_body) except yaml.YAMLError: raise HTTPException(status_code=422, detail="Invalid YAML") try: item = Item.model_validate(data) except ValidationError as e: raise HTTPException(status_code=422, detail=e.errors(include_url=False))
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 797 bytes - Click Count (0) -
internal/logger/target/loggertypes/targettype_string.go
// Code generated by "stringer -type=TargetType -trimprefix=Target types.go"; DO NOT EDIT. package loggertypes import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[TargetConsole-1] _ = x[TargetHTTP-2] _ = x[TargetKafka-3] } const _TargetType_name = "ConsoleHTTPKafka"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 709 bytes - Click Count (0) -
internal/crypto/header_test.go
"X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id": []string{"s3-007-293847485-724784"}, "X-Amz-Server-Side-Encryption-Context": []string{base64.StdEncoding.EncodeToString([]byte(`{"bucket": "some-bucket"`))}, // invalid JSON }, ShouldFail: true}, // 7 } func TestKMSParseHTTP(t *testing.T) { for i, test := range kmsParseHTTPTests { _, _, err := S3KMS.ParseHTTP(test.Header) if err == nil && test.ShouldFail {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 13 14:52:15 GMT 2022 - 21.4K bytes - Click Count (0)