- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 626 for SetName (0.16 sec)
-
guava-tests/test/com/google/common/io/ResourcesTest.java
// This is a sanity check that the test doesn't spuriously pass because // the resource is visible to the system class loader. assertThrows(IllegalArgumentException.class, () -> Resources.getResource(tempFile.getName())); // Now set the context loader to one that should find the resource. URL baseUrl = tempFile.getParentFile().toURI().toURL(); URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
a.setFile(file); assertEquals( "a-0.0.1-SNAPSHOT.jar.lastUpdated", updateCheckManager.getTouchfile(a).getName()); a = artifactFactory.createArtifactWithClassifier("groupId", "a", "0.0.1-SNAPSHOT", "jar", "classifier"); file = new File(localRepository.getBasedir(), localRepository.pathOf(a)); a.setFile(file);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/PropertyNotFoundRuntimeException.java
* @param propertyName the property name */ public PropertyNotFoundRuntimeException(final Class<?> targetClass, final String propertyName) { super("ECL0065", asArray(targetClass.getName(), propertyName)); this.targetClass = targetClass; this.propertyName = propertyName; } /** * Returns the target class. * * @return the target class */Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
if ("FESS_SEARCH_PARAM".equals(cookie.getName())) { found = true; assertNotNull(cookie.getValue()); } } assertTrue(found); getMockRequest().addCookie(cookies[0]); RequestParameter[] result = searchHelper.getSearchParameters(); assertEquals(2, result.length); assertEquals("q", result[0].getName());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
* * @author Kevin Bourrillion * @author Chris Povirk */ @NullUnmarked final class InterruptionUtil { private static final Logger logger = Logger.getLogger(InterruptionUtil.class.getName()); /** Runnable which will interrupt the target thread repeatedly when run. */ private static final class Interruptenator implements Runnable { private final long everyMillis; private final Thread interruptee;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
SmbAuthException ex = new SmbAuthException(msg); // Act String s = ex.toString(); // Assert assertNotNull(s); assertTrue(s.contains(SmbAuthException.class.getName())); assertTrue(s.contains(msg)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java
} private ArtifactTransferEvent wrap(TransferEvent event) { if (event == null) { return null; } else { String wagon = event.getWagon().getClass().getName(); ArtifactTransferResource artifact = wrap(event.getWagon().getRepository(), event.getResource()); ArtifactTransferEvent evt; if (event.getException() != null) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
assertNotNull(result); assertTrue(result.isPresent()); assertEquals(testValue, result.get()); assertEquals("test", result.get().getName()); assertEquals(123, result.get().getValue()); } public void test_ofNullable_withNullCustomObject() { CustomTestObject testValue = null;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
params.put("test", "123"); assertEquals("123", groovyEngine.evaluate("return test", params)); } public void test_getName() { assertEquals("groovy", groovyEngine.getName()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.6K bytes - Viewed (0) -
guava-gwt/test/com/google/common/GwtTestSuite.java
public static Test suite() throws IOException { GWTTestSuite suite = new GWTTestSuite(); for (ClassInfo info : ClassPath.from(GwtTestSuite.class.getClassLoader()).getTopLevelClasses()) { if (info.getName().endsWith("_gwt")) { Class<?> clazz = info.load(); // TODO(cpovirk): why does asSubclass() throw? Is it something about ClassLoaders? @SuppressWarnings("unchecked")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.6K bytes - Viewed (0)