Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,743 for AssertJ (0.13 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    
        try {
          future.get();
          Assert.fail("This call was supposed to throw an ExecutionException");
        } catch (ExecutionException expected) {
          Assert.assertSame(expectedCause, expected.getCause());
        }
      }
    
      public void assertTimeout() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    
        try {
          future.get();
          Assert.fail("This call was supposed to throw an ExecutionException");
        } catch (ExecutionException expected) {
          Assert.assertSame(expectedCause, expected.getCause());
        }
      }
    
      public void assertTimeout() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy

        }
    
        /**
         * Asserts that the configuration cache was not enabled.
         */
        void assertNotEnabled() {
            spec.outputDoesNotContain(ISOLATED_PROJECTS_MESSAGE)
            spec.outputDoesNotContain(CONFIGURE_ON_DEMAND_MESSAGE)
            configurationCacheBuildOperations.assertNoConfigurationCache()
            assertHasNoProblems()
        }
    
        /**
         * Asserts that the cache entry was written with no problems.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/CUnit.h

     */
    
    /*
     *  ASSERT Macro definitions and general CUnit configuration definitions.
     *
     *  09/Aug/2001   ASSERT definitions. (AK)
     *
     *  12/Mar/2003   New Assert definitions. (AK)
     *
     *  27/Jul/2003   Modified ASSERT_XXX Macro definitions. (AK)
     *
     *  15-Jul-2004   New interface, changed action on assert failure to not
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/JarTestFixture.groovy

                 assertManifestPresentAndFirstEntry()
             }
         }
    
        /**
         * Asserts that the given service is defined in this jar file.
         */
        def hasService(String serviceName, String serviceImpl) {
            assertFilePresent("META-INF/services/$serviceName", serviceImpl)
        }
    
        /**
         * Asserts that the manifest file is present and first entry in this jar file.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 14:13:17 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ArchiveTestFixture.groovy

            assert modes.size() == 1
            assertThat(modes.get(0), equalTo(fileMode))
            this
        }
    
        def assertContainsFile(String relativePath) {
            assert filesByRelativePath.keySet().contains(relativePath)
            this
        }
    
        def assertNotContainsFile(String relativePath) {
            assert !filesByRelativePath.keySet().contains(relativePath)
            this
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/TestThread.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertNotNull;
    import static junit.framework.Assert.assertNull;
    import static junit.framework.Assert.assertSame;
    
    import com.google.common.testing.TearDown;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

        /**
         * Asserts that exactly the given set of tasks have been executed in any order.
         */
        ExecutionResult assertTasksExecuted(Object... taskPaths);
    
        /**
         * Asserts that the given task has been executed.
         */
        ExecutionResult assertTaskExecuted(String taskPath);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertNotNull;
    import static junit.framework.Assert.assertNull;
    import static junit.framework.Assert.assertSame;
    
    import com.google.common.testing.TearDown;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/testFixtures/groovy/org/gradle/api/reporting/model/ModelReportOutput.groovy

        }
    
        void hasTitle(String text) {
            assert parsedModelReport.title == text
        }
    
        void nodeContentEquals(String text) {
            assert text
            List<String> subject = text.trim().readLines()
            assert subject.size() == parsedModelReport.nodeOnlyLines.size()
            parsedModelReport.nodeOnlyLines.eachWithIndex { String line, i ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 02 20:49:19 UTC 2015
    - 3.5K bytes
    - Viewed (0)
Back to top