- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 59 for parameterize (0.28 sec)
-
src/test/java/jcifs/spnego/NegTokenInitTest.java
private static final String SPNEGO_OID_STR = SpnegoConstants.SPNEGO_MECHANISM; // Helper to build a SPNEGO NegTokenInit as per NegTokenInit#toByteArray but parameterized for tests private static byte[] buildInitToken(ASN1ObjectIdentifier[] mechs, Integer flags, byte[] mechToken, byte[] mic, boolean micInTag4,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
void testConstructorWithWinerr() { SmbException ex = new SmbException(123, true); assertEquals("123", ex.getMessage()); assertEquals(123, ex.getNtStatus()); } /** * Parameterised test covering many error codes. * - Error code 0 returns 0 (NT_STATUS_SUCCESS) * - Negative values with 0xC0000000 bits set are returned as-is * - Positive values not in DOS_ERROR_CODES map to NT_STATUS_UNSUCCESSFUL
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
buf.reset(); NdrHyper decoded = new NdrHyper(0); decoded.decode(buf); assertEquals(original, decoded.value, "Decoded value should match encoded value"); } /** * Parameterised test for a selection of edge and typical values. */ @ParameterizedTest(name = "Encode and decode {0}") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K 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 beanDesc
Registered: Fri Sep 05 20:58:11 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java
*/ default Optional<Path> targetPath() { return Optional.empty(); } /** * {@return whether resources are filtered to replace tokens with parameterized values}. * The default value is {@code false}. */ default boolean stringFiltering() { return false; } /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 6.5K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0)