- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,698 for tests (0.02 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
class WriteBytesWireFormatTests { @Test @DisplayName("Should return 0 for write bytes") void testWriteBytesWireFormat() { // Given byte[] dst = new byte[100]; int dstIndex = 0; // When int result = response.writeBytesWireFormat(dst, dstIndex); // Then assertEquals(0, result); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#computeIfPresent}. Can't be invoked directly; please * see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
* https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470 * https://github.com/google/guava/blob/4f12c5891a7adedbaa1d99fc9f77d8cc4e9da206/guava-tests/test/com/google/common/reflect/TypeResolverTest.java#L201 */ info.getName().contains("TypeResolverTest") /* * And at least one of the classes inside TypeTokenTest ends up with a null value inRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 03:07:54 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
import java.util.Map.Entry; import org.junit.Ignore; /** * A generic JUnit test which tests creation (typically through a constructor or static factory * method) of a map. Can't be invoked directly; please see {@link * com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Chris Povirk * @author Kevin Bourrillion */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
* <p> * Because most of the logic lives in {@link jcifs.internal.smb1.ServerMessageBlock} * the tests create a mock {@link Configuration} and instantiate SmbComQueryInformation * directly. Since the byte‑encoding logic is located in the superclass, the * tests verify that the byte buffer created by {@link * SmbComQueryInformation#writeBytesWireFormat(byte[], int)} is correctly builtRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@code retainAll} operations on a collection. Can't be invoked * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* wrappers of equal instances should be equal. */ @CanIgnoreReturnValue public ForwardingWrapperTester includingEquals() { this.testsEquals = true; return this; } /** * Tests that the forwarding wrapper returned by {@code wrapperFunction} properly forwards method * calls with parameters passed as is, return value returned as is, and exceptions propagated as * is. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java
import static com.google.common.collect.testing.Helpers.copyToList; import com.google.common.annotations.GwtIncompatible; import java.util.List; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a * ConcurrentNavigableMap implementation. * * @author Louis Wasserman */ @GwtIncompatible public class ConcurrentNavigableMapTestSuiteBuilder<K, V> extends NavigableMapTestSuiteBuilder<K, V> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileFilter.java
* This interface allows selective filtering of files * when listing directory contents in SMB shares. */ 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 whether the given file should be included * @throws SmbException if an error occurs while accessing the file */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFilenameFilter.java
* * This interface allows selective filtering of filenames * when listing directory contents in SMB shares. */ public interface SmbFilenameFilter { /** * Tests whether the specified filename should be included in a file list. * * @param dir the directory containing the file * @param name the name of the file * @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.4K bytes - Viewed (0)