- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 2,867 for exception (1.23 sec)
-
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} public void testNoEqualsChecksOnEnum() throws Exception { tester.testEquals(OneConstantEnum.class); tester.testEquals(NoConstantEnum.class); tester.testEquals(TimeUnit.class); } public void testNoEqualsChecksOnInterface() throws Exception { tester.testEquals(Runnable.class); } public void testNoEqualsChecksOnAnnotation() throws Exception { tester.testEquals(MyAnnotation.class); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
assertEquals(1, securityExceptions.length, "getSecurity() should declare IOException"); assertEquals(IOException.class, securityExceptions[0], "Should declare IOException"); assertEquals(1, ownerExceptions.length, "getOwnerUser() should declare IOException"); assertEquals(IOException.class, ownerExceptions[0], "Should declare IOException"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
+ MavenProject.EMPTY_PROJECT_VERSION, project.getId()); } @Test void testClone() throws Exception { File f = getFileForClasspathResource("canonical-pom.xml"); MavenProject projectToClone = getProject(f); MavenProject clonedProject = projectToClone.clone();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 28 09:44:37 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
/** * @throws Exception */ public void testEncode() throws Exception { assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA)); System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' })); } /** * @throws Exception */ public void testDecode() throws Exception { final byte[] decodedData = Base64Util.decode(ENCODED_DATA);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ExecutionTimeoutException.java
*/ package org.codelibs.fess.crawler.exception; /** * An exception indicating that the execution of a process has timed out. * This exception extends {@link org.codelibs.fess.crawler.exception.ExtractException}. * */ public class ExecutionTimeoutException extends ExtractException { private static final long serialVersionUID = 1L; /** * Constructs a new exception with the specified detail message and cause.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
PACDecodingException exception = assertThrows(PACDecodingException.class, () -> { pacString.check(testString); }, "A PACDecodingException should be thrown for a non-empty string with a zero pointer."); // Verify the exception message assertEquals("Non-empty string", exception.getMessage(), "The exception message is not correct."); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java
new DefaultProjectBuildingResult("com.example:project2:1.0", new File("project2/pom.xml"), problems2); results.add(result2); ProjectBuildingException exception = new ProjectBuildingException(results); String message = exception.getMessage(); assertTrue( message.contains("3 problems were encountered while processing the POMs (2 errors)"),
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jul 26 19:15:57 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
@Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testToDate_Null() throws Exception { assertThat(toDate(null), is(nullValue())); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
*/ public class MimeTypeUtilTest { /** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /** * @throws Exception */ @Test public void testGetFromStream() throws Exception { final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/aaa.html";Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ModifierUtilTest.java
/** * @throws Exception */ public void testIsPublic() throws Exception { final Field f = Hoge.class.getDeclaredField("s"); assertTrue(ModifierUtil.isPublicStaticFinalField(f)); final Method m = Hoge.class.getDeclaredMethod("hoge", new Class[] {}); assertTrue(ModifierUtil.isPublic(m)); } /** * @throws Exception */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0)