Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for test1 (0.14 sec)

  1. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

         *
         * @throws Exception in case of issue
         */
        @Test
        void testEmptyUrl() throws Exception {
            buildPom("empty-distMng-repo-url");
        }
    
        /**
         * Tests that modules is not overridden by profile
         *
         * @throws Exception in case of issue
         */
        /* MNG-786*/
        @Test
        void testProfileModules() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public void testAssignableParameterizedTypeToClass() {
        @SuppressWarnings("rawtypes") // Trying to test raw class
        TypeToken<List> tokL = new TypeToken<List>() {};
        assertTrue(tokL.isSupertypeOf(StringList.class));
        assertTrue(tokL.isSupertypeOf(StringList.class.getGenericInterfaces()[0]));
    
        @SuppressWarnings("rawtypes") // Trying to test raw class
        TypeToken<Second> tokS = new TypeToken<Second>() {};
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return getClasspathElements(MavenProject::isCompilePathElement, false);
        }
    
        /**
         * Returns the elements placed on the classpath for tests.
         * This method can be invoked when the caller does not support module-path.
         *
         * @throws DependencyResolutionRequiredException if an artifact file is used, but has not been resolved
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.mockito.Mockito;
    
    /**
     * Tests for {@link ClosingFuture}. Subclasses exercise either the {@link
     * ClosingFuture#finishToFuture()} or {@link
     * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)} paths to complete a
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

        public int hashCode() {
          // Warning: this is broken if size() == 0, so it is critical that we
          // substitute an empty ImmutableSet to the user in place of this
    
          // It's a weird formula, but tests prove it works.
          int adjust = size() - 1;
          for (int i = 0; i < axes.size(); i++) {
            adjust *= 31;
            adjust = ~~adjust;
            // in GWT, we have to deal with integer overflow carefully
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CharMatcher.java

            @Override
            public String toString() {
              return description;
            }
          };
        }
      }
    
      /**
       * Helper method for {@link #precomputedInternal} that doesn't test if the negation is cheaper.
       */
      @GwtIncompatible // SmallCharMatcher
      private static CharMatcher precomputedPositive(
          int totalCharacters, BitSet table, String description) {
        switch (totalCharacters) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /**
         * Unsafe cast of the given entry to {@code E}, the type of the specific {@link InternalEntry}
         * implementation type.
         *
         * <p>This method is provided as a convenience for tests. Otherwise they'd need to be
         * knowledgeable about all the implementation details of our type system trickery.
         */
        abstract E castForTesting(InternalEntry<K, V, ?> entry);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import java.util.logging.LogRecord;
    import junit.framework.TestCase;
    
    /**
     * Tests relating to cache loading: concurrent loading, exceptions during loading, etc.
     *
     * @author mike nonemacher
     */
    public class CacheLoadingTest extends TestCase {
      TestLogHandler logHandler;
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/callResolver/Fe10IdeNormalAnalysisSourceModuleResolveCallTestGenerated.java

    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiTestConfigurator;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.TestModuleKind;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.FrontendKind;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisSessionMode;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiMode;
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 19:28:19 GMT 2024
    - 53.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(2, result.size());
    
        // Now test values loaded from a stream.
        String props = "test\n second = 2\n Third item :   a short  phrase   ";
    
        testProp.load(new StringReader(props));
    
        result = Maps.fromProperties(testProp);
        assertEquals(4, result.size());
        assertEquals("true", result.get("first"));
        assertEquals("", result.get("test"));
        assertEquals("2", result.get("second"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
Back to top