- Sort Score
- Result 10 results
- Languages All
Results 1571 - 1580 of 8,559 for class1 (0.1 sec)
-
src/test/java/jcifs/smb/SmbSessionInternalTest.java
import jcifs.SmbTree; /** * Tests for SmbSessionInternal interface using Mockito to exercise * method contracts, checked exceptions, and interactions with collaborators. */ @ExtendWith(MockitoExtension.class) public class SmbSessionInternalTest { @Mock private SmbSessionInternal session; @Mock private SmbTransport transport; @Mock private SmbTree tree; @BeforeEachRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
assertThrows(CIFSException.class, () -> { compressionService.compress(testData, CompressionService.COMPRESSION_LZNT1); }); } @Test @DisplayName("Test unsupported algorithm decompression") public void testUnsupportedAlgorithmDecompression() { assertThrows(CIFSException.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
assertThat(e).hasCauseThat().isInstanceOf(InterruptedException.class); } public void testAwait_countDownLatch_interrupted() { Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); try { CountDownLatch latch = new CountDownLatch(1); RuntimeException expected = assertThrows(RuntimeException.class, () -> GcFinalization.await(latch));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 7.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
assertThrows(NullPointerException.class, () -> putAll(containsNullValue)); expectUnchanged(); expectNullValueMissingWhenNullValuesUnsupported( "Should not contain null value after unsupported putAll(containsNullValue)"); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAll_nullCollectionReference() { assertThrows(NullPointerException.class, () -> getMap().putAll(null)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
} }; TimeoutException e = assertThrows( TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS)); assertThat(e) .hasMessageThat() .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state."); } private static class TestService extends AbstractIdleService { int startUpCalled = 0; int shutDownCalled = 0;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
/** * Create a key using the given class as an identifier and as the type of the object. */ static <T> Key<T> key(Class<T> clazz) { return new Key<>(clazz, clazz); } /** * Create a key using the given class and id. */ static <T> Key<T> key(Class<T> clazz, Object id) { return new Key<>(clazz, id); } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractorTest.java
import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.dbflute.utflute.core.PlainTestCase; /** * Test class for MarkdownExtractor. */ public class MarkdownExtractorTest extends PlainTestCase { private static final Logger logger = LogManager.getLogger(MarkdownExtractorTest.class); public MarkdownExtractor markdownExtractor; @Override protected void setUp() throws Exception {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultiset.java
import java.util.Collection; import java.util.Iterator; import java.util.Set; import org.jspecify.annotations.Nullable; /** * This class provides a skeletal implementation of the {@link Multiset} interface. A new multiset * implementation can be created easily by extending this class and implementing the {@link * Multiset#entrySet()} method, plus optionally overriding {@link #add(Object, int)} and {@linkRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 2, "...")); assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 8, "1234567890")); assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, "...")); assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, "")); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
testers.add(MultisetEqualsTester.class); testers.add(MultisetReadsTester.class); testers.add(MultisetSetCountConditionallyTester.class); testers.add(MultisetSetCountUnconditionallyTester.class); testers.add(MultisetRemoveTester.class); testers.add(MultisetEntrySetTester.class); testers.add(MultisetIteratorTester.class); testers.add(MultisetSerializationTester.class); return testers; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.5K bytes - Viewed (0)