- Sort Score
- Result 10 results
- Languages All
Results 1401 - 1410 of 3,202 for throwIt (0.62 sec)
-
src/test/java/org/codelibs/core/net/URLUtilTest.java
* @author taichi * */ public class URLUtilTest extends TestCase { /** * @throws Exception */ public void testEncode() throws Exception { assertEquals("Program+Files", URLUtil.encode("Program Files", "UTF-8")); } /** * @throws Exception */ public void testDecode() throws Exception { assertEquals("Program Files", URLUtil.decode("Program+Files", "UTF-8")); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/ArtifactRepositoryFactory.java
String LOCAL_REPOSITORY_ID = "local"; @Deprecated ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException; @Deprecated ArtifactRepository createDeploymentArtifactRepository(String id, String url, String layoutId, boolean uniqueVersion) throws UnknownRepositoryLayoutException; ArtifactRepository createDeploymentArtifactRepository(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
public void testBuildTesterRequirements_class_notAnnotated() throws Exception { class Tester {} TesterRequirements requirements = buildTesterRequirements(Tester.class); assertThat(requirements.getPresentFeatures()).isEmpty(); assertThat(requirements.getAbsentFeatures()).isEmpty(); } public void testBuildTesterRequirements_class_empty() throws Exception { @Require class Tester {}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author higa * */ public class SRuntimeExceptionTest { /** * @throws Exception */ @Test public void testSeasarRuntimeException() throws Exception { final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge")); assertThat(ex.getMessageCode(), is("ECL0001"));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/jar/JarFileUtilTest.java
import java.io.File; import java.net.URL; import junit.framework.TestCase; /** * @author koichik */ public class JarFileUtilTest extends TestCase { /** * @throws Exception */ public void testToJarFilePath() throws Exception { final File f = new File("/Program Files/foo.jar"); final URL url = new URL("jar:" + f.toURI().toURL() + "!/");Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/xml/DomUtilTest.java
/** * @throws Exception */ public void testGetContentsAsStream() throws Exception { final String contents = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><foo/>"; assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8")); } /** * @throws Exception */ public void testToString() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
@Override protected void tearDown() throws Exception { super.tearDown(); assertWithMessage("finishToValueAndCloserExecutor was shut down") .that(shutdownAndAwaitTermination(finishToValueAndCloserExecutor, 10, SECONDS)) .isTrue(); } public void testFinishToValueAndCloser_throwsIfCalledTwice() throws Exception { ClosingFuture<Closeable> closingFuture =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
} } @Nested @DisplayName("Encoding Tests") class EncodingTests { @Test @DisplayName("Should encode value correctly") void testEncode() throws NdrException { // Given: NdrShort with test value int testValue = 123; NdrShort ndrShort = new NdrShort(testValue); // When: Encoding the valueRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java
* @param type The type of toolchain to retrieve * @return List of matching toolchains, never null * @throws ToolchainManagerException if toolchain retrieval fails */ @Nonnull default List<Toolchain> getToolchains(@Nonnull Session session, @Nonnull String type) throws ToolchainManagerException { return getToolchains(session, type, null); } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
import junit.framework.TestCase; import org.junit.Test; /** * @author koichik */ public class ClassLoaderUtilTest { /** * @throws Exception */ @Test public void testGetClassLoader() throws Exception { assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader())));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3K bytes - Viewed (0)