Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,242 for 2test (0.04 sec)

  1. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

         */
        @Test
        @DisplayName("Encode with null buffer throws NullPointerException")
        public void testEncodeNullBuffer() throws NdrException {
            NdrHyper hyper = new NdrHyper(5L);
            assertThrows(NullPointerException.class, () -> hyper.encode(null));
        }
    
        /**
         * Ensure decode throws NPE when passed a null buffer.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        assertEquals(""test"", htmlEscaper().escape("\"test\""));
        assertEquals("'test'", htmlEscaper().escape("\'test'"));
        assertEquals("test & test & test", htmlEscaper().escape("test & test & test"));
        assertEquals("test &lt;&lt; 1", htmlEscaper().escape("test << 1"));
        assertEquals("test &gt;&gt; 1", htmlEscaper().escape("test >> 1"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/common/admin/crud/buttons.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <c:if test="${crudMode == 1}">
    	<button type="submit" class="btn btn-default" name="list"
    		value="<la:message key="labels.crud_button_back" />">
    		<em class="fa fa-arrow-circle-left">
    		<la:message key="labels.crud_button_back" />
    	</button>
    	<c:if test="${editable}">
    	<button type="submit" class="btn btn-success" name="create"
    		value="<la:message key="labels.crud_button_create" />">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Feb 10 12:37:20 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  4. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt

          }
    
        @JvmStatic
        @RegisterExtension
        val checkClosed =
          AfterAllCallback {
            for (test in testInstances) {
              assertThat(test.dispatcherA.closed).isTrue()
              assertThat(test.dispatcherB.closed).isTrue()
              assertThat(test.dispatcherC.closed).isFalse() // Never started.
            }
            testInstances.clear()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 11:13:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for SmbInfoAllocation
     */
    class SmbInfoAllocationTest {
    
        private SmbInfoAllocation smbInfoAllocation;
    
        @BeforeEach
        void setUp() {
            smbInfoAllocation = new SmbInfoAllocation();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/ResponseTest.java

        }
    
        @Test
        void testReset() {
            // Call the method
            mockResponse.reset();
    
            // Verify that the method was called
            verify(mockResponse, times(1)).reset();
        }
    
        @Test
        void testGetException() {
            Exception testException = new RuntimeException("Test Exception");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

        }
    
        @Test
        @DisplayName("Test constructor with FILE_INTERNAL_INFO level")
        void testConstructorWithFileInternalInfo() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_INTERNAL_INFO);
    
            assertNotNull(response);
            assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, response.getSubCommand());
        }
    
        @Test
        @DisplayName("Test getInfo when info is null")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

    )
    class KotlinSourceModernTest {
      @Test @Ignore
      fun dispatcherFromMockWebServer() {
        val dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse = TODO()
    
            override fun peek(): MockResponse = TODO()
    
            override fun shutdown() = TODO()
          }
      }
    
      @Test @Ignore
      fun mockResponse() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

        }
    
        // Test with whitespace-only Origin header
        public void test_doFilter_whitespaceOriginHeader() throws IOException, ServletException {
            mockRequest.setHeader("Origin", "   ");
    
            corsFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
    
            assertTrue(mockFilterChain.wasDoFilterCalled());
            assertFalse(corsHandlerFactory.wasGetCalled());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class SIndexOutOfBoundsExceptionTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIndexOutOfBoundsException#SIndexOutOfBoundsException()}
         * .
         */
        @Test
        public void testSIndexOutOfBoundsException() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top