Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 2,229 for Void (0.02 seconds)

  1. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertTrue(a1[0] != a2[0]);
      }
    
      public void testRange() {
        assertFreshInstance(new TypeToken<Range<String>>() {});
      }
    
      public void testImmutableList() {
        assertFreshInstance(new TypeToken<ImmutableList<String>>() {});
      }
    
      public void testImmutableSet() {
        assertFreshInstance(new TypeToken<ImmutableSet<String>>() {});
      }
    
      public void testImmutableSortedSet() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            if (fail) {
                throw new ExitException(1);
            }
        }
    
        private void version(CliRequest cliRequest) {
            if (cliRequest.verbose || cliRequest.commandLine.hasOption(CLIManager.SHOW_VERSION)) {
                System.out.println(CLIReportingUtils.showVersion());
            }
        }
    
        private void commands(CliRequest cliRequest) {
            if (cliRequest.showErrors) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      @Override
      protected void setUp() {
        future = TestedFuture.create();
        delegate = newDelegate();
      }
    
      public void testPending() {
        assertPending(future);
      }
    
      public void testSuccessful() throws Exception {
        assertThat(future.set(1)).isTrue();
        assertSuccessful(future, 1);
      }
    
      public void testFailed() throws Exception {
        Exception cause = new Exception();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

       */
      protected void resetCollection() {
        resetContainer();
      }
    
      /**
       * @return an array of the proper size with {@code null} inserted into the middle element.
       */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
      protected void initCollectionWithNullElement() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

    class ArtifactUtilsTest {
    
        private Artifact newArtifact(String aid) {
            return new DefaultArtifact("group", aid, VersionRange.createFromVersion("1.0"), "test", "jar", "tests", null);
        }
    
        @Test
        void testIsSnapshot() {
            assertFalse(ArtifactUtils.isSnapshot(null));
            assertFalse(ArtifactUtils.isSnapshot(""));
            assertFalse(ArtifactUtils.isSnapshot("1.2.3"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      }
    
      public void testGoodEquals() throws Exception {
        tester.testEquals(GoodEquals.class);
      }
    
      public void testEquals_interface() {
        tester.testEquals(AnInterface.class);
      }
    
      public void testEquals_abstractClass() {
        tester.testEquals(AnAbstractClass.class);
      }
    
      public void testEquals_enum() {
        tester.testEquals(OneConstantEnum.class);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        return suite;
      }
    
      public void testCreation_noArgs() {
        Multiset<String> multiset = ImmutableMultiset.of();
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_oneElement() {
        Multiset<String> multiset = ImmutableMultiset.of("a");
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      public void testCreation_twoElements() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            return active;
        }
    
        public void enable() {
            active = true;
    
            // TODO if it was null, we really need to go find them now... or is this taken care of by the ordering?
            if (children != null) {
                for (ResolutionNode node : children) {
                    node.enable();
                }
            }
        }
    
        public void disable() {
            active = false;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        return suite;
      }
    
      // Creation tests
    
      public void testCreation_noArgs() {
        List<String> list = ImmutableList.of();
        assertEquals(emptyList(), list);
      }
    
      public void testCreation_oneElement() {
        List<String> list = ImmutableList.of("a");
        assertEquals(singletonList("a"), list);
      }
    
      public void testCreation_twoElements() {
        List<String> list = ImmutableList.of("a", "b");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        public boolean isParallel() {
            return parallel;
        }
    
        public void setParallel(boolean parallel) {
            this.parallel = parallel;
        }
    
        public RepositorySystemSession getRepositorySession() {
            return repositorySystemSession;
        }
    
        private Map<String, MavenProject> projectMap;
    
        public void setProjectMap(Map<String, MavenProject> projectMap) {
            this.projectMap = projectMap;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
Back to Top