Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 3,275 for Test (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the Trans2FindNext2 class.
     */
    class Trans2FindNext2Test {
    
        /**
         * Verifies constructor initializes protocol fields and limits correctly.
         */
        @Test
        void testConstructorInitializesFields() {
            // Given
            int sid = 0x2222;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig.jsp

                                                                test="${data.available=='true'}">
    																	<span class="badge bg-primary"><la:message
                                                                                key="labels.enabled"/></span>
                                                        </c:if> <c:if test="${data.available=='false'}">
    																	<span class="badge bg-gray"><la:message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 8.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        Character.toChars(max, dst, 9);
        dst[11] = 'x';
        String test = new String(dst);
    
        // Get the expected result string
        String expected = "x[" + min + "][" + s1 + "][" + s2 + "][" + s3 + "][" + max + "]x";
        assertThat(escapeAsString(e, test)).isEqualTo(expected);
      }
    
      public void testTrailingHighSurrogate() {
        String test = "abc" + Character.MIN_HIGH_SURROGATE;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        Character.toChars(max, dst, 9);
        dst[11] = 'x';
        String test = new String(dst);
    
        // Get the expected result string
        String expected = "x[" + min + "][" + s1 + "][" + s2 + "][" + s3 + "][" + max + "]x";
        assertThat(escapeAsString(e, test)).isEqualTo(expected);
      }
    
      public void testTrailingHighSurrogate() {
        String test = "abc" + Character.MIN_HIGH_SURROGATE;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

          """
          |data:test
          |
          |data: test
          |
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "test"))
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "test"))
      }
    
      @Test
      fun leadingWhitespace() {
        consumeEvents(
          """
          |data:  test
          |
          |
          """.trimMargin(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

         * It should always return 0.
         */
        @Test
        void testWriteSetupWireFormat() {
            byte[] dst = new byte[10];
            // The method should not write anything and return 0
            assertEquals(0, response.writeSetupWireFormat(dst, 0), "writeSetupWireFormat should return 0.");
        }
    
        /**
         * Test for the writeParametersWireFormat method.
         * It should always return 0.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/LineIteratorTest.java

    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import java.io.StringReader;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class LineIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Map;
    import java.util.ResourceBundle;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class ResourceBundleUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testConvertMap() throws Exception {
            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            assertNull(data.getDataMap().get("key1"));
        }
    
        public void test_register_string() {
            RenderData data = new RenderData();
            RenderDataUtil.register(data, "key1", "test value");
            assertEquals("test value", data.getDataMap().get("key1"));
    
            RenderDataUtil.register(data, "key2", "");
            assertEquals("", data.getDataMap().get("key2"));
        }
    
        public void test_register_primitives() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/util/StringUtilTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for StringUtil utility methods
     */
    class StringUtilTest {
    
        @Test
        @DisplayName("Should join single element without delimiter")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top