Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,844 for test2 (0.04 sec)

  1. okhttp/src/test/java/okhttp3/CommonRequestBodyTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    import okhttp3.RequestBody.Companion.toRequestBody
    
    class CommonRequestBodyTest {
      @Test
      fun correctContentType() {
        val body = "Body"
        val requestBody = body.toRequestBody(MediaType("text/plain", "text", "plain", arrayOf()))
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/SystemUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.lang;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class SystemUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            System.out.println(SystemUtil.FILE_ENCODING);
            System.out.println(SystemUtil.LINE_SEPARATOR);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

    import java.util.SortedSet;
    import java.util.TreeSet;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@link ImmutableSortedSet}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/resources/poms/factory/complex.xml

             xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
    
        <groupId>test</groupId>
        <artifactId>test</artifactId>
        <version>0.1-SNAPSHOT</version>
        <packaging>pom</packaging>
    
        <properties>
            <my.filter.value>hello</my.filter.value>
        </properties>
    
        <profiles>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            assertEquals("aaa\\bbb", ldapManager.getSearchRoleName("cn=aaa\\bbb"));
            assertEquals("aaa\\bbb", ldapManager.getSearchRoleName("cn=aaa\\bbb,du=test"));
            assertEquals("aaa\\bbb\\ccc", ldapManager.getSearchRoleName("cn=aaa\\bbb\\ccc"));
            assertEquals("aaa\\bbb\\ccc", ldapManager.getSearchRoleName("cn=aaa\\bbb\\ccc,du=test\""));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial001.py

    
    def test_post_upload_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        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():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_files/test_tutorial001_an.py

    
    def test_post_upload_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        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():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/main/resources/fess_env_crawler.properties

    mail.send.mock = false
    
    # SMTP server settings for main: host:port
    mail.smtp.server.main.host.and.port = localhost:25
    
    # The prefix of subject to show test environment or not
    mail.subject.test.prefix = 
    
    # The common return path of all mail
    mail.return.path = root@localhost
    
    
    # ========================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  9. src/main/resources/fess_env_thumbnail.properties

    mail.send.mock = false
    
    # SMTP server settings for main: host:port
    mail.smtp.server.main.host.and.port = localhost:25
    
    # The prefix of subject to show test environment or not
    mail.subject.test.prefix = 
    
    # The common return path of all mail
    mail.return.path = root@localhost
    
    
    # ========================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Feb 12 13:38:57 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  10. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

     * limitations under the License.
     */
    package okhttp.regression.compare;
    
    import androidx.test.ext.junit.runners.AndroidJUnit4;
    import java.io.IOException;
    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import static org.junit.Assert.assertEquals;
    
    import okhttp3.Response;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    /**
     * OkHttp.
     *
     * https://square.github.io/okhttp/
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Nov 14 17:38:22 UTC 2020
    - 1.4K bytes
    - Viewed (0)
Back to top