Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_long (0.19 sec)

  1. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            Date expected4 = new Date();
            doc.put("key4", expected4);
            assertEquals(expected4, DocumentUtil.getValue(doc, "key4", Date.class));
        }
    
        public void test_long() {
            Map<String, Object> doc = new HashMap<>();
    
            long expected5 = 999999999999999999L;
            doc.put("key5", expected5);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/log/LoggerTest.java

         * @throws Exception
         */
        @Test
        public void testFatal() throws Exception {
            logger.fatal("fatal");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testLog() throws Exception {
            logger.log("ILOGTEST0001");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testLogWithArgs() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java

    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class LongConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToLong() throws Exception {
            assertEquals(new Long("1000"), LongConversionUtil.toLong("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveLong() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top