- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 2,277 for Tests (0.03 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests. public class CollectionRemoveIfTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testRemoveIf_alwaysFalse() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 4.2K bytes - Click Count (0) -
cmd/endpoint-ellipses_test.go
seq = append(seq, fmt.Sprintf(fmt.Sprintf("%%0%dd", paddinglen), i)) } } return seq } // Test tests parses endpoint ellipses input pattern. func TestParseEndpointSet(t *testing.T) { testCases := []struct { arg string es endpointSet success bool }{ // Tests invalid inputs. { "...", endpointSet{}, false, }, // No range specified. {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/UrlEscapersTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.escape.UnicodeEscaper; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for the {@link UrlEscapers} class. * * @author David Beaumont */ @GwtCompatible @NullUnmarked public class UrlEscapersTest extends TestCase { public void testUrlFormParameterEscaper() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 2.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.base.Preconditions; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * Tests the speed of iteration of different iteration methods for collections. * * @author David Richter */ @NullUnmarked public class MultisetIteratorBenchmark { @Param({"0", "1", "16", "256", "4096", "65536"})Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.features.CollectionFeature; import org.junit.Ignore; /** * A generic JUnit test which tests offer operations on a queue. Can't be invoked directly; please * see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Jared Levy */ @GwtCompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
@Override protected Executor executor() { transitionStates.add(state()); return directExecutor(); } } // Functional tests using real thread. We only verify publicly visible state. // Interaction assertions are done by the single-threaded unit tests. private static class DefaultService extends AbstractIdleService { @Override protected void startUp() throws Exception {} @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 7.7K bytes - Click Count (0) -
android/pom.xml
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- Some tests need reflective access to the internals of these packages. It is only the tests themselves and not the code being tested that needs that access, though there's no obvious way to ensure that. We could consider arranging things so that only the tests we know need this would get the add-opens. Right now that doesn't seem worth the effort, though.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 17 19:12:41 GMT 2026 - 26.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
import java.util.Iterator; import org.junit.Ignore; /** * Tests for {@link Multimap#putAll(Object, Iterable)}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") @SuppressWarnings({ // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. "JUnit4ClassUsedInJUnit3",Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.4K bytes - Click Count (0) -
cmd/format-erasure_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "crypto/sha256" "encoding/hex" "encoding/json" "os" "reflect" "testing" ) // tests fixFormatErasureV3 - fix format.json on all disks. func TestFixFormatV3(t *testing.T) { erasureDirs, err := getRandomDisks(8) if err != nil { t.Fatal(err) } for _, erasureDir := range erasureDirs {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.7K bytes - Click Count (0) -
internal/store/queuestore_test.go
return nil, oErr } return queueStore, nil } // Tear down queue store. func tearDownQueueStore() error { return os.RemoveAll(queueDir) } // TestQueueStorePut - tests for store.Put func TestQueueStorePut(t *testing.T) { defer func() { if err := tearDownQueueStore(); err != nil { t.Fatal("Failed to tear down store ", err) } }() store, err := setUpQueueStore(queueDir, 100)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.2K bytes - Click Count (0)