- Sort Score
- Result 10 results
- Languages All
Results 841 - 850 of 1,595 for Tests (0.01 sec)
-
src/test/java/jcifs/http/NtlmServletTest.java
import jcifs.Address; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.NameServiceClient; import jcifs.smb.NtlmPasswordAuthentication; /** * Tests for the NtlmServlet class. * This class uses Mockito to simulate a servlet environment and test authentication logic. */ @ExtendWith(MockitoExtension.class) class NtlmServletTest {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt
package okhttp3 import kotlinx.serialization.Serializable import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json /** * A test from the [Web Platform To ASCII](https://github.com/web-platform-tests/wpt/blob/master/url/resources/toascii.json). * * Each test is a line of the file `toascii.json`. */ @Serializable class WebPlatformToAsciiData { var input: String? = null var output: String? = null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java
import com.google.common.base.Function; import com.google.common.base.Functions; import java.util.HashMap; import java.util.Map; import org.jspecify.annotations.NullMarked; /** * Tests for {@link Maps#transformValues(Map, Function)}. * * @author Isaac Shum */ @GwtCompatible @NullMarked public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest { @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/StringCatcher.java
import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * A simple EventSubscriber mock that records Strings. * * <p>For testing fun, also includes a landmine method that EventBus tests are required not * to call ({@link #methodWithoutAnnotation(String)}). * * @author Cliff Biffle */ @NullUnmarked public class StringCatcher { private final List<String> events = new ArrayList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsSortedTransformValuesTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function; import com.google.common.base.Functions; import java.util.SortedMap; import org.jspecify.annotations.NullMarked; /** * Tests for {@link Maps#transformValues(SortedMap, Function)}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class MapsSortedTransformValuesTest extends AbstractMapsTransformValuesTest { @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileFilter.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; /** * Filter interface for SMB file listings */ public interface SmbFileFilter { /** * Tests whether the specified SMB file should be included in a file list. * * @param file the SMB file to test for inclusion * @return true if the file should be included, false otherwiseRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/ResourceNameFilter.java
*/ package jcifs; /** * Filter based on a resource name * * @author mbechler * */ public interface ResourceNameFilter { /** * Tests whether the specified resource name should be included. * * @param parent the parent SMB resource * @param name the resource name to test * @return whether the given filename should be includedRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for the SmbFile class. * This class focuses on testing the logic of SmbFile without actual network communication, * using mocks where necessary. */ @ExtendWith(MockitoExtension.class) public class SmbFileTest {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /** * Unit tests for TransTransactNamedPipe class */ @DisplayName("TransTransactNamedPipe Tests") class TransTransactNamedPipeTest { @Mock private Configuration mockConfig; private static final int TEST_FID = 0x1234;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt
) hasClass<IOException>() } } } companion object { @AfterClass @JvmStatic fun resetContext() { // Ensure we don't make other tests fail Platform.resetForTests() } }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 16:25:39 UTC 2025 - 2.1K bytes - Viewed (0)