Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1671 - 1680 of 2,277 for Tests (0.06 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code Multiset}
     * implementation.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class MultisetTestSuiteBuilder<E>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

     * Optimized for fast execution with minimal network calls.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    @DisplayName("NameServiceClientImpl Tests")
    class NameServiceClientImplTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private NetbiosAddress mockNetbiosAddress;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for IpAddressUtil class.
     */
    public class IpAddressUtilTest {
    
        @Test
        public void testCompressIPv6() {
            // Test IPv6 compression (using reflection to access protected method)
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    
    /**
     * Test MediaType API and parsing.
     *
     * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/)
     * MediaTypeTest.
     */
    open class MediaTypeTest {
      open fun MediaType.charsetName(): String? = parameter("charset")?.uppercase()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.math.BigInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code UnsignedInteger}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public class UnsignedIntegerTest extends TestCase {
      private static final ImmutableSet<Integer> TEST_INTS;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. internal/bucket/lifecycle/filter.go

    		if f.ObjectSizeLessThan < 0 {
    			err = errXMLNotWellFormed
    		}
    	case sizeGtPred:
    		if f.ObjectSizeGreaterThan < 0 {
    			err = errXMLNotWellFormed
    		}
    	}
    	return err
    }
    
    // TestTags tests if the object tags satisfy the Filter tags requirement,
    // it returns true if there is no tags in the underlying Filter.
    func (f Filter) TestTags(userTags string) bool {
    	if f.cachedTags == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 04 17:01:26 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

        private void configureServiceInfoForTask(
            Task task,
            Project fixtureProject,
            boolean enableFilter,
            BiConsumer<String, Integer> consumer
        ) {
            // Configure ports for the tests as system properties.
            // We only know these at execution time so we need to do it in doFirst
            task.doFirst(new Action<Task>() {
                @Override
                public void execute(Task theTask) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for RuntimeCIFSException functionality
     */
    @DisplayName("RuntimeCIFSException Tests")
    class RuntimeCIFSExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create RuntimeCIFSException with default constructor")
        void testDefaultConstructor() {
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

        private static final String SERVER = "testServer";
    
        @BeforeEach
        void setUp() {
            dcerpcBinding = new DcerpcBinding(PROTO, SERVER);
            // Initialize static INTERFACES map for tests
            DcerpcBinding.addInterface("srvsvc", "4B324FC8-1670-01D3-1278-5A47BF6EE188:3.0");
            DcerpcBinding.addInterface("lsarpc", "12345778-1234-ABCD-EF00-0123456789AB:2.1");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

    import com.google.common.hash.HashTestUtils.HashFn;
    import java.nio.charset.Charset;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link Murmur3_32HashFunction}. */
    @NullUnmarked
    public class Murmur3Hash32Test extends TestCase {
      public void testKnownIntegerInputs() {
        assertHash(593689054, murmur3_32().hashInt(0));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
Back to Top