Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1481 - 1490 of 1,547 for JUnit (0.06 sec)

  1. okhttp/src/test/java/okhttp3/RequestTest.kt

    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.asRequestBody
    import okhttp3.RequestBody.Companion.toRequestBody
    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.Test
    
    class RequestTest {
      @Test
      fun constructor() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

    import java.util.Arrays;
    
    import org.apache.maven.api.model.Contributor;
    import org.apache.maven.api.model.Dependency;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.v4.MavenMerger;
    import org.junit.jupiter.api.Test;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.contains;
    import static org.hamcrest.Matchers.is;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Strings;
    import com.google.common.collect.ImmutableList;
    import java.io.EOFException;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.Reader;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharStreamsTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Strings;
    import com.google.common.collect.ImmutableList;
    import java.io.EOFException;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.Reader;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.io.StringWriter;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code BaseEncoding}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import java.util.SortedSet;
    import java.util.concurrent.TimeUnit;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link FluentIterable}.
     *
     * @author Marcin Mikosik
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Splitter;
    import java.io.IOException;
    import java.net.URL;
    import java.util.Iterator;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Files#simplifyPath}.
     *
     * @author Pablo Bellver
     */
    public class FilesSimplifyPathTest extends TestCase {
    
      public void testSimplifyEmptyString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

    import com.google.common.cache.TestingCacheLoaders.IdentityLoader;
    import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens
     * when maximumSize is reached, etc.
     *
     * @author mike nonemacher
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Splitter;
    import java.io.IOException;
    import java.net.URL;
    import java.util.Iterator;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Files#simplifyPath}.
     *
     * @author Pablo Bellver
     */
    public class FilesSimplifyPathTest extends TestCase {
    
      public void testSimplifyEmptyString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

    import assertk.assertions.isNull
    import java.net.URI
    import java.net.URL
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.Test
    
    @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://.
    open class HttpUrlJvmTest {
      val platform = PlatformRule()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top