Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 2,138 for minval (0.09 sec)

  1. src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java

     *
     */
    public class DateConverterTest {
    
        /**
         * @throws Exception
         */
        @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"));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java

     */
    public class TimeConverterTest {
    
        /**
         * @throws Exception
         */
        @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"));
        }
    
    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/lang/AnnotationUtilTest.java

        /**
         * @throws Exception
         */
        @Hoge(bbb = "3")
        @Test
        public void testGetProperties() throws Exception {
            final Method m = ClassUtil.getMethod(getClass(), "testGetProperties");
            final Annotation anno = m.getAnnotation(Hoge.class);
            final Map<String, Object> props = AnnotationUtil.getProperties(anno);
            assertThat((String) props.get("aaa"), is("123"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java

            try {
                MessageDigestUtil.digest(null, text);
                assertTrue(false);
            } catch (final EmptyArgumentException e) {
                assertTrue(true);
            }
            try {
                MessageDigestUtil.digest("HOGE", text);
                assertTrue(false);
            } catch (final NoSuchAlgorithmRuntimeException e) {
                assertTrue(true);
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

     * against hash flooding attacks.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class JdkBackedImmutableMultiset<E> extends ImmutableMultiset<E> {
      private final Map<E, Integer> delegateMap;
      private final ImmutableList<Entry<E>> entries;
      private final long size;
    
      static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
        @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/log/LoggerTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testPerformance() throws Exception {
            final int num = 100;
            long start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                System.out.println("test" + i);
            }
            final long sysout = System.currentTimeMillis() - start;
            start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/security/get-current-user.md

    Aber hier ist der entscheidende Punkt.
    
    Der Code für Sicherheit und Dependency Injection wird einmal geschrieben.
    
    Sie können es so komplex gestalten, wie Sie möchten. Und dennoch haben Sie es nur einmal geschrieben, an einer einzigen Stelle. Mit all der Flexibilität.
    
    Aber Sie können Tausende von Endpunkten (*Pfadoperationen*) haben, die dasselbe Sicherheitssystem verwenden.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * Android.... The right long-term fix is probably to get MediumTests running under Android by
       * default and then suppress them strategically as needed.
       */
      public static final class ConcretePackageSanityTests extends AbstractPackageSanityTests {}
    
      private final AbstractPackageSanityTests sanityTests = new ConcretePackageSanityTests();
    
      public void testFindClassesToTest_testClass() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top