Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 78 for assertbig (2.24 sec)

  1. cmd/object-api-listobjects_test.go

    			},
    		},
    		// ListObjectsResult-5.
    		// Used for Asserting prefixes.
    		// Used for test case with prefix "new", (testCase 27-29).
    		5: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "newPrefix0"},
    				{Name: "newPrefix1"},
    				{Name: "newzen/zen/recurse/again/again/again/pics"},
    			},
    		},
    		// ListObjectsResult-6.
    		// Used for Asserting prefixes.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/DumpbinGccProducedBinaryInfo.groovy

            this.environments = environments
        }
    
        @Override
        List<Symbol> listSymbols() {
            // With VS2019, dumpbin is not able to properly list the headers of a MinGW which prevent us from asserting the presence or not of debug symbols. For this, we started to migrate toward using the Linux tools within the MinGW installation.
            return NMToolFixture.of(environments).listSymbols(binaryFile)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

                }
            });
        }
    
        /**
         * Executes the requested build, asserting that the build succeeds. Resets the configuration of this executer.
         *
         * @return The result.
         */
        ExecutionResult run();
    
        /**
         * Executes the requested build, asserting that the build fails. Resets the configuration of this executer.
         *
         * @return The result.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/testFixtures/groovy/org/gradle/internal/serialize/SerializerSpec.groovy

        <T> T serialize(T value, Serializer<T> serializer) {
            def bytes = toBytes(value, serializer)
            return fromBytes(bytes, serializer)
        }
    
        /**
         * Serializes and deserializes the given value, asserting that the generated byte sequence is shorter than it would be when default
         * Java serialization is used.
         */
        <T> T usesEfficientSerialization(T value, Serializer<T> serializer, Integer expectedLength = null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/ConfigurationHooksIntegrationTest.groovy

        @Test
        @ToBeFixedForConfigurationCache
        void triggersBeforeAndWhenConfigurationHooks() {
    
            //this test is a bit peculiar as it has assertions inside the gradle script
            //couldn't find a better way of asserting on before/when configured hooks
            runIdeaTask '''
    apply plugin: 'java'
    apply plugin: 'idea'
    
    def beforeConfiguredObjects = 0
    def whenConfiguredObjects = 0
    
    idea {
        project {
            ipr {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Operations.groovy

    /**
     * A dynamic collection of {@link NamedOperation} instances. When a method is called that takes a single Runnable as parameter, a new operation is defined.
     * When a property is accessed, queries an existing operation, asserting that it exists. For example:
     *
     * <pre>
     *  when:
     *  // runs the given closure and defines operation 'doStuff'
     *  operation.doStuff {
     *      // do some test action
     *  }
     *
     *  then:
     *  // query
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

        sample = {'input_tensor': input_tensor_value}
    
        feed_dict = repr_dataset.create_feed_dict_from_input_data(
            sample, signature_def
        )
    
        self.assertLen(feed_dict, 1)
        self.assertIn('input:0', feed_dict)
        self.assertAllEqual(feed_dict['input:0'], input_tensor_value)
    
      @test_util.deprecated_graph_mode_only
      def test_create_feed_dict_from_input_data_core_tensors(self):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Instants.groovy

    /**
     * A dynamic collection of {@link NamedInstant} objects. When a property of this object is accessed from a test thread, a new instant is defined. When
     * accessed from the main thread, queries an existing instant, asserting that it exists.
     */
    class Instants implements InstantFactory, OperationListener {
        private final Object lock = new Object()
        private final Map<String, NamedInstant> timePoints = [:]
        private Thread mainThread
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractIncrementalTestIntegrationTest.groovy

            buildFile << """
                test.beforeTest { println "executed " + it }
            """
    
            when:
            succeeds("test", "--tests", "Foo*")
    
            then:
            //asserting on output because test results are kept in between invocations
            outputDoesNotContain("executed Test ${maybeParentheses('test')}(BarTest)")
            outputContains("executed Test ${maybeParentheses('test')}(FooTest)")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    
    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top