Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 2,799 for 2test (2.02 sec)

  1. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test append method with String value
        public void test_append_stringValue() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "test string";
    
            monitorTarget.append(buf, "stringKey", supplier);
            assertEquals("\"stringKey\":\"test string\"", buf.toString());
        }
    
        // Test append method with String containing special characters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

        /**
         * Edge case – constructor using the winerr flag.
         */
        @Test
        @DisplayName("Winerr code 123 – message equals 123")
        void testConstructorWithWinerr() {
            SmbException ex = new SmbException(123, true);
            assertEquals("123", ex.getMessage());
            assertEquals(123, ex.getNtStatus());
        }
    
        /**
         * Parameterised test covering many error codes.
         * - Error code 0 returns 0 (NT_STATUS_SUCCESS)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        }
    
        @Test
        @DisplayName("Test compression context type")
        public void testContextType() {
            assertEquals(CompressionNegotiateContext.NEGO_CTX_COMPRESSION_TYPE, context.getContextType());
        }
    
        @Test
        @DisplayName("Test supported algorithms")
        public void testSupportedAlgorithms() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/dict/stemmeroverride/admin_dict_stemmeroverride_edit.jsp

                                </la:link></li>
                                <c:if test="${crudMode == 1}">
                                    <li class="breadcrumb-item active"><la:message
                                            key="labels.dict_stemmeroverride_link_create"/></li>
                                </c:if>
                                <c:if test="${crudMode == 2}">
                                    <li class="breadcrumb-item active"><la:message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.IOException;
    import java.util.stream.Stream;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      @Test
      public void outEdges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.outEdges(N2)).containsExactly(E12);
        assertThat(network.outEdges(N1)).containsExactly(E12);
      }
    
      @Test
      public void predecessors_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.predecessors(N2)).containsExactly(N1);
        assertThat(network.predecessors(N1)).containsExactly(N2);
      }
    
      @Test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

        }
    
        public void test_isNullsSuppressed() {
            // Test that nulls are suppressed
            assertTrue(provider.isNullsSuppressed());
        }
    
        public void test_isPrettyPrintSuppressed() {
            // Test that pretty print is not suppressed
            assertFalse(provider.isPrettyPrintSuppressed());
        }
    
        public void test_provideMappingOption() {
            // Test that mapping option is provided correctly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        @Test
        @DisplayName("getResponse before initResponse returns null")
        void getResponseInitiallyNull() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            assertNull(req.getResponse(), "Before init, response is null");
        }
    
        @Test
        @DisplayName("toString representation contains expected fields")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = graph.nodes();
        assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
      public void adjacentNodes_checkReturnedSetMutability() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            assertEquals(rootCause, exception.getCause().getCause());
        }
    
        public void test_exceptionSerialization() {
            // Test that the exception is serializable
            String message = "Serialization test";
            Exception cause = new Exception("Test cause");
    
            SearchQueryException exception = new SearchQueryException(message, cause);
    
            // Verify serialVersionUID is properly set
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top