Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for AssertJ (0.12 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.groovy

                        def outputFile = outputs.file("some/dir/output.txt")
                        assert outputFile.parentFile.directory
                        outputFile.text = "output"
                        def outputDir = outputs.dir("another/output/dir")
                        assert outputDir.directory
                        new File(outputDir, "in-dir.txt").text = "another output"
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 100.8K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	objectName := "test-object"
    	// set of byte data for PutObject.
    	// object has to be created before running tests for HeadObject.
    	// this is required even to assert the HeadObject data,
    	// since dataInserted === dataFetched back is a primary criteria for any object storage this assertion is critical.
    	bytesData := []struct {
    		byteData []byte
    	}{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.net.CookieManager
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        MutableArrayRef<int64_t> end, MutableArrayRef<int64_t> stride) {
      assert(input_shape.size() <= 32);  // Only 32-bit masks are supported.
    
      // Make sure ranges' ranks are consistent with the input.
      assert(input_shape.size() == begin.size());
      assert(input_shape.size() == end.size());
      assert(input_shape.size() == stride.size());
    
      for (int i = 0, e = input_shape.size(); i < e; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_builder_test.go

    			// assert httpProtocolOptions
    			assert.Equal(t, opts.mutable.httpProtocolOptions.CommonHttpProtocolOptions.IdleTimeout,
    				tt.expectedHTTPPOpt.CommonHttpProtocolOptions.IdleTimeout)
    			assert.Equal(t, opts.mutable.httpProtocolOptions.CommonHttpProtocolOptions.MaxRequestsPerConnection,
    				tt.expectedHTTPPOpt.CommonHttpProtocolOptions.MaxRequestsPerConnection)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    /// possible.
    /// The function currently asserts that the `result_type` to be a f32 tensor
    /// type.
    /// TODO: Extend this function to handle integral tensor for ops like
    /// "tfl.logical_not".
    Attribute ConstFoldUnaryOp(Type result_type, Attribute operand,
                               llvm::function_ref<APFloat(APFloat)> calculate) {
      assert(IsF32ShapedType(result_type) || IsBF16ShapedType(result_type));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  7. fastapi/routing.py

            response_fields = {}
            for additional_status_code, response in self.responses.items():
                assert isinstance(response, dict), "An additional response must be a dict"
                model = response.get("model")
                if model:
                    assert is_body_allowed_for_status_code(
                        additional_status_code
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  8. pkg/api/pod/util_test.go

    					if enabled && fieldsEnabled {
    						assert.Equal(t, &test.pod, newPod, "pod should not be mutated when both feature gates are enabled")
    						return
    					}
    
    					expectAnnotations := test.hasAnnotations && enabled
    					assert.Equal(t, expectAnnotations, appArmorAnnotationsInUse(newPod.Annotations), "AppArmor annotations expectation")
    					if expectAnnotations == test.hasAnnotations {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      if (!type.hasRank() || type.getRank() != 1) return {};
      if (port.size() != 2) return {};
      assert(port[0] == 0);
      return ValuePort(op.getOperand(port[1]));
    }
    
    ValuePort ComputeInputComponentFor(ConcatV2Op op, ArrayRef<unsigned int> port) {
      if (port.size() != 2) return {};
      assert(port[0] == 0);
    
      int64_t element_idx = port[1];
      for (Value val : op.getValues()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  10. pkg/controller/garbagecollector/garbagecollector_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	assert.Equal(t, 0, len(gc.dependencyGraphBuilder.monitors))
    
    	// Make sure resource monitor syncing creates and stops resource monitors.
    	tweakableRM.Add(schema.GroupVersionKind{Group: "tpr.io", Version: "v1", Kind: "unknown"}, nil)
    	err = gc.resyncMonitors(logger, twoResources)
    	if err != nil {
    		t.Errorf("Failed adding a monitor: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top