Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 4,636 for should (0.15 seconds)

  1. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // Then
            // Verify that the 'sam' field is set correctly
            assertEquals(mockSamArray, msrpc.sam, "The 'sam' field should be initialized with the provided SamrSamArray.");
    
            // Verify that the 'ptype' field is set to 0
            assertEquals(0, msrpc.getPtype(), "The 'ptype' field should be initialized to 0.");
    
            // Verify that the 'flags' field is set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/elevateword/UploadForm.java

     * Elevate words are terms that should be promoted or given higher ranking in search results.
     * This form is used in the admin interface to upload elevate word configuration files.
     */
    public class UploadForm {
    
        /**
         * The multipart file containing the elevate word configurations to be uploaded.
         * This file should contain definitions for words or documents that should be elevated in search results.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                // Assert: type is named pipe and pipe type preserved
                assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType(), "Type should be TYPE_NAMED_PIPE");
                assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor");
            }
    
            @ParameterizedTest
            @DisplayName("Rejects non-IPC$ URLs")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java

            int recordCount = jsonPath.getInt("record_count");
            assertTrue(recordCount >= 0, "Record count should be >= 0");
    
            if (recordCount > 0) {
                List<Map<String, Object>> labels = jsonPath.getList("data");
                assertTrue(labels != null, "Data should not be null when labels exist");
            }
        }
    
        @Test
        public void testGetLabels_responseStructure() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java

        }
    
        @Test
        public void test_append_excludedLogger_notificationHelper() {
            final LogEvent event = createLogEvent(Level.ERROR, "org.codelibs.fess.helper.NotificationHelper", "should be excluded");
            appender.append(event);
    
            final List<LogNotificationEvent> events = ComponentUtil.getLogNotificationHelper().drainAll();
            assertEquals(0, events.size());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            // Check for sorted concatenated strings
            assertTrue("Result should contain sorted tags", result.contains("aaammmzzz"));
            assertTrue("Result should contain sorted roles", result.contains("role1role2role3"));
            assertTrue("Result should contain sorted fields", result.contains("field1field2field3"));
            assertTrue("Result should contain sorted excludes", result.contains("exclude1exclude2exclude3"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        void testReset() {
            // Reset should not throw exception
            assertDoesNotThrow(() -> transaction.reset());
    
            // Transaction should be ready for reuse
            assertTrue(transaction.hasMoreElements());
        }
    
        @Test
        @DisplayName("Test reset with key and lastName")
        void testResetWithKeyAndLastName() {
            // Reset with parameters should not throw exception
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/net/PercentEscaper.java

      /** If true we should convert space to the {@code +} character. */
      private final boolean plusForSpace;
    
      /**
       * An array of flags where for any {@code char c} if {@code safeOctets[c]} is true then {@code c}
       * should remain unmodified in the output. If {@code c >= safeOctets.length} then it should be
       * escaped.
       */
      private final boolean[] safeOctets;
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer)
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK);
            assertEquals(SmbConstants.TYPE_PRINTER, info.getType());
    
            typeWithUpperBits = 0x12340003; // Should be treated as type 3 (named pipe)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

        Object[] actual = getList().toArray();
        assertArrayEquals("toArray() order should match list", createOrderedArray(), actual);
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testToArray_tooSmall() {
        Object[] actual = getList().toArray(new Object[0]);
        assertArrayEquals("toArray(tooSmall) order should match list", createOrderedArray(), actual);
      }
    
      public void testToArray_largeEnough() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.3K bytes
    - Click Count (0)
Back to Top