Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testPad8 (1.06 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertEquals(18, ServerMessageBlock2.size8(15, 2));
            }
    
            @Test
            @DisplayName("Should calculate padding")
            void testPad8() {
                testMessage.encode(new byte[1024], 0);
                // After header is written, padding depends on position
                int headerStart = testMessage.getHeaderStart();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(list.getLast(), is("1"));
            list.getLastEntry().remove();
            assertThat(list.size(), is(0));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAdd() throws Exception {
            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            list.add(1, "4");
            assertThat(list.get(1), is("4"));
            assertThat(list.get(2), is("2"));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

        @Mock
        private MemoryDataHelper dataHelper;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            MockitoAnnotations.openMocks(this);
        }
    
        public void test_add() {
            // Setup
            String sessionId = "session123";
            String url = "https://example.com/page";
            Queue<UrlQueueImpl<Long>> mockQueue = new LinkedList<>();
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top