- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 408 for excepciones (0.23 seconds)
-
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
@DisplayName("Methods should handle empty buffer") void testMethodsWithEmptyBuffer() { // Arrange byte[] emptyBuffer = new byte[0]; // Act & Assert - These should not throw exceptions assertEquals(0, response.writeSetupWireFormat(emptyBuffer, 0)); assertEquals(0, response.writeParametersWireFormat(emptyBuffer, 0)); assertEquals(0, response.writeDataWireFormat(emptyBuffer, 0));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
public void tearDown() throws Exception { if (storage != null && !storage.isDestroyed()) { try { storage.close(); } catch (Exception e) { // Ignore cleanup exceptions } } if (masterPassword != null) { Arrays.fill(masterPassword, '\0'); } } @Test public void testEncryptDecrypt() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertEquals(10, result); verify(response, times(1)).decode(buffer, 0, 10); } @Test @DisplayName("decode() should handle exceptions") void testDecodeWithException() throws SMBProtocolDecodingException { CreateContextResponse response = mock(CreateContextResponse.class); byte[] buffer = new byte[100];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
handle.ensureDFSResolved(); // Assert & interaction verify verify(treeConnection).ensureDFSResolved(resourceLoc); } @Test @DisplayName("hasCapability delegates and propagates exceptions") void hasCapabilityDelegates() throws Exception { // Happy path delegates; invalid case propagates SmbException when(treeConnection.hasCapability(123)).thenReturn(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
registerClassSafely(kryo, Arrays.asList().getClass()); } /** * Safely registers a class with Kryo, logging any registration failures at WARN level. * <p> * This method catches exceptions for individual class registrations to ensure * that a failure to register one class doesn't prevent other classes from being registered.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:54:09 GMT 2026 - 10.5K bytes - Click Count (3) -
src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java
// Test polymorphic behavior SearchLogEvent[] events = { event1, event2, event3 }; for (SearchLogEvent event : events) { // All methods should be callable without exceptions String id = event.getId(); Long version = event.getVersionNo(); Map<String, Object> source = event.toSource(); String type = event.getEventType();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
executionThread.start(); } }; @Override protected final void tearDown() { tearDownStack.runTearDown(); assertWithMessage("exceptions should not be propagated to uncaught exception handlers") .that(thrownByExecutionThread) .isNull(); } public void testServiceStartStop() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 12.8K bytes - Click Count (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
Ahora, obtén los datos del usuario desde la base de datos (falsa), usando el `username` del campo del form. Si no existe tal usuario, devolvemos un error diciendo "Incorrect username or password". Para el error, usamos la excepción `HTTPException`: {* ../../docs_src/security/tutorial003_an_py310.py hl[3,79:81] *} ### Revisa el password { #check-the-password }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 10.2K bytes - Click Count (0) -
cmd/postpolicyform.go
var keyInPolicyExceptions = map[string]bool{ xhttp.AmzSignature: true, "File": true, "Policy": true, // MinIO specific exceptions to the general S3 rule above. encrypt.SseKmsKeyID: true, encrypt.SseEncryptionContext: true, encrypt.SseCustomerAlgorithm: true, encrypt.SseCustomerKey: true, encrypt.SseCustomerKeyMD5: true,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Oct 23 15:10:12 GMT 2025 - 12.1K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
### New properties in an existing class When adding a property to an existing class (task, extension, domain object, etc), the API should consist of managed lazy properties. However, some exceptions need to be made to keep backwards compatibility with existing builds. This is preferred when the implementation type is internal: ```groovy public interface ExistingThing { String getOtherProperty()
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0)