Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1491 - 1500 of 2,023 for testu (0.03 sec)

  1. guava-tests/test/com/google/common/collect/CountTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code Count}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class CountTest extends TestCase {
      public void testGet() {
        assertEquals(20, new Count(20).get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

     */
    
    package com.google.common.io;
    
    import static com.google.common.io.FileBackedOutputStreamTest.write;
    
    import com.google.common.testing.GcFinalization;
    import java.io.File;
    
    /**
     * Android-incompatible tests for {@link FileBackedOutputStream}.
     *
     * @author Chris Nokleberg
     */
    @AndroidIncompatible // Finalization probably just doesn't happen fast enough?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 08 21:20:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link UnmodifiableIterator}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableIteratorTest extends TestCase {
    
      @SuppressWarnings("DoNotCall")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Functions;
    import java.util.Map;
    
    /**
     * Tests for {@link Maps#transformValues(Map, Function)}.
     *
     * @author Isaac Shum
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

    import java.util.Arrays;
    import java.util.List;
    import java.util.Locale;
    import java.util.Random;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.mockito.Mockito;
    
    /**
     * Tests for RateLimiter.
     *
     * @author Dimitris Andreou
     */
    public class RateLimiterTest extends TestCase {
      private static final double EPSILON = 1e-8;
    
      private final FakeStopwatch stopwatch = new FakeStopwatch();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

    import java.util.Arrays;
    import java.util.List;
    import java.util.Locale;
    import java.util.Random;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.mockito.Mockito;
    
    /**
     * Tests for RateLimiter.
     *
     * @author Dimitris Andreou
     */
    public class RateLimiterTest extends TestCase {
      private static final double EPSILON = 1e-8;
    
      private final FakeStopwatch stopwatch = new FakeStopwatch();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/endtoend_test.go

    	"bufio"
    	"bytes"
    	"fmt"
    	"internal/buildcfg"
    	"os"
    	"path/filepath"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // An end-to-end test for the assembler: Do we print what we parse?
    // Output is generated by, in effect, turning on -S and comparing the
    // result against a golden file.
    
    func testEndToEnd(t *testing.T, goarch, file string) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/resources/poms/depmgmt/distant-import.xml

             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
        <modelVersion>4.1.0</modelVersion>
    
        <groupId>test</groupId>
        <artifactId>other</artifactId>
        <version>0.1-SNAPSHOT</version>
    
        <dependencyManagement>
            <dependencies>
                <dependency>
                    <groupId>org.junit</groupId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 768 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_background_tasks/test_tutorial001.py

    import os
    from pathlib import Path
    
    from fastapi.testclient import TestClient
    
    from docs_src.background_tasks.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test():
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 578 bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Test case for {@link ConcurrentHashMultiset}.
     *
     * @author Cliff L. Biffle
     * @author mike nonemacher
     */
    public class ConcurrentHashMultisetTest extends TestCase {
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top