- Sort Score
- Result 10 results
- Languages All
Results 1631 - 1640 of 3,054 for throws (0.04 sec)
-
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
*/ public static void assertBasic(Escaper escaper) throws IOException { // Escapers operate on characters: no characters, no escaping. Assert.assertEquals("", escaper.escape("")); // Assert that escapers throw null pointer exceptions. try { escaper.escape((String) null); Assert.fail("exception not thrown when escaping a null string"); } catch (NullPointerException e) { // pass
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
*/ public static void assertBasic(Escaper escaper) throws IOException { // Escapers operate on characters: no characters, no escaping. Assert.assertEquals("", escaper.escape("")); // Assert that escapers throw null pointer exceptions. try { escaper.escape((String) null); Assert.fail("exception not thrown when escaping a null string"); } catch (NullPointerException e) { // pass
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java
* * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; if (len < 24) { throw new SMBProtocolDecodingException("Invalid resume key"); } this.resumeKey = new byte[24];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class SuppressErrorReportValveTest extends UnitFessTestCase { private SuppressErrorReportValve valve; @Override public void setUp() throws Exception { super.setUp(); valve = new SuppressErrorReportValve(); } public void test_constructor() { assertNotNull(valve); } public void test_showReportDisabled() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSeek.java
* {@inheritDoc} * * @see jcifs.internal.smb1.ServerMessageBlock#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException { return 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java
public class HtmlExtractorTest extends PlainTestCase { private static final Logger logger = LogManager.getLogger(HtmlExtractorTest.class); public HtmlExtractor htmlExtractor; @Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("htmlExtractor", HtmlExtractor.class); htmlExtractor = container.getComponent("htmlExtractor");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
*/ @GwtIncompatible @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); Serialization.writeMap(this, stream); } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
} // ToStringHelper's tests are in ToStringHelperTest @J2ktIncompatible @GwtIncompatible("NullPointerTester") public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class)); tester.testAllPublicStaticMethods(MoreObjects.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestTest.java
import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Test; public class SuggestRequestTest { @Test public void test_isHiraganaQuery() throws Exception { SuggestRequest request = new SuggestRequest(); assertTrue(request.isHiraganaQuery("あ")); assertTrue(request.isHiraganaQuery("あおぞら")); assertTrue(request.isHiraganaQuery("けんさく"));
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/RandomAmountInputStream.java
public RandomAmountInputStream(InputStream in, Random random) { super(checkNotNull(in)); this.random = checkNotNull(random); } @Override public int read(byte[] b, int off, int len) throws IOException { return super.read(b, off, random.nextInt(len) + 1); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (0)