- Sort Score
- Result 10 results
- Languages All
Results 1171 - 1180 of 4,619 for _new (0.04 sec)
-
compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java
NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url"); assertEquals("url cannot be null", e.getMessage()); } @Test void testGetInputStream() throws Exception { URL txtFile = new File("target/test-classes/source.txt").toURI().toURL(); UrlSource source = new UrlSource(txtFile); try (InputStream is = source.getInputStream();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
public void test_isAvailable() { // Test default implementation generator = new TestThumbnailGenerator(); assertTrue(generator.isAvailable()); } public void test_isTarget() { // Test isTarget method generator = new TestThumbnailGenerator(); Map<String, Object> docMap = new HashMap<>(); // Note: isTarget requires FessConfig which needs containerRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
ConnectionTimeoutException exception = new ConnectionTimeoutException(message); assertEquals(message, exception.getMessage(), "Message should match the provided string"); assertNull(exception.getCause(), "Cause should be null for string constructor"); } @Test void testThrowableConstructor() { // Test the constructor with a cause Throwable cause = new RuntimeException("Root cause of timeout");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535 @SuppressWarnings("unchecked") static final ImmutableMap<Object, Object> EMPTY = new RegularImmutableMap<>(null, new Object[0], 0); /* * This is an implementation of ImmutableMap optimized especially for Android, which does not likeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
short level = 1; // Act queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject); // Assert assertSame(mockPolicyHandle, queryPolicy.handle); } @Test void constructor_shouldSetLevelCorrectly() { // Arrange short level = 7; // Act queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
} public SafeTreeSet(Comparator<? super E> comparator) { this(new TreeSet<E>(comparator)); } public SafeTreeSet(SortedSet<E> set) { this(new TreeSet<E>(set)); } private SafeTreeSet(NavigableSet<E> delegate) { this.delegate = delegate; for (E e : this) { checkValid(e); } } @Override public boolean add(E element) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
@Inject private ProfileSelector profileSelector; private List<String> activatedIds = new ArrayList<>(); private List<String> deactivatedIds = new ArrayList<>(); private List<String> defaultIds = new ArrayList<>(); private Map<String, Profile> profilesById = new LinkedHashMap<>(); private Properties requestProperties; /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
@Mock Configuration mockCfg; // Provides a fresh handler instance for tests private Handler newHandler() { return new Handler(); } // Provides a handler wired with a mocked CIFSContext private Handler newHandlerWith(CIFSContext ctx) { return new Handler(ctx); } @Test @DisplayName("getDefaultPort returns SMB default port") void testGetDefaultPort() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayIterator.java
final T o = items[index]; index++; return o; } catch (final IndexOutOfBoundsException e) { throw new NoSuchElementException("index=" + index); } } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SecurityBlob.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.5K bytes - Viewed (0)