Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1421 - 1430 of 3,275 for Test (0.02 sec)

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

    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.ValueSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for {@link SmbComLogoffAndX}.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComLogoffAndXTest {
    
        @Test
        @DisplayName("constructor accepts null andx")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

                    return null;
                }
            };
        }
    
        @Test
        void testGetModel() {
            ToolchainModel model = new ToolchainModel();
            DefaultToolchain toolchain = newDefaultToolchain(model);
            assertEquals(model, toolchain.getModel());
        }
    
        @Test
        void testGetType() {
            ToolchainModel model = new ToolchainModel();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap
     * implementation.
     */
    @GwtIncompatible
    public class SortedMapTestSuiteBuilder<K, V> extends MapTestSuiteBuilder<K, V> {
      public static <K, V> SortedMapTestSuiteBuilder<K, V> using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#computeIfPresent}. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.io.IOException
    import java.security.cert.Certificate
    import kotlin.test.assertFailsWith
    import okhttp3.Handshake.Companion.handshake
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.Test
    
    class HandshakeTest {
      val serverRoot =
        HeldCertificate
          .Builder()
          .certificateAuthority(1)
          .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    
    class RequestTraceTest {
    
        @Test
        void testRequestTraceCreation() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/NegTokenTargTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for {@link NegTokenTarg}. The class has no external
     * collaborators so tests are mostly focused on round‑trip
     * serialisation and invalid input handling.
     */
    class NegTokenTargTest {
    
        @Test
        @DisplayName("happy path – full token round‑trip")
        void testRoundTripFull() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

        }
    
        @Override
        public void tearDown() throws Exception {
            // Clear WebApiManagerFactory
            super.tearDown();
        }
    
        // Test constructor
        public void test_constructor() {
            assertNotNull(new WebApiFilter());
        }
    
        // Test init method
        public void test_init() throws ServletException {
            FilterConfig filterConfig = new FilterConfig() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeGetTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import kotlin.test.assertEquals
    import kotlin.test.assertFailsWith
    import okhttp3.MediaType.Companion.toMediaType
    
    open class MediaTypeGetTest : MediaTypeTest() {
      override fun parse(string: String): MediaType = string.toMediaType()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals("test+value", DocumentUtil.encodeUrl("test+value"));
        }
    
        public void test_encodeUrl_special_characters() {
            assertEquals("test&value", DocumentUtil.encodeUrl("test&value"));
            assertEquals("test=value", DocumentUtil.encodeUrl("test=value"));
            assertEquals("test?value", DocumentUtil.encodeUrl("test?value"));
            assertEquals("test#value", DocumentUtil.encodeUrl("test#value"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top