- Sort Score
- Num 10 results
- Language All
Results 2971 - 2980 of 3,670 for throwIf (0.07 seconds)
-
build-tools-internal/src/main/groovy/elasticsearch.run.gradle
setting 'xpack.graph.enabled', 'true' setting 'xpack.watcher.enabled', 'true' setting 'xpack.license.self_generated.type', 'trial' } else if (licenseType != 'basic') { throw new IllegalArgumentException("Unsupported self-generated license type: [" + licenseType + "[basic] or [trial].") } setting 'xpack.security.enabled', 'true' keystore 'bootstrap.password', 'password'
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 23 07:45:59 GMT 2021 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
} @Test public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "LDAP authentication failed"; try { throw new LdapOperationException(expectedMessage); } catch (LdapOperationException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java
@Override protected String prepareConfigFile() { return "test_app.xml"; } @Override protected void tearDown(TestInfo testInfo) throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(testInfo); } @Override protected boolean isAssertionEqualsNumberInsensitive() { return true; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoConstantsTest.java
assertEquals(0, c.getDeclaredConstructors().length, "Interfaces have no constructors"); } @Test @DisplayName("Fields are public static final Strings with expected values") void fieldModifiersAndTypes() throws Exception { Map<String, String> expected = Map.of("SPNEGO_MECHANISM", "1.3.6.1.5.5.2", "KERBEROS_MECHANISM", "1.2.840.113554.1.2.2",
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
private val server = TestStreams(taskFaker, sockets[1], client = false) @BeforeEach fun setUp() { client.initWebSocket(random) server.initWebSocket(random) } @AfterEach @Throws(Exception::class) fun tearDown() { client.listener.assertExhausted() server.listener.assertExhausted() server.source.close() client.source.close() taskFaker.runTasks()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 18.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertFalse(exception.isFileSystemError()); assertTrue(exception.isTransientError()); } @Test @DisplayName("Should track elapsed time") void testElapsedTime() throws InterruptedException { // Given exception = new SmbOperationException(SmbOperationException.ErrorCode.BUSY, "Server busy"); // When Thread.sleep(100); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
bufferIndex += 2; return bufferIndex - start; } @Override protected int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { FileBothDirectoryInfo e; int lastNameBufferIndex = bufferIndex + this.lastNameOffset;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java
*/ package org.apache.maven.model.building; import org.apache.maven.model.Model; /** * Describes a problem that was encountered during model building. A problem can either be an exception that was thrown * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits * the problem. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
* {@code <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the * exception is thrown so this information is merely meant to assist the user. * * @return The identifier of the POM or an empty string if not known, never {@code null}. */ public String getModelId() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java
import org.junit.jupiter.api.TestInfo; public class DictionaryItemTest extends UnitFessTestCase { private TestDictionaryItem dictionaryItem; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); dictionaryItem = new TestDictionaryItem(); } @Test public void test_getId_defaultValue() { // Test that default ID value is 0Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.3K bytes - Click Count (0)