Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for fail (0.35 sec)

  1. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(list.getEntry(2).getElement(), is("3"));
            try {
                list.getEntry(-1);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
            try {
                list.getEntry(3);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertNotNull(ResourceUtil.getResource("java/lang/String.class", "class"));
            assertNotNull(ResourceUtil.getResource("org/codelibs"));
            try {
                ResourceUtil.getResource("hoge", "xml");
                fail("2");
            } catch (final ResourceNotFoundRuntimeException e) {
                System.out.println(e);
                assertEquals("3", "hoge.xml", e.getPath());
            }
            System.out.println(ResourceUtil.getResource("."));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. .github/workflows/codeql-analysis.yml

        # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
        # If this step fails, then you should remove it and run the build manually (see below)
        - name: Autobuild
          uses: github/codeql-action/autobuild@v1
    
        # ℹ️ Command-line programs to run using the OS shell.
        # 📚 https://git.io/JvXDl
    
        # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
    Others
    - Registered: Fri Mar 01 20:58:10 GMT 2024
    - Last Modified: Wed Jan 19 23:41:02 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *            キューの容量
         * @param fair
         *            {@code true}の場合、挿入または削除時にブロックされたスレッドに対するキューアクセス
         * @return {@link ArrayBlockingQueue}の新しいインスタンス
         * @see ArrayBlockingQueue#ArrayBlockingQueue(int, boolean)
         */
        public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(final int capacity, final boolean fair) {
            return new ArrayBlockingQueue<>(capacity, fair);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 53.9K bytes
    - Viewed (0)
Back to top