- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 73 for parameterized (0.33 sec)
-
src/test/java/jcifs/smb/DosFileFilterTest.java
new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE); new DosFileFilter("?", SmbFile.ATTR_DIRECTORY); new DosFileFilter("file.txt", SmbFile.ATTR_READONLY | SmbFile.ATTR_HIDDEN); } /** * Parameterized test for the {@link DosFileFilter#accept(SmbFile)} method. * This test covers various combinations of file attributes and filter attributes * to ensure the bitwise logic is correctly implemented. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
assertEquals(3, third.length, "Allocated buffer length matches configured maximum size"); } // Parameterized: exercise small variations of cache size for a simple reuse cycle @ParameterizedTest @ValueSource(ints = { 1, 2 }) @DisplayName("Parameterized: buffer reuse works for various small cache sizes") void reuseWorksForVariousCacheSizes(int cacheSize) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeCapture.java
abstract class TypeCapture<T> { /** Returns the captured type. */ final Type capture() { Type superclass = getClass().getGenericSuperclass(); checkArgument(superclass instanceof ParameterizedType, "%s isn't parameterized", superclass); return ((ParameterizedType) superclass).getActualTypeArguments()[0]; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.1K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
return subtypeOf(newArrayType(upperBounds[0])); } } return JavaVersion.CURRENT.newArrayType(componentType); } /** * Returns a type where {@code rawType} is parameterized by {@code arguments} and is owned by * {@code ownerType}. */ static ParameterizedType newParameterizedTypeWithOwner( @Nullable Type ownerType, Class<?> rawType, Type... arguments) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/FieldDescImpl.java
protected final Field field; /** The field name */ protected final String fieldName; /** The type of the field */ protected final Class<?> fieldType; /** Information about the parameterized type */ protected final ParameterizedClassDesc parameterizedClassDesc; /** * Constructs an instance. * * @param beanDescRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
} @Test @DisplayName("Test default constructor") void testDefaultConstructor() { assertNotNull(fileRenameInfo); } @Test @DisplayName("Test parameterized constructor") void testParameterizedConstructor() { String fileName = "test.txt"; boolean replaceIfExists = true;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
assertTrue(result.isEmpty(), "List should be cleared"); } // Parameterized test to exercise SMB2 with different recursive and filter values @ParameterizedTest(name = "SMB2 param: recursive={0}, filter={1}") @CsvSource({ "true, 0", "false, -1" }) @DisplayName("watch() SMB2 parameterized branches execute without error") void watch_smb2_parameterized(boolean recursive, int filter) 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/smb/SSPContextTest.java
assertFalse(empty.isSupported(null)); assertEquals("", empty.getNetbiosName(), "supports empty NetBIOS name"); } } @Nested @DisplayName("Parameterized initSecContext slices") class ParameterizedInit { static Stream<Arguments> validRanges() { byte[] src = new byte[] { 0, 1, 2, 3 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Assertions.assertEquals(1_650_000_000_000L, info.getLastAccessTime(), "last access should match"); Assertions.assertEquals(42L, info.getSize(), "size should match"); } // --- Parameterized: edge and boundary values across getters --- @ParameterizedTest(name = "attributes={0}, c={1}, w={2}, a={3}, size={4}") @MethodSource("valueProvider")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
* * @author Louis Wasserman */ @GwtIncompatible // unnecessary class ImmutableMapEntry<K, V> extends SimpleImmutableEntry<K, V> { /** * Creates an {@code ImmutableMapEntry} array to hold parameterized entries. The result must never * be upcast back to ImmutableMapEntry[] (or Object[], etc.), or allowed to escape the class. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0)