Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,100 for correctly (0.06 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertNull(notifyInfo.getFileName());
            assertEquals(0, notifyInfo.getNextEntryOffset());
        }
    
        @Test
        @DisplayName("Test constructor with buffer decodes correctly")
        void testConstructorWithBuffer() throws IOException {
            // Create test buffer with notification data
            byte[] buffer = createValidNotificationBuffer("testfile.txt", FileNotifyInformation.FILE_ACTION_ADDED);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/net/HostSpecifierTest.java

        tester.testAllPublicInstanceMethods(HostSpecifier.fromValid("google.com"));
      }
    
      private void assertGood(String spec) throws ParseException {
        // Throws exception if not working correctly
        HostSpecifier unused = HostSpecifier.fromValid(spec);
        unused = HostSpecifier.from(spec);
        assertTrue(HostSpecifier.isValid(spec));
      }
    
      private void assertBad(String spec) {
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            runner.admin().indices().prepareDelete("_all").execute().actionGet();
        }
    
        /**
         * Test getIndicesForAlias method with existing alias.
         * Verifies that the method correctly retrieves indices for a given alias.
         */
        @Test
        @SuppressWarnings("unchecked")
        public void testGetIndicesForAlias_existingAlias() throws Exception {
            final String indexName = "test-index-001";
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            int value = b & 0xFF;
            assertEquals(255, value, "Byte to unsigned conversion should work");
    
            // Test comparison operation
            assertTrue(value == 255, "Comparison should work correctly");
        }
    
        /**
         * Encode a string as 16-bit little-endian Unicode
         */
        private byte[] encodeUnicode(String s) {
            char[] chars = s.toCharArray();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @Test
        @DisplayName("Should create correct response")
        void testCreateResponse() {
            // When
            Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request);
    
            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2ChangeNotifyResponse);
        }
    
        @Test
        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

        @Inject
        private RepositorySystem repoSystem;
    
        @Inject
        private LegacySupport legacySupport;
    
        /** @deprecated we want to use the artifact method only, and ensure artifact.file is set correctly. */
        @Deprecated
        @Override
        public void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository)
                throws ArtifactInstallationException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/EmptyIteratorTest.java

            assertTrue(duration < 1000, "Creating and using 10000 EmptyIterators should be fast (took " + duration + "ms)");
        }
    
        @Test
        @DisplayName("EmptyIterator should work correctly in nested iteration")
        void testNestedIteration() {
            // When & Then
            assertDoesNotThrow(() -> {
                int outerCount = 0;
                while (emptyIterator.hasNext()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            assertEquals(0, msg.readBytesWireFormat(new byte[15], index));
            assertEquals(0, msg.readBytesWireFormat(null, index));
        }
    
        @Test
        @DisplayName("toString formats correctly")
        void toStringFormatsCorrectly() {
            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
            String s = msg.toString();
            assertNotNull(s, "toString should not be null");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
            assertNotNull(authenticator);
        }
    
        @Test
        public void test_spnegoConfigClass() {
            // Verify the inner class is named correctly: SpnegoConfig (not SpengoConfig)
            // This test verifies the typo fix by ensuring the class compiles
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
            assertNotNull(authenticator);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/html/HtmlEscapers.java

     * <p>HTML escaping is particularly tricky: For example, <a
     * href="https://www.w3.org/TR/html4/types.html#h-6.2">some elements' text contents must not be HTML
     * escaped</a>. As a result, it is impossible to escape an HTML document correctly without
     * domain-specific knowledge beyond what {@code HtmlEscapers} provides. We strongly encourage the
     * use of HTML templating systems.
     *
     * @author Sven Mawson
     * @author David Beaumont
     * @since 15.0
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3K bytes
    - Click Count (0)
Back to Top