- Sort Score
- Result 10 results
- Languages All
Results 1341 - 1350 of 4,254 for avoid (0.02 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
public class MultisetAddTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddUnsupported() { assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0())); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddMeansAddOne() { int originalCount = getMultiset().count(e0()); assertTrue(getMultiset().add(e0()));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
hasher.assertBytes(expected); } public void testShort() { TestHasher hasher = new TestHasher(); hasher.putShort((short) 0x0201); hasher.assertBytes(new byte[] {1, 2}); } public void testInt() { TestHasher hasher = new TestHasher(); hasher.putInt(0x04030201); hasher.assertBytes(new byte[] {1, 2, 3, 4}); } public void testLong() { TestHasher hasher = new TestHasher();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
private SecureCredentialStorage storage; private char[] masterPassword; @BeforeEach public void setUp() throws Exception { masterPassword = "MasterPassword123!@#".toCharArray(); storage = new SecureCredentialStorage(masterPassword.clone()); } @AfterEach public void tearDown() throws Exception { if (storage != null && !storage.isDestroyed()) { try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
@BeforeEach void setUp() { response = new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should initialize with SMB_QUERY_FILE_BASIC_INFO level") void testConstructorWithBasicInfo() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
private TransTransactNamedPipeResponse response; private byte[] outputBuffer; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); outputBuffer = new byte[1024]; response = new TransTransactNamedPipeResponse(mockConfig, outputBuffer); } @Test void testConstructor() { // Verify that the response is created with correct configuration and bufferRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
@Override public void setUp() throws Exception { super.setUp(); nullKeyEntry = entry(null, v3()); nullValueEntry = entry(k3(), null); nullKeyValueEntry = entry(null, null); presentKeyNullValueEntry = entry(k0(), null); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPut_supportedPresent() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
public void testCreateEmptyRangeFails() { for (BoundType lboundType : BoundType.values()) { for (BoundType uboundType : BoundType.values()) { assertThrows( IllegalArgumentException.class, () -> GeneralRange.range(ORDERING, 4, lboundType, 2, uboundType)); } } } public void testCreateEmptyRangeOpenOpenFails() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
@Mock private SmbTree tree; @BeforeEach void resetMocks() { Mockito.reset(session, transport, tree); } // Happy path: isInUse returns the mocked state @ParameterizedTest @DisplayName("isInUse reflects current mocked state") @ValueSource(booleans = { true, false }) void isInUse_variants(boolean inUse) { when(session.isInUse()).thenReturn(inUse);Registered: 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/org/codelibs/core/lang/FieldUtilTest.java
*/ @Test public void testGet() throws Exception { final Field field = getClass().getField("objectField"); final Integer testData = Integer.valueOf(123); FieldUtil.set(field, this, testData); assertThat((Integer) FieldUtil.get(field, this), is(testData)); } /** * @throws Exception */ @Test public void testGetIntField() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java
assertThat(immutableGraph).isNotEqualTo(mutableGraph); } @Test public void copyOfImmutableGraph_optimized() { Graph<String> graph1 = ImmutableGraph.copyOf(GraphBuilder.directed().<String>build()); Graph<String> graph2 = ImmutableGraph.copyOf(graph1); assertThat(graph2).isSameInstanceAs(graph1); } @Test public void immutableGraphBuilder_appliesGraphBuilderConfig() { ImmutableGraph<String> emptyGraph =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.5K bytes - Viewed (0)