Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,031 for asset0 (0.12 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/failure/mappers/AssertjMultipleAssertionsErrorMapperTest.groovy

            then:
            assert mappedFailure.causes.size() == 3
            assert mappedFailure.rawFailure instanceof MultipleAssertionsError
        }
    
        def "maps inner assertion failures correctly"() {
            when:
            def innerErrors = mapper.mapInnerFailures(error, rootMapper)
    
            then:
            innerErrors.eachWithIndex { tf, i ->
                assert tf.causes.size() == 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K 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. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

    from tensorflow.python.saved_model import loader_impl
    from tensorflow.python.trackable import autotrackable
    from tensorflow.python.types import core
    
    
    # Name of the saved model assets directory.
    _ASSETS_DIR = 'assets'
    _ASSETS_EXTRA_DIR = 'assets.extra'
    
    # Type variable for a type that is not `None`. This represents a return value of
    # methods in `PyFunctionLibrary` that should not be `None`, as `None` represents
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestFailureProgressEventCrossVersionTest.groovy

                import org.junit.Test;
                import static org.junit.Assert.*;
    
                public class FailingTest {
    
                    @Test
                    public void pass() {
                    }
    
                    @Test
                    public void failWithAssertStatement() {
                        assert false;
                    }
    
                    @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  7. 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)
  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. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/DefaultClassPath.java

            }
    
            @Override
            public boolean contains(Object o) {
                return asSet.contains(o);
            }
    
            @Override
            public boolean containsAll(Collection<?> c) {
                return asSet.containsAll(c);
            }
    
            @Override
            public int size() {
                return size;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. 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)
Back to top