- Sort Score
- Num 10 results
- Language All
Results 1301 - 1310 of 3,282 for throwIt (0.06 seconds)
-
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
@Override protected void setUp() throws Exception { super.setUp(); future = SettableFuture.create(); tester = new ListenableFutureTester(future); tester.setUp(); } public void testDefaultState() throws Exception { assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS)); } public void testSetValue() throws Exception { assertTrue(future.set("value"));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 17:49:12 GMT 2025 - 7.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
@Test void testDfs() throws SmbException { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertFalse(tree.isDfs()); assertFalse(tree.isInDomainDfs()); tree.markDomainDfs(); assertTrue(tree.isInDomainDfs()); } // Test case for treeConnect method with SMB1 @Test void testTreeConnectSmb1() throws CIFSException, IOException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java
} @Test void testGuice() throws Exception { List<Binding<ModelParser>> parsers = container.lookup(Injector.class).findBindingsByType(TypeLiteral.get(ModelParser.class)); assertNotNull(parsers); assertEquals(1, parsers.size()); } @Test void testDI() throws Exception { DiInjected diInjected = new DiInjected();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 10 23:18:32 GMT 2025 - 12.4K bytes - Click Count (0) -
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 {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 8.3K bytes - Click Count (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 =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 18 15:41:04 GMT 2025 - 5.2K bytes - Click Count (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}Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 5.1K bytes - Click Count (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 {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (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 }Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Sat May 10 01:44:04 GMT 2025 - 3.4K bytes - Click Count (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 */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.3K bytes - Click Count (0)