Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,235 for AssertJ (0.15 sec)

  1. 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)
  2. 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)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonFeedbackIntegrationSpec.groovy

            def daemonDir = new File(baseDir, GradleVersion.current().version)
            assert daemonDir.exists()
            daemonDir.listFiles().findAll { it.name.endsWith('.log') }
        }
    
        String readLog(File baseDir) {
            def logs = getLogs(baseDir)
    
            //assert single log
            assert logs.size() == 1
    
            logs[0].text
        }
    
        void printAllLogs(File baseDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

     * limitations under the License.
     */
    package mockwebserver3.junit4
    
    import assertk.assertThat
    import assertk.assertions.isTrue
    import java.net.ConnectException
    import java.util.concurrent.atomic.AtomicBoolean
    import org.junit.Assert.fail
    import org.junit.Test
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    
    class MockWebServerRuleTest {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionFailure.java

        interface Failure {
            /**
             * Asserts that this failure has the given number of direct causes.
             */
            void assertHasCauses(int count);
    
            /**
             * Asserts that this failure has the given cause
             */
            void assertHasCause(String message);
    
            /**
             * Asserts that this failure has the given first cause
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import okhttp3.internal.http2.hpackjson.HpackJsonUtil
    import okhttp3.internal.http2.hpackjson.Story
    import okio.Buffer
    
    /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyModule.java

        IvyDescriptor getParsedIvy();
    
        /**
         * Asserts that an ivy.xml is present
         */
        void assertPublished();
    
        /**
         * Asserts that exactly the given artifacts, plus checksum files, have been published.
         */
        void assertArtifactsPublished(String... names);
    
        /**
         * Assert that exactly the ivy.xml and jar file for this module, plus checksum files, have been published.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue62157.go

    // Simplified test case from issue
    
    type Matcher[T any] func(T) bool
    
    func Produces[T any](T) Matcher[<-chan T] { return nil }
    
    func Assert1[T any](Matcher[T], T) {}
    func Assert2[T any](T, Matcher[T]) {}
    
    func _() {
    	var ch chan string
    	Assert1(Produces(""), ch)
    	Assert2(ch, Produces(""))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 23:22:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScopeIdsFixture.groovy

                )
            }
    
            // Assert that same IDs were used for all builds in build
            def allScopeIds = ids.values()
            def buildInvocationIds = allScopeIds*.buildInvocation
    
            assert buildInvocationIds.unique(false).size() == 1
    
            if (!disableConsistentWorkspaceIdCheck) {
                def workspaceIds = allScopeIds*.workspace
                assert workspaceIds.unique(false).size() == 1
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isCloseTo
    import assertk.assertions.isFalse
    import assertk.assertions.isInstanceOf
    import assertk.assertions.matchesPredicate
    import java.util.Deque
    import java.util.concurrent.ConcurrentLinkedDeque
    import java.util.concurrent.TimeUnit
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top