Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 959 for empty (0.02 sec)

  1. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            assertNotNull(emptyUnicodeStringTrue.buffer, "Buffer should not be null for empty string with zterm");
            assertEquals(1, emptyUnicodeStringTrue.buffer.length, "Buffer length should be 1 for empty string with zterm");
            assertEquals(0, emptyUnicodeStringTrue.buffer[0], "Buffer should contain only zero for empty string with zterm");
    
            // Test with an empty string and zterm = false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/AssertionUtil.java

        /**
         * Asserts that the argument is neither <code>null</code> nor an empty string.
         *
         * @param argName
         *            The name of the argument that must not be {@code null} or an empty string.
         * @param argValue
         *            The value of the argument.
         * @throws EmptyArgumentException
         *             If the argument is <code>null</code> or an empty string.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SecurityBlobTest.java

            assertEquals(0, blob.get().length, "Internal array should be empty");
            assertEquals(0, blob.length(), "length() should be 0 for empty");
            assertEquals("", blob.toString(), "toString() of empty should be empty string");
            assertTrue(blob.equals(blob), "Object should be equal to itself");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      public void testConcat() {
        assertThat(Bytes.concat()).isEqualTo(EMPTY);
        assertThat(Bytes.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Bytes.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Bytes.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Bytes.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Bytes.concat(ARRAY1, ARRAY1, ARRAY1))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ResourceUtil.java

        }
    
        /**
         * Returns the resource from the context class loader.
         *
         * @param path
         *            The resource path. Must not be {@literal null} or empty string.
         * @return The resource {@link URL}
         * @see #getResource(String, String)
         */
        public static URL getResource(final String path) {
            assertArgumentNotEmpty("path", path);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        assertEquals(Object[].class, array.getClass());
      }
    
      public void testToArray_emptyArray() {
        E[] empty = getSubjectGenerator().createArray(0);
        E[] array = collection.toArray(empty);
        assertEquals(
            "toArray(emptyT[]) should return an array of type T", empty.getClass(), array.getClass());
        assertEquals("toArray(emptyT[]).length:", getNumElements(), array.length);
        expectArrayContentsAnyOrder(createSamplesArray(), array);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            System.clearProperty("123");
            System.clearProperty("test_var");
        }
    
        public void test_resolve_edgeCases() {
            // Test empty property replacement
            System.setProperty("empty", "");
            String value = "${empty}";
            assertEquals("", ResourceUtil.resolve(value));
    
            // Test property with just spaces
            System.setProperty("spaces", "   ");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        expectContents();
      }
    
      // retainAll(null)
    
      /*
       * AbstractCollection fails the retainAll(null) test when the subject
       * collection is empty, but we'd still like to test retainAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

        }
    
        public void test_empty() {
            // Test empty user bean creation
            FessUserBean emptyBean = FessUserBean.empty();
            assertNotNull(emptyBean);
    
            // Test getUserId returns EMPTY_USER_ID
            assertEquals(Constants.EMPTY_USER_ID, emptyBean.getUserId());
    
            // Test hasRoles always returns true for empty user
            assertTrue(emptyBean.hasRoles(new String[] { "admin" }));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      public void testConcat() {
        assertThat(Chars.concat()).isEqualTo(EMPTY);
        assertThat(Chars.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Chars.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Chars.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Chars.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Chars.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Chars.concat(ARRAY1, ARRAY1, ARRAY1))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top