Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,743 for AssertJ (0.1 sec)

  1. 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)
  2. 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)
  3. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

                assert startEvent instanceof FileDownloadStartEvent
                assert finishEvent instanceof FileDownloadFinishEvent
                assert descriptor instanceof FileDownloadOperationDescriptor
                assert descriptor.uri == uri
                assert descriptor.displayName == "Download " + uri
                assert finishEvent.result instanceof FileDownloadResult
                assert finishEvent.result.bytesDownloaded == size
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

                        assert owner.version == version
                        assert variant.dependencies.empty
                        assert variant.files.empty
                    }
                    variant.files.each { file ->
                        def artifact = getArtifact(file.url)
                        assert artifact.file.file
                        assert artifact.file.length() == file.size
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top