Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 643 for setName (0.04 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

       * execution significantly.
       */
      private static final ClassLoader NO_ATOMIC_FIELD_UPDATER =
          getClassLoader(
              ImmutableSet.of(
                  AtomicIntegerFieldUpdater.class.getName(),
                  AtomicReferenceFieldUpdater.class.getName()));
    
      public static TestSuite suite() {
        // we create a test suite containing a test for every FuturesTest test method and we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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/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)
  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. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                            responseData.setMimeType(mimeTypeHelper.getContentType(is, file.getName()));
                        } catch (final Exception e) {
                            responseData.setMimeType(mimeTypeHelper.getContentType(null, file.getName()));
                        }
    
                        if (contentLengthHelper != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                int modifiers = field.getModifiers();
                assertTrue(Modifier.isPublic(modifiers), "Field " + field.getName() + " should be public");
                assertTrue(Modifier.isStatic(modifiers), "Field " + field.getName() + " should be static");
                assertTrue(Modifier.isFinal(modifiers), "Field " + field.getName() + " should be final");
            }
        }
    
        @Test
        @DisplayName("Test constant values are unique")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

            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
    - 5.1K bytes
    - Viewed (0)
Back to top