- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,352 for helper (0.07 sec)
-
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
when(ctx.getCredentials()).thenReturn(credentials); when(credentials.getUserDomain()).thenReturn("DOMAIN"); // Mock DFS resolver when(ctx.getDfs()).thenReturn(dfsResolver); } // Helper to set private field 'tree' private static void setTree(SmbTreeConnection c, SmbTreeImpl tree) { try { Field f = SmbTreeConnection.class.getDeclaredField("tree"); f.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Tests for {@link DosError}. Since {@link DosError} only contains * constants, the tests exercise the data and small helper logic in this * test class. */ public class DosErrorTest { private static Optional<Integer> findNtStatus(int dosErrorCode) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
@Override public boolean accept(SmbFile file) throws SmbException { // Never inspect the file – simply accept. return true; } }; /** * Helper filter that records the last file passed to it. Useful for * verifying interaction. */ private class RecordingFilter implements SmbFileFilter { private SmbFile lastFile; private String lastPath;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
api/maven-api-model/pom.xml
</goals> <phase>generate-sources</phase> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <goals> <goal>attach-artifact</goal> </goals> <configuration> <artifacts>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Aug 07 14:31:13 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
@Mock ResourceFilter filter; // Helper to create a parent SmbFile that does not hit the network for simple operations private SmbFile newParent() throws MalformedURLException { // Valid share URL with trailing slash; constructing does not perform I/O return new SmbFile("smb://test-server/share/"); } // Helper to create a minimal FileEntry mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableScheduledFuture.java
*/ package com.google.common.util.concurrent; import com.google.common.annotations.GwtCompatible; import java.util.concurrent.ScheduledFuture; import org.jspecify.annotations.Nullable; /** * Helper interface to implement both {@link ListenableFuture} and {@link ScheduledFuture}. * * @author Anthony Zana * @since 15.0 */ @GwtCompatible public interface ListenableScheduledFuture<V extends @Nullable Object>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java
*/ package com.google.common.collect.testing.google; import static junit.framework.Assert.fail; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.Multimap; /** * Helper methods/assertions for use with {@code com.google.common.collect} types. * * @author Colin Decker */ @GwtCompatible final class GoogleHelpers { private GoogleHelpers() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 1.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java
*/ package com.google.common.collect.testing; import static com.google.common.collect.testing.Helpers.mapEntry; import com.google.common.annotations.GwtCompatible; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.jspecify.annotations.NullMarked; /** * Implementation helper for {@link TestMapGenerator} for use with maps of strings. * * @author Chris Povirk * @author Jared Levy
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
* use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an * array of the erased type. */ T create(Object... elements); /** * Helper method to create an array of the appropriate type used by this generator. The returned * array will contain only nulls. */ E[] createArray(int length); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java
private int id; // Constructor ArtifactScopeEnum(int id) { this.id = id; } int getId() { return id; } /** * Helper method to simplify null processing * * @param scope a scope or {@code null} * @return the provided scope or DEFAULT_SCOPE */ public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0)