- Sort Score
- Num 10 results
- Language All
Results 1151 - 1160 of 5,478 for newE (0.02 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
File localRepo = new File(request.getLocalRepository().getBasedir()); DefaultRepositorySystemSession repoSession = new DefaultRepositorySystemSession(h -> false); DefaultSessionFactory defaultSessionFactory = new DefaultSessionFactory(repoSystem, repositorySystem, new DefaultLookup(container), null); MavenSession session = new MavenSession(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/util/HMACT64Test.java
when(mockMd5.digest()).thenReturn(innerDigest); doThrow(new RuntimeException("Test Exception")).when(mockMd5).digest(any(byte[].class), anyInt(), anyInt()); HMACT64 hmac = new HMACT64(TEST_KEY); assertThrows(IllegalStateException.class, () -> hmac.engineDigest(new byte[10], 0, 10)); } } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() { return new Builder<K, V>(Ordering.natural()); } public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) { return new Builder<K, V>(comparator); } public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() { return new Builder<K, V>(Ordering.natural().reverse()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 16.1K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
IOException cause = new IOException("IO error"); CurlException exception = new CurlException(null, cause); assertNull(exception.getMessage()); assertSame(cause, exception.getCause()); } @Test public void testConstructorWithMessageAndNullCause() { String message = "Test error message"; CurlException exception = new CurlException(message, null);
Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Jul 31 01:01:12 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
try { DefaultRepositorySystemSession pluginSession = new DefaultRepositorySystemSession(session); pluginSession.setArtifactDescriptorPolicy(new SimpleArtifactDescriptorPolicy(true, false)); ArtifactDescriptorRequest request = new ArtifactDescriptorRequest(pluginArtifact, repositories, REPOSITORY_CONTEXT); request.setTrace(trace);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 15:32:43 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
// ## Arrange ## Locale.setDefault(Locale.JAPANESE); final SQLException sqlException = new SQLException("some reason", "fooState", 7650); final SQLException sqlException2 = new SQLException("hoge reason", "barState", 7660); final SQLException sqlException3 = new SQLException("fuga reason", "bazState", 7670); sqlException.setNextException(sqlException2);Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
throw new RepositoryMetadataStoreException("Error updating group repository metadata", e); } } protected void updateRepositoryMetadata(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws IOException, XMLStreamException { Metadata metadata = null; File metadataFile = new File(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
void testReadWriteMethodsReturnValues() { SmbComClose close = new SmbComClose(10, 5000L); assertEquals(0, close.readParameterWordsWireFormat(new byte[10], 0)); assertEquals(0, close.readBytesWireFormat(new byte[10], 0)); assertEquals(0, close.writeBytesWireFormat(new byte[10], 0)); assertEquals(6, close.writeParameterWordsWireFormat(new byte[10], 0)); } /**
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
final Properties properties = new Properties(); PropertiesUtil.load(properties, inputStreamReader); } /** * Test method for * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, File)} . */ @Test public void testLoadPropertiesFile() { final Properties properties = new Properties(); PropertiesUtil.load(properties, inputFile);
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
// Given SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); int threadCount = 5; ExecutorService executor = Executors.newFixedThreadPool(threadCount); CountDownLatch startLatch = new CountDownLatch(1); CountDownLatch endLatch = new CountDownLatch(threadCount); AtomicInteger releaseCount = new AtomicInteger(0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0)