Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 177 for testbar (0.21 sec)

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

            checkArgument(!result.containsKey(entry.getKey()));
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
      }
    
      static class TestBiMap<K, V> extends TestMap<K, V> implements BiMap<K, V> {
        private final BiMap<K, V> delegate;
    
        public TestBiMap(BiMap<K, V> delegate, Object mutex) {
          super(delegate, mutex);
          this.delegate = delegate;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload_test.go

    			"ingressIP":  "fd00:10:96::2",
    		},
    	}
    	for _, dir := range files {
    		if !dir.IsDir() {
    			continue
    		}
    		testdir := path.Join("testdata/vmconfig", dir.Name())
    		t.Cleanup(func() {
    			for k := range generated {
    				os.Remove(path.Join(testdir, k))
    			}
    		})
    		t.Run(dir.Name(), func(t *testing.T) {
    			createClientFunc := func(client kube.CLIClient) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/IoTestCase.java

          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
            // probably URISyntaxException or IllegalArgumentException
            // fall back to copying URLs to files in the testDir == null block below
          }
        }
    
        if (testDir == null) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

                .that(Math.signum(Ints.compare(i, j)))
                .isEqualTo(Math.signum(UnsignedBytes.compare(x, y)));
          }
        }
      }
    
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> UnsignedBytes.max());
      }
    
      public void testMax() {
        assertThat(UnsignedBytes.max(LEAST)).isEqualTo(LEAST);
        assertThat(UnsignedBytes.max(GREATEST)).isEqualTo(GREATEST);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/build.gradle.kts

    optInToUnsafeDuringIrConstructionAPI()
    
    projectTest(jUnitMode = JUnitMode.JUnit5) {
        dependsOn(":dist")
        workingDir = rootDir
        useJUnitPlatform()
    }.also { confugureFirPluginAnnotationsDependency(it) }
    
    testsJar()
    
    allprojects {
        tasks.withType<KotlinJvmCompile>().configureEach {
            compilerOptions.optIn.addAll(
                listOf(
                    "org.jetbrains.kotlin.fir.symbols.SymbolInternals",
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 05 16:42:25 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/FloatsTest.java

        }
        assertThat(Floats.lastIndexOf(new float[] {NaN, 5f}, NaN)).isEqualTo(-1);
      }
    
      @GwtIncompatible
      public void testMax_noArgs() {
        try {
          Floats.max();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMax() {
        assertThat(Floats.max(GREATEST)).isEqualTo(GREATEST);
        assertThat(Floats.max(LEAST)).isEqualTo(LEAST);
        assertThat(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/IntsTest.java

            .isEqualTo(3);
      }
    
      @GwtIncompatible
      public void testMax_noArgs() {
        try {
          Ints.max();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMax() {
        assertThat(Ints.max(LEAST)).isEqualTo(LEAST);
        assertThat(Ints.max(GREATEST)).isEqualTo(GREATEST);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

          super.verify(elements);
        }
      }
    
      public void testVerifyGetsCalled() {
        TesterThatCountsCalls tester = new TesterThatCountsCalls();
    
        tester.test();
    
        assertEquals(
            "Should have verified once per stimulus executed",
            tester.numCallsToVerify,
            tester.numCallsToNewTargetIterator * STEPS);
      }
    
      public void testVerifyCanThrowAssertionThatFailsTest() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

            return [acceptedApiChanges: [:],
                publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],
                apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path,
                projectRootDir: testDir.path]
        }
    
        String replaceAsInternal(String name) {
            return name.replace('gradlebuild', 'gradlebuild.internal')
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

     */
    @GwtCompatible
    public class EquivalenceTesterTest extends TestCase {
      private EquivalenceTester<Object> tester;
      private MockEquivalence equivalenceMock;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        this.equivalenceMock = new MockEquivalence();
        this.tester = EquivalenceTester.of(equivalenceMock);
      }
    
      /** Test null reference yields error */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.3K bytes
    - Viewed (0)
Back to top