- Sort Score
- Result 10 results
- Languages All
Results 1501 - 1510 of 4,221 for Avoid (0.02 sec)
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
"16777215, 16777215" }) void testWriteReadInt2RoundTrip(long input, int expected) { byte[] buffer = new byte[4]; SMBUtil.writeInt2(input, buffer, 0); int result = SMBUtil.readInt2(buffer, 0); assertEquals(expected & 0xFFFF, result); } @ParameterizedTest @ValueSource(longs = { 0L, 1L, 0xFFFFFFFFL, 0x12345678L, 0x80000000L }) void testWriteReadInt4RoundTrip(long input) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java
*/ public class SIllegalStateExceptionTest { /** * Test method for * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException()} * . */ @Test public void testSIllegalStateException() { final ClIllegalStateException clIllegalStateException = new ClIllegalStateException(); assertThat(clIllegalStateException, is(notNullValue())); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java
public class MultisetEqualsTester<E> extends AbstractMultisetTester<E> { public void testEqualsSameContents() { new EqualsTester() .addEqualityGroup( getMultiset(), getSubjectGenerator().create(getSampleElements().toArray())) .testEquals(); } @CollectionSize.Require(absent = ZERO) public void testNotEqualsEmpty() { new EqualsTester() .addEqualityGroup(getMultiset())
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
*/ @Test public void testLoadPropertiesUrl() { final Properties properties = new Properties(); PropertiesUtil.load(properties, url); assertThat(properties.getProperty("a"), is("A")); } /** * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, URL)} */ @Test public void testLoadPropertiesUrlThrowIOException() {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
} public void testSubSet_outOfOrder() { ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); assertThrows(IllegalArgumentException.class, () -> set.subSet(3, 2)); } public void testSubSet_tooLarge() { assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).subSet(4, 6)).isEmpty(); } public void testSubSet_tooSmall() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
*/ @DisplayName("Smb3KeyDerivation Tests") class Smb3KeyDerivationTest { private byte[] sessionKey; private byte[] preauthIntegrity; @BeforeEach void setUp() { // Initialize test keys sessionKey = new byte[16]; // 128-bit session key preauthIntegrity = new byte[64]; // Preauth integrity hash new SecureRandom().nextBytes(sessionKey);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
} public void testInsertionOrder() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); assertThat(map.entrySet()) .containsExactly( immutableEntry("foo", 1), immutableEntry("bar", 2), immutableEntry("quux", 3)) .inOrder(); } public void testInsertionOrderAfterRemoveFirst() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Service.java
@SuppressWarnings("GoodTime") // should accept a java.time.Duration void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException; /** * Waits for the {@link Service} to reach the {@linkplain State#TERMINATED terminated state}. * * @throws IllegalStateException if the service {@linkplain State#FAILED fails}. * @since 15.0 */ void awaitTerminated(); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
@Mock private Configuration mockConfig; /** * Test for getConfig() method. * Verifies that the method returns the expected Configuration object. */ @Test void testGetConfig() { when(smbTreeHandle.getConfig()).thenReturn(mockConfig); Configuration config = smbTreeHandle.getConfig(); assertNotNull(config, "Configuration should not be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} public void testContainsAll_sameElements() { assertTrue( "containsAll(sameElements) should return true", collection.containsAll(MinimalCollection.of(createSamplesArray()))); } @SuppressWarnings("ModifyingCollectionWithItself") public void testContainsAll_self() { assertTrue("containsAll(this) should return true", collection.containsAll(collection)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0)