Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for test_sort (0.05 sec)

  1. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            assertEquals(25, ESSourceReader.getLimitDocNum(50, 50, -1));
            assertEquals(10, ESSourceReader.getLimitDocNum(50, 50, 10));
        }
    
        @Test
        public void test_sort() throws Exception {
            String indexName = "test-index";
            Client client = runner.client();
            SuggestSettings settings = suggester.settings();
            int num = 10000;
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Set newInputs to non-empty array - not deleted
            item.setNewInputs(new String[] { "something" });
            assertFalse(item.isDeleted());
        }
    
        public void test_sort() {
            String[] inputs = { "z", "a", "m" };
            String[] newInputs = { "9", "1", "5" };
    
            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
            item.setNewInputs(newInputs);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        Helpers.testComparator(comparator, ordered);
      }
    
      public void testSort() {
        testSort(new long[] {}, new long[] {});
        testSort(new long[] {2}, new long[] {2});
        testSort(new long[] {2, 1, 0}, new long[] {0, 1, 2});
        testSort(new long[] {2, GREATEST, 1, LEAST}, new long[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(long[] input, long[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbTransportPoolTest.java

                // When
                SmbTransport result = transportPool.getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false);
    
                // Then
                assertNotNull(result);
                assertEquals(transport, result);
                verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

     */
    public class RdmaIntegrationTest {
    
        private String testServer;
        private int testPort;
        private CIFSContext testContext;
    
        @BeforeEach
        public void setUp() throws Exception {
            testServer = System.getProperty("rdma.test.server");
            String portStr = System.getProperty("rdma.test.port", "445");
            testPort = Integer.parseInt(portStr);
    
            // Create RDMA-enabled context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/LmhostsTest.java

            NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext);
    
            assertNull(result);
        }
    
        @Test
        void testGetByNameWithNonExistentFile() {
            // Test with non-existent file
            when(mockConfig.getLmHostsFileName()).thenReturn("/non/existent/lmhosts");
    
            NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext);
    
            assertNull(result);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top