Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testErrorMessage_en (0.14 sec)

  1. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

            assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null."));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_en() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.ENGLISH);
            final NullArgumentException nullArgumentException = new NullArgumentException("hoge");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

            assertContains(message, "SQLState=bazState");
            assertContains(message, "fuga reason");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_en() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.ENGLISH);
            final SQLException sqlException = new SQLException("manyReason", "barState", 1234);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top