Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 969 for getTime (0.04 seconds)

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

        checkThreadPoolName(thread3, 1);
        assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-')))
            .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
      }
    
      private static void checkThreadPoolName(Thread thread, int threadId) {
        assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$");
      }
    
      public void testNameFormatWithPercentS_custom() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                verify(request, times(1)).getName();
            }
    
            @Test
            @DisplayName("getName() should handle null return value")
            void testGetNameWithNull() {
                CreateContextRequest request = mock(CreateContextRequest.class);
                when(request.getName()).thenReturn(null);
    
                byte[] actualName = request.getName();
                assertNull(actualName);
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/FileEntryTest.java

                assertEquals("", mockEntry.getName(), "second call returns empty");
                assertEquals(" ", mockEntry.getName(), "third call returns space");
    
                verify(mockEntry, times(3)).getName();
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                        && field.getType() == String.class && !field.getName().equals("serialVersionUID")) {
    
                    // Check field name follows convention
                    assertTrue("Field name should match pattern: " + field.getName(), labelPattern.matcher(field.getName()).matches());
    
                    // Check field value follows convention
                    field.setAccessible(true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                verify(response, times(1)).getName();
            }
    
            @Test
            @DisplayName("getName() should handle null return value")
            void testGetNameWithNull() {
                CreateContextResponse response = mock(CreateContextResponse.class);
                when(response.getName()).thenReturn(null);
    
                byte[] actualName = response.getName();
                assertEquals(null, actualName);
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

        public URI getLocationURI() {
            return getFile().toURI();
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof FileModelSource)) {
                return false;
            }
            FileModelSource other = (FileModelSource) obj;
            return getFile().equals(other.getFile());
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

             * @return the file name
             */
            public String getName() {
                return name;
            }
    
            /**
             * Gets the size of this cached file in bytes
             * @return the file size
             */
            public long getSize() {
                return size;
            }
    
            /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            secondInstance.decode(encodedBuffer, 0, encodedBuffer.length);
    
            // Verify both instances have same values
            assertEquals(firstInstance.getSize(), secondInstance.getSize());
            assertEquals(expectedEndOfFile, secondInstance.getSize());
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() throws SMBProtocolDecodingException {
            // Setup test data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

                assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
            } else if (message.isEmpty()) {
                // Throwable.toString prints class + ": " (with space) even for empty string
                assertEquals(SMBProtocolDowngradeException.class.getName() + ": ", ex.toString());
            } else {
                assertEquals(SMBProtocolDowngradeException.class.getName() + ": " + message, ex.toString());
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/NetbiosNameTest.java

            when(mockNetbiosName.getName()).thenReturn(upperCase);
            assertEquals(upperCase, mockNetbiosName.getName());
    
            when(mockNetbiosName.getName()).thenReturn(lowerCase);
            assertEquals(lowerCase, mockNetbiosName.getName());
    
            when(mockNetbiosName.getName()).thenReturn(mixedCase);
            assertEquals(mixedCase, mockNetbiosName.getName());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top