Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 405 for excepciones (0.24 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.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
    - 15.8K bytes
    - Click Count (0)
  10. tests/test_schema_extra_examples.py

    import pytest
    from fastapi import Body, Cookie, FastAPI, Header, Path, Query
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel, ConfigDict
    
    
    def create_app():
        app = FastAPI()
    
        class Item(BaseModel):
            data: str
    
            model_config = ConfigDict(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 34.7K bytes
    - Click Count (0)
Back to Top