Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 541 for assertEquals (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java

    import java.util.List;
    
    import org.apache.maven.model.building.DefaultModelProblem;
    import org.apache.maven.model.building.ModelProblem;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test for {@link ProjectBuildingException} message generation.
     */
    @SuppressWarnings("deprecation")
    class ProjectBuildingExceptionTest {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jul 26 19:15:57 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

        }
    
        @Test
        void testIsActiveExistsLeavesFileUnchanged() {
            Profile profile = newExistsProfile("file.txt");
            assertEquals("file.txt", profile.getActivation().getFile().getExists());
    
            assertActivation(true, profile, context);
    
            assertEquals("file.txt", profile.getActivation().getFile().getExists());
        }
    
        private Profile newExistsProfile(String filePath) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    import java.io.IOException;
    import java.security.cert.Certificate;
    import java.security.cert.X509Certificate;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    
    /**
     * Simple test adaptable to show a failure in older versions of OkHttp
     * or Android SDKs.
     */
    @RunWith(AndroidJUnit4.class)
    public class IssueReproductionTest {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 26 06:37:08 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculatorTest.java

    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     */
    class LifecycleExecutionPlanCalculatorTest extends AbstractCoreMavenComponentTestCase {
    
        @Test
        void testCalculateExecutionPlanWithGoalTasks() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  6. .teamcity/src/test/kotlin/BuildTypeTest.kt

    import jetbrains.buildServer.configs.kotlin.DslContext
    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.TestCoverage
    import model.TestType
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    import java.io.File
    
    class BuildTypeTest {
        init {
            DslContext.initForTest()
        }
    
        private val buildModel =
            CIBuildModel(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 25 20:21:47 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. .teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt

    import common.VersionedSettingsBranch
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertNull
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.CsvSource
    import org.junit.jupiter.params.provider.ValueSource
    import promotion.determineNightlyPromotionTriggerHour
    
    /*
     * Copyright 2023 the original author or authors.
     *
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

      }
    
      public void testOf_one() {
        Iterable<String> iterable = MinimalIterable.of("a");
        Iterator<String> iterator = iterable.iterator();
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, () -> iterator.next());
        assertThrows(IllegalStateException.class, () -> iterable.iterator());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java

      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testStreamToArrayKnownOrder() {
        assertEquals(getOrderedElements(), asList(collection.stream().toArray()));
      }
    
      public void testStreamCount() {
        assertEquals(getNumElements(), collection.stream().count());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
            "putIfAbsent(present, value) should return existing value",
            v0(),
            getMap().putIfAbsent(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top