- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 661 for executions (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/QueuesTest.java
package com.google.common.collect; import static com.google.common.truth.Truth.assertThat; import static java.lang.Long.MAX_VALUE; import static java.lang.Thread.currentThread; import static java.util.concurrent.Executors.newCachedThreadPool; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.NANOSECONDS; import static java.util.concurrent.TimeUnit.SECONDS;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
try { ByteStreams.exhaust(decodingStream); fail("Expected DecodingException"); } catch (DecodingException expected) { // Don't assert on the expectedMessage; the messages for exceptions thrown from the // decoding stream may differ from the messages for the decode methods. } catch (IOException e) { fail("Expected DecodingException but got: " + e); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
int size = request.size(); assertEquals(64, size); verify(request, times(1)).size(); } @Test @DisplayName("encode() should handle exceptions") void testEncodeWithException() { CreateContextRequest request = mock(CreateContextRequest.class); byte[] buffer = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.eventbus; import static java.util.concurrent.Executors.newFixedThreadPool; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.List;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.3K bytes - Viewed (0) -
tests/prepared_stmt_test.go
// https://github.com/golang/go/blob/e705a2d16e4ece77e08e80c168382cdb02890f5b/src/database/sql/sql.go#L2717 return err.Error() == "sql: statement is closed" } // TestPreparedStmtConcurrentClose test calling close and executing SQL concurrently // this test making sure that the gorm would not get a Segmentation Fault, and the only error cause by this is using a closed Stmt func TestPreparedStmtConcurrentClose(t *testing.T) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
// Test getExecuteType method public void test_getExecuteType() { assertEquals(Constants.EXECUTE_TYPE_PYTHON, pythonJob.getExecuteType()); } // Test execute method with successful execution public void test_execute_success() { pythonJob.filename("test.py"); pythonJob.args("arg1", "arg2"); testProcessHelper.exitValue = 0;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
import org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata; import org.apache.maven.artifact.resolver.filter.ArtifactFilter; import org.apache.maven.execution.MavenSession; import org.apache.maven.plugin.LegacySupport; import org.apache.maven.repository.legacy.metadata.DefaultMetadataResolutionRequest; import org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
handle.ensureDFSResolved(); // Assert & interaction verify verify(treeConnection).ensureDFSResolved(resourceLoc); } @Test @DisplayName("hasCapability delegates and propagates exceptions") void hasCapabilityDelegates() throws Exception { // Happy path delegates; invalid case propagates SmbException when(treeConnection.hasCapability(123)).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertEquals(10, result); verify(response, times(1)).decode(buffer, 0, 10); } @Test @DisplayName("decode() should handle exceptions") void testDecodeWithException() throws SMBProtocolDecodingException { CreateContextResponse response = mock(CreateContextResponse.class); byte[] buffer = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
QueryContext context = new QueryContext("*:*", false); MatchAllDocsQuery query = new MatchAllDocsQuery(); float boost = 1.5f; // Execute and ensure no exceptions are thrown QueryBuilder result = matchAllQueryCommand.execute(context, query, boost); assertNotNull(result); // Note: Actual log output verification would require a log appender mock
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.7K bytes - Viewed (0)