- Sort Score
- Result 10 results
- Languages All
Results 1071 - 1080 of 1,670 for testMin (0.04 sec)
-
guava-tests/test/com/google/common/io/TestByteSource.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * A byte source for testing that has configurable behavior. * * @author Colin Decker */ @NullUnmarked public final class TestByteSource extends ByteSource implements TestStreamSupplier { private final byte[] bytes;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/MessageTest.java
import org.junit.jupiter.api.Test; class MessageTest { private Message message; @BeforeEach void setUp() { // Create an anonymous implementation of the Message interface for testing message = new Message() { private boolean retainPayload = false; private byte[] rawPayload; @Override public void retainPayload() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.features; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Set; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/StringCatcher.java
import java.util.List; import junit.framework.Assert; 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 {
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-testlib/src/com/google/common/collect/testing/TestIteratorGenerator.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import java.util.Iterator; /** * Creates iterators to be tested. * * @param <E> the element type of the iterator. * @author George van den Driessche
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 938 bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestSetMultimapGenerator.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.google; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.SetMultimap; /** * A generator for {@code SetMultimap} implementations based on test data. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Mar 29 12:09:19 UTC 2016 - 990 bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
* result extraction, header encoding/decoding, and the round-trip of an * encode/decode operation. */ public class DcerpcMessageTest { /** * A trivial concrete subclass used for testing. It simply writes a * single small value in {@code encode_in} and reads it in * {@code decode_out}. */ private static class TestMessage extends DcerpcMessage { int decodedValue = 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingWeighers.java
* the License. */ package com.google.common.cache; import org.jspecify.annotations.NullUnmarked; /** * Utility {@link Weigher} implementations intended for use in testing. * * @author Charles Fry */ @NullUnmarked public final class TestingWeighers { /** Returns a {@link Weigher} that returns the given {@code constant} for every request. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CaseFormatTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link CaseFormat}. * * @author Mike Bostock */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
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 { @Mock private NtlmPasswordAuthentication mockAuth;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0)