Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 642 for set_name (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

           */
          info.getName().contains("TypeResolverTest")
              /*
               * And at least one of the classes inside TypeTokenTest ends up with a null value in
               * TypeMappingIntrospector.mappings. That happens only under older JDKs, too, so it may
               * well be a JDK bug.
               */
              || info.getName().contains("TypeTokenTest")
              /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

            FileEntry mock = mock(FileEntry.class);
            when(mock.getName()).thenReturn("test.txt");
            when(mock.getType()).thenReturn(1);
            when(mock.getAttributes()).thenReturn(128);
            when(mock.createTime()).thenReturn(1_500L);
            when(mock.lastModified()).thenReturn(1_800L);
            when(mock.length()).thenReturn(100L);
    
            assertEquals("test.txt", mock.getName());
            assertEquals(1, mock.getType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Act + Assert
            assertTrue(it.hasNext());
            assertEquals("a", it.next().getName(), "First element should be initial from open()");
            assertTrue(it.hasNext());
            assertEquals("b", it.next().getName(), "Next element should skip '.' and '..'");
            assertFalse(it.hasNext(), "Iterator exhausted after valid entries");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

            // Test that getName() properly converts class name to lowercase without "Searcher" suffix
            assertEquals("test_rank_fusion", rankFusionSearcher.getName());
        }
    
        public void test_getName_cachesBehavior() {
            // Test that getName() caches the result after first call
            String firstName = rankFusionSearcher.getName();
            String secondName = rankFusionSearcher.getName();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/FacetResponse.java

            aggregations.forEach(aggregation -> {
                if (aggregation.getName().startsWith(Constants.FACET_FIELD_PREFIX)) {
                    final Terms termFacet = (Terms) aggregation;
                    fieldList.add(new Field(termFacet));
                } else if (aggregation.getName().startsWith(Constants.FACET_QUERY_PREFIX)) {
                    final Filter queryFacet = (Filter) aggregation;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

            });
            assertTrue(count > 0);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

            when(mockPrincipal.getName()).thenReturn("user1");
            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
            assertEquals("user1", request.getRemoteUser());
            assertSame(mockPrincipal, request.getUserPrincipal());
            assertEquals("NTLM", request.getAuthType());
            verify(mockPrincipal, times(1)).getName();
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getName())) {
                throwValidationErrorApi(messages -> messages.addErrorsStorageFileNotFound(GLOBAL));
            }
            return asStream(pi.getName()).contentTypeOctetStream().stream(out -> {
                try {
                    downloadObject(getObjectName(pi.getPath(), pi.getName()), out);
                } catch (final StorageException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertEquals("testuser", user.getName());
    
            // Test with empty name
            user = new TestFessUser("", new String[] {}, new String[] {}, new String[] {});
            assertEquals("", user.getName());
    
            // Test with null name
            user = new TestFessUser(null, new String[] {}, new String[] {}, new String[] {});
            assertNull(user.getName());
    
            // Test with special characters in name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        Thread.currentThread().setContextClassLoader(classReloader);
        abstractFutureClass = classReloader.loadClass(AbstractFuture.class.getName());
        settableFutureClass = classReloader.loadClass(SettableFuture.class.getName());
      }
    
      @Override
      protected void tearDown() throws Exception {
        classReloader.close();
        Thread.currentThread().setContextClassLoader(oldClassLoader);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top