Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 2,326 for test0 (0.04 sec)

  1. 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)
  2. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithImports.groovy

    package org.gradle.test
    
    import org.gradle.test.sub.*;
    
    class GroovyClassWithImports extends SubGroovyClass implements SubJavaInterface, GroovyInterface {
        void close() {
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 228 bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

       * UTCTime or GeneralizedTime.
       */
      @Test fun `can read GENERALIZED_TIME before 2050`() {
        val generalizedTimeDer = "180f32303439313233313233353935395a".decodeHex()
    
        val decoded = CertificateAdapters.time.fromDer(generalizedTimeDer)
        assertThat(decoded).isEqualTo(date("2049-12-31T23:59:59.000+0000").time)
      }
    
      @Test fun `time before 1950 uses GENERALIZED_TIME`() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

    import okhttp3.Headers
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.EMPTY_HEADERS
    import okio.Buffer
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    
    @Timeout(30)
    class RecordedRequestTest {
      private val headers: Headers = EMPTY_HEADERS
    
      @Test fun testIPv4() {
        val socket =
          FakeSocket(
            localAddress = InetAddress.getByAddress("127.0.0.1", byteArrayOf(127, 0, 0, 1)),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. internal/lock/lock_windows_test.go

    		{`\\?\c:\long/foo.txt`, `\\?\c:\long/foo.txt`},
    	} {
    		in := strings.ReplaceAll(test.in, "long", veryLong)
    		want := strings.ReplaceAll(test.want, "long", veryLong)
    		if got := fixLongPath(in); got != want {
    			got = strings.ReplaceAll(got, veryLong, "long")
    			t.Errorf("fixLongPath(%q) = %q; want %q", test.in, got, test.want)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

    import static org.junit.Assert.assertThat;
    
    import java.io.StringReader;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class IndexedIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. tests/test_starlette_urlconvertors.py

    
    client = TestClient(app)
    
    
    def test_route_converters_int():
        # Test integer conversion
        response = client.get("/int/5")
        assert response.status_code == 200, response.text
        assert response.json() == {"int": 5}
        assert app.url_path_for("int_convertor", param=5) == "/int/5"  # type: ignore
    
    
    def test_route_converters_float():
        # Test float conversion
        response = client.get("/float/25.5")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 27 14:46:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

                    .body("response." + ITEM_ENDPOINT_SUFFIX + ".token", equalTo(token));
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    
        @Test
        void functionTest() {
            testPermission();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. 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);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

    import static org.junit.Assert.assertSame;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class ObjectUtilTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.lang.ObjectUtil#equals(java.lang.Object, java.lang.Object)}
         * .
         */
        @Test
        public void testEqualsObjectObject() {
            assertThat(ObjectUtil.equals(null, null), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top