Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1131 - 1140 of 3,356 for xtest (0.07 seconds)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            try {
                // Test null vs null
                assertTrue(auth1.equals(new NtlmPasswordAuthenticator("domain", "user", (String) null)));
    
                // Test null vs empty
                assertFalse(auth1.equals(auth2));
    
                // Test null vs password
                assertFalse(auth1.equals(auth3));
    
                // Test empty vs password
                assertFalse(auth2.equals(auth3));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

    import org.codelibs.core.beans.MethodDesc;
    import org.codelibs.core.exception.MethodNotStaticRuntimeException;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class MethodDescTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFoo() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt

    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class SocksProxyTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_request_files/test_tutorial001.py

    def test_post_upload_file(tmp_path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessage() throws Exception {
            final String s = MessageFormatter.getMessage("EMSG0000");
            System.out.println(s);
            assertThat(s, is("[EMSG0000]test"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessageWithArgs() throws Exception {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java

        @Test
        void generic() throws Exception {
            assertEquals(GenericCIDetector.NAME + ";", runner(Map.of("CI", "true")));
        }
    
        @Test
        void jenkins() throws Exception {
            assertEquals(JenkinsCIDetector.NAME + ";", runner(Map.of("CI", "true", "WORKSPACE", "foobar")));
        }
    
        @Test
        void circleci() throws Exception {
            assertEquals(CircleCIDetector.NAME + ";", runner(Map.of("CIRCLECI", "true")));
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NbtExceptionTest.java

    import java.util.stream.Stream;
    
    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 jcifs.CIFSException;
    
    class NbtExceptionTest {
    
        /**
         * Test the constructor of NbtException.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/async-tests.md

    The `TestClient` is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, and luckily, we can use it directly to test the API.
    
    ## Example { #example }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new License().equals(null));
    
            new License().equals(new License());
        }
    
        @Test
        void testEqualsIdentity() {
            License thing = new License();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new License().toString());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

        /**
         * MNG-5951 MNG-6059 child.x.y.inherit.append.path="false" test
         * @throws Exception
         */
        @Test
        void testNoAppendUrls() throws Exception {
            testInheritance("no-append-urls");
        }
    
        /**
         * MNG-5951 special case test: inherit with partial override
         * @throws Exception
         */
        @Test
        void testNoAppendUrls2() throws Exception {
            testInheritance("no-append-urls2");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top