- Sort Score
- Result 10 results
- Languages All
Results 1241 - 1250 of 3,662 for Void (0.02 sec)
-
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
@SuppressWarnings("unused") // accessed reflectively public void testPublic() {} @SuppressWarnings("unused") // accessed reflectively void testNotPublic() {} } // Shouldn't be mistaken as Foo's test static class Foo2Test { @SuppressWarnings("unused") // accessed reflectively public void testPublic() {} } private List<Class<?>> findClassesToTest(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
@SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method public void testFromFluentFuture() { FluentFuture<String> f = FluentFuture.from(SettableFuture.<String>create()); assertThat(FluentFuture.from(f)).isSameInstanceAs(f); } public void testFromFluentFuturePassingAsNonFluent() { ListenableFuture<String> f = FluentFuture.from(SettableFuture.<String>create());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
@Test @DisplayName("Should handle empty byte array") void testToHexStringEmpty() { // Given byte[] data = {}; // When String result = Hexdump.toHexString(data); // Then assertNotNull(result); assertEquals("", result); } @Test @DisplayName("Should handle null byte array") void testToHexStringNull() { // When/Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
public void test_constructorWithMessage() { // Test constructor with message only String message = "Test scheduled job error"; ScheduledJobException exception = new ScheduledJobException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_constructorWithMessageAndCause() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
@CollectionSize.Require(absent = ZERO) public void testAddAllAtIndex_supportedAllPresent() { assertTrue( "addAll(n, allPresent) should return true", getList().addAll(0, MinimalCollection.of(e0()))); expectAdded(0, e0()); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) public void testAddAllAtIndex_unsupportedAllPresent() { assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
} @Test void testGetVersionReturnsResolvedVersionOnSnapshot() { assertEquals(snapshotResolvedVersion, snapshotArtifact.getVersion()); // this is FOUL! // snapshotArtifact.isSnapshot(); assertEquals(snapshotSpecVersion, snapshotArtifact.getBaseVersion()); } @Test void testGetDependencyConflictId() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
import jcifs.pac.PacSignature; class KerberosPacAuthDataTest { private Map<Integer, KerberosKey> keys; @BeforeEach void setUp() { keys = new HashMap<>(); } // Test successful PAC creation with mocked Pac construction @Test void testConstructorSuccess() throws PACDecodingException { // Setup key byte[] keyBytes = new byte[32];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
} @Test void testGetException() { DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null); assertNull(problem.getException()); Exception e = new Exception(); problem = new DefaultProblem(null, null, null, -1, -1, e); assertSame(e, problem.getException()); } @Test void testGetSource() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java
* @param params The map of parameters. */ @Override public void setInitParameterMap(final Map<String, Object> params) { this.params.putAll(params); } /** * Initializes the parameter map of the wrapped factory with the parameters stored in this wrapper. */ public void initParameterMap() { factory.setInitParameterMap(params); } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
} @Test @DisplayName("Should handle null message") void testNullMessage() { // When/Then assertDoesNotThrow(() -> { CIFSException exception = new CIFSException((String) null); assertNotNull(exception); }); } @Test @DisplayName("Should handle null cause") void testNullCause() { // When/Then assertDoesNotThrow(() -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0)