Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 332 for converted (0.08 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

        final ClassMetaDataRepository<ClassMetaData> repository = Mock()
        final GenerationListener listener = Mock()
        final JavadocLinkConverter converter = new JavadocLinkConverter(document, nameResolver, linkRenderer, repository)
    
        def convertsClassNameToLink() {
            when:
            def link = converter.resolve('someName', classMetaData, listener)
    
            then:
            format(link) == '<someLinkElement/>'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java

         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final DateConverter converter = new DateConverter("yyyy/MM/dd");
            final Date result = (Date) converter.getAsObject("2008/01/16");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/01/16"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java

         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final TimeConverter converter = new TimeConverter("HH:mm:ss");
            final java.sql.Time result = (java.sql.Time) converter.getAsObject("12:34:56");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("12:34:56"));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java

        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd HH:mm:ss");
            final java.sql.Timestamp result = (java.sql.Timestamp) converter.getAsObject("2008/12/31 12:34:56");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/12/31 12:34:56"));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

        }
    
    
        @Override
        public String toString () {
            return new String(
                "NetServerEnum2Response[" + super.toString() + ",status=" + this.getStatus() + ",converter=" + this.converter + ",entriesReturned="
                        + this.getNumEntries() + ",totalAvailableEntries=" + this.totalAvailableEntries + ",lastName=" + this.lastName + "]");
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/converter/KatakanaConverterTest.java

     */
    package org.codelibs.fess.suggest.converter;
    
    import junit.framework.TestCase;
    
    public class KatakanaConverterTest extends TestCase {
        public void test_convert() throws Exception {
            /*
             * TODO ReadingConverter converter = new KatakanaConverter(); converter.init(); assertEquals("ケンサク",
             * converter.convert("検索").get(0));
             */
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1001 bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

        }
    
    
        @Override
        public String toString () {
            return new String(
                "NetShareEnumResponse[" + super.toString() + ",status=" + getStatus() + ",converter=" + this.converter + ",entriesReturned="
                        + getNumEntries() + ",totalAvailableEntries=" + this.totalAvailableEntries + "]");
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Enums.java

            constants = populateCache(enumClass);
          }
          return constants;
        }
      }
    
      /**
       * Returns a serializable converter that converts between strings and {@code enum} values of type
       * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. The
       * converter will throw an {@code IllegalArgumentException} if the argument is not the name of any
       * enum constant in the specified enum.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

        }
        public String toString() {
            return new String( "NetServerEnum2Response[" +
                    super.toString() +
                    ",status=" + status +
                    ",converter=" + converter +
                    ",entriesReturned=" + numEntries +
                    ",totalAvailableEntries=" + totalAvailableEntries +
                    ",lastName=" + lastName + "]" );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testStringConverter_convert() {
        Converter<String, Double> converter = Doubles.stringConverter();
        assertThat(converter.convert("1.0")).isEqualTo((Double) 1.0);
        assertThat(converter.convert("0.0")).isEqualTo((Double) 0.0);
        assertThat(converter.convert("-1.0")).isEqualTo((Double) (-1.0));
        assertThat(converter.convert("1")).isEqualTo((Double) 1.0);
        assertThat(converter.convert("0")).isEqualTo((Double) 0.0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
Back to top