- Sort Score
- Num 10 results
- Language All
Results 1381 - 1390 of 5,228 for avoid (0.16 seconds)
-
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
@BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); // Use real configuration for most tests mockConfig = new BaseConfiguration(false); response = new NetServerEnum2Response(mockConfig); } @Test @DisplayName("Test constructor with configuration") void testConstructor() { assertNotNull(response);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
class EncodeTests { private byte[] buffer; private int startIndex; @BeforeEach void setUp() { buffer = new byte[100]; startIndex = 10; } @Test @DisplayName("Should encode basic values correctly") void testEncodeBasicValues() { // Given long sourceOffset = 1024L; long targetOffset = 2048L;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
public void testVisitNull() { new BaseTypeVisitor() .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType()); } public void testVisitClass() { assertVisited(String.class); new BaseTypeVisitor() { @Override void visitClass(Class<?> t) {} }.visit(String.class); } public <T> void testVisitTypeVariable() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/cbean/bs/BsRoleCB.java
} return _specification; } protected void assertQueryPurpose() { } protected void assertAggregationPurpose() { } protected void assertSpecifyPurpose() { } public static class HpSpecification { protected List<String> columnList = new ArrayList<>(); public void doColumn(String name) { columnList.add(name); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 6.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image final ProgressListener progressListener = new ProgressListener() { boolean firstUpdate = true; @Override public void update(long bytesWritten, long contentLength, boolean done) { if (done) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 4.2K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
} @CollectionSize.Require(ZERO) public void testIsEmptyYes() { assertTrue(multimap().isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmptyNo() { assertFalse(multimap().isEmpty()); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testSizeNullKey() { initMultimapWithNullKey();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java
public void testCount_0() { assertEquals("multiset.count(missing) didn't return 0", 0, getMultiset().count(e3())); } @CollectionSize.Require(absent = ZERO) public void testCount_1() { assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0())); } @CollectionSize.Require(SEVERAL) public void testCount_3() { initThreeCopies();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresent() { assertEquals(v0(), getMap().replace(k0(), v3())); expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresentNoChange() { assertEquals(v0(), getMap().replace(k0(), v0()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/BufferCacheTest.java
private BufferCache mockBufferCache; private TestBufferCacheImpl testCache; @BeforeEach void setUp() { testCache = new TestBufferCacheImpl(5, 1024); // 5 buffers of 1KB each } @Test @DisplayName("BufferCache interface should define correct method signatures") void testInterfaceContract() { // Given BufferCache cache = mockBufferCache;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
@After public void validateUndirectedEdges() { for (Integer node : graph.nodes()) { new EqualsTester() .addEqualityGroup( graph.predecessors(node), graph.successors(node), graph.adjacentNodes(node)) .testEquals(); } } @Override @Test public void nodes_checkReturnedSetMutability() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 13.2K bytes - Click Count (0)