Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 636 for correcta (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            result = response.readParametersWireFormat(smallBuffer, 0, -1);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test command type is correct")
        void testCommandType() {
            // Verify that the command is not set in constructor (defaults to 0)
            assertEquals(0, response.getCommand());
    
            // Verify we can change the subcommand
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // When
            int bytesWritten = response.writeBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals(0, bytesWritten);
        }
    
        @Test
        @DisplayName("Should create correct context types")
        void testCreateContext() {
            // Test encryption context
            NegotiateContextResponse enc = Smb2NegotiateResponse.createContext(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/util/MimeMapTest.java

            mimeMap = new MimeMap();
        }
    
        @Nested
        @DisplayName("getMimeType with extension only")
        class GetMimeTypeWithExtension {
    
            @Test
            @DisplayName("Should return correct mime type for known extensions")
            void testKnownExtensions() throws IOException {
                assertEquals("application/pdf", mimeMap.getMimeType("pdf"));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

      }
    
      /*
       * This is somewhat of a weak test; we verify that all of the methods are
       * correct, but not that they're actually forwarding correctly. We also rely
       * on the other tests (e.g., SynchronizedSetTest) to verify that the
       * collection views are synchronized correctly.
       */
    
      public void testSize() {
        int unused = create().size();
      }
    
      public void testIsEmpty() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 18 14:47:20 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/response-model.md

    E as ferramentas também ficarão felizes porque `RedirectResponse` e ​​`JSONResponse` são subclasses de `Response`, então a anotação de tipo está correta.
    
    ### Anote uma subclasse de Response { #annotate-a-response-subclass }
    
    Você também pode usar uma subclasse de `Response` na anotação de tipo:
    
    {* ../../docs_src/response_model/tutorial003_03_py39.py hl[8:9] *}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

    /**
     * Extracts Kotlin DSL runtime generated sources.
     *
     * Current implementation extracts these from the wrapper's API jars.
     * This is not correct as it should do this with the built distribution instead.
     *
     * Doing it correctly would require running a Gradle build with the full
     * distribution and extracting the generated api jar from its Gradle user home,
     * slowing down building documentation.
     *
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Mar 19 17:15:23 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                // Encode at position 100
                int encoded = context.encode(buffer, 100);
                assertEquals(context.size(), encoded);
    
                // Verify salt is at correct position
                for (int i = 0; i < salt.length; i++) {
                    assertEquals((byte) 0xFF, buffer[100 + 4 + 4 + i]);
                }
            }
        }
    
        @Nested
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

                populatedArray.s[i] = entry;
            }
    
            // Replace the info.e field with our populated array
            setDfsEnumArray(dfsRootEnum, populatedArray);
    
            // Test getEntries returns correct SmbShareInfo objects
            FileEntry[] entries = dfsRootEnum.getEntries();
            assertNotNull(entries);
            assertEquals(3, entries.length);
    
            // Verify each entry
            for (int i = 0; i < 3; i++) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            assertTrue(bytesWritten > 0);
    
            // Verify data is written at correct offset
            assertEquals(3, dst[startOffset]);
    
            // Verify total parameter count at correct offset
            assertEquals(500, SMBUtil.readInt4(dst, startOffset + 3));
    
            // Verify total data count at correct offset
            assertEquals(1000, SMBUtil.readInt4(dst, startOffset + 7));
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

                        "Result should be either Unicode or ASCII fallback for " + icon + ", got: " + result);
            }
        }
    
        @Test
        @DisplayName("should return correct Unicode characters")
        void shouldReturnCorrectUnicodeCharacters() {
            assertEquals('✓', ConsoleIcon.SUCCESS.getUnicodeChar());
            assertEquals('✗', ConsoleIcon.ERROR.getUnicodeChar());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top