Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 3,963 for void (0.02 sec)

  1. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

        }
    
        public void test_load_emptyList() {
            mockBhv.setTestData(new ArrayList<>());
    
            int count = relatedContentHelper.load();
            assertEquals(0, count);
    
            String[] results = relatedContentHelper.getRelatedContents("anyterm");
            assertEquals(0, results.length);
        }
    
        public void test_load_simpleTerms() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

        private FileFsFullSizeInformation fileFsFullSizeInfo;
    
        @BeforeEach
        void setUp() {
            fileFsFullSizeInfo = new FileFsFullSizeInformation();
        }
    
        @Nested
        @DisplayName("Interface Implementation Tests")
        class InterfaceImplementationTests {
    
            @Test
            @DisplayName("Should implement AllocInfo interface")
            void shouldImplementAllocInfo() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *
         * @param session the current build session
         * @param project the project to attach the artifact to
         * @param path the path to the artifact file
         */
        default void attachArtifact(@Nonnull Session session, @Nonnull Project project, @Nonnull Path path) {
            String name = path.getFileName().toString();
            int dot = name.lastIndexOf('.');
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        @BeforeEach
        public void setUp() {
            // Static mocks or initializations can be done here if necessary
            // For now, we rely on instance mocks provided by MockitoExtension
        }
    
        @Nested
        class ConstructorTests {
    
            @Test
            public void testConstructorWithValidUrl() throws MalformedURLException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/StringsTest.java

     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class StringsTest extends TestCase {
      public void testNullToEmpty() {
        assertEquals("", Strings.nullToEmpty(null));
        assertEquals("", Strings.nullToEmpty(""));
        assertEquals("a", Strings.nullToEmpty("a"));
      }
    
      public void testEmptyToNull() {
        assertNull(Strings.emptyToNull(null));
        assertNull(Strings.emptyToNull(""));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

         */
        @Test
        public void testAdd_int() throws Exception {
            final int[] array = new int[] { 1 };
            final int[] newArray = ArrayUtil.add(array, 2);
            assertThat(newArray.length, is(2));
            assertThat(newArray[0], is(1));
            assertThat(newArray[1], is(2));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIndexOf() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        @DisplayName("Test constructor with FileInformation parameter")
        void testConstructorWithFileInformation() {
            // Setup mock FileInformation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

         * @throws Exception
         */
        @Test
        public void testNewInstance() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(Integer.class);
            assertThat((Integer) beanDesc.newInstance(10), is(10));
            assertThat((Integer) beanDesc.newInstance("10"), is(10));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testNewInstance2() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

    public class MultisetAddTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0()));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddMeansAddOne() {
        int originalCount = getMultiset().count(e0());
        assertTrue(getMultiset().add(e0()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacTest.java

            keys.put(PacSignature.ETYPE_ARCFOUR_HMAC, serverKey);
        }
    
        private void writeLittleEndianInt(ByteArrayOutputStream baos, int value) {
            baos.write(value & 0xFF);
            baos.write((value >> 8) & 0xFF);
            baos.write((value >> 16) & 0xFF);
            baos.write((value >> 24) & 0xFF);
        }
    
        private void writeLittleEndianLong(ByteArrayOutputStream baos, long value) {
            for (int i = 0; i < 8; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top