- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 3,380 for throws (0.75 sec)
-
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
/** * @throws Exception */ @Test public void testGetFirstEntry() throws Exception { assertThat(list.getFirstEntry(), is(nullValue())); list.addFirst("1"); assertThat(list.getFirstEntry().getElement(), is("1")); } /** * @throws Exception */ @Test public void testGetFirst() throws Exception { try {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java
ImmutableMap.of( '\n', "<newline>", '\t', "<tab>", '&', "<and>"); private static final char[] NO_CHARS = new char[0]; public void testReplacements() throws IOException { // In reality this is not a very sensible escaper to have (if you are only // escaping elements from a map you would use a ArrayBasedCharEscaper). UnicodeEscaper escaper =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 15:41:04 UTC 2025 - 5.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java
* @throws SettingsBuilderException if the effective settings could not be built */ @Nonnull SettingsBuilderResult build(@Nonnull SettingsBuilderRequest request); /** * Builds the effective settings of the specified settings sources. * * @return the result of the settings building, never {@code null}Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
@Test public void testGetPath() throws MalformedURLException { // Path should be the original, uncanonicalized URL String url = "smb1://server/share/../share/file.txt"; SmbFile smbFile = new SmbFile(url); assertEquals(url, smbFile.getPath()); } @Test public void testGetCanonicalPath() throws MalformedURLException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
return false; } @Override public void connect() throws IOException { // Do Nothing } @Override public int getResponseCode() throws IOException { return 200; } @Override public InputStream getInputStream() throws IOException { return new ByteArrayInputStream(new byte[100]); // dummy payload }Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosCredentials.java
* * @throws LoginException if authentication fails */ public KerberosCredentials() throws LoginException { this(System.getProperty("jaaslounge.sso.jaas.config")); } /** * Creates KerberosCredentials using the specified JAAS login context. * * @param loginContextName the name of the JAAS login context * @throws LoginException if authentication fails */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/AppendableWriterTest.java
} public void testAppendMethods() throws IOException { StringBuilder builder = new StringBuilder(); Writer writer = new AppendableWriter(builder); writer.append("Hello,"); writer.append(' '); writer.append("The World Wide Web", 4, 9); writer.append("!"); assertEquals("Hello, World!", builder.toString()); } public void testCloseFlush() throws IOException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.3K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java
* @return an integer representing the exit code of the invocation (0 typically indicates success) * @throws InvokerException if an error occurs during the invocation process. */ int invoke(@Nonnull InvokerRequest invokerRequest) throws InvokerException; /** * Closes and disposes of this {@link Invoker} instance, releasing any resources it may hold.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 31 20:56:58 UTC 2025 - 2.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java
@Override public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException { beforeExecution.incrementAndGet(); } @Override public void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException { afterExecutionSuccess.incrementAndGet(); } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
// Act & Assert SmbException thrown = assertThrows(SmbException.class, () -> { new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid); }); assertEquals(errorCode, thrown.getNtStatus()); } @Test void close_shouldCloseAliasSuccessfully() throws IOException { // Arrange int access = 1; int rid = 100;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0)