Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,046 for expecting (0.18 sec)

  1. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            assertEquals(1, activeProfilesOrig.size(), "Expecting 1 active profile");
    
            MavenProject clonedProject = projectToClone.clone();
    
            List<Profile> activeProfilesClone = clonedProject.getActiveProfiles();
    
            assertEquals(1, activeProfilesClone.size(), "Expecting 1 active profile");
    
            assertNotSame(
                    activeProfilesOrig,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. src/database/sql/convert_test.go

    	var ns NullString
    	convertAssign(&ns, []byte("foo"))
    	if !ns.Valid {
    		t.Errorf("expecting not null")
    	}
    	if ns.String != "foo" {
    		t.Errorf("expecting foo; got %q", ns.String)
    	}
    	convertAssign(&ns, nil)
    	if ns.Valid {
    		t.Errorf("expecting null on nil")
    	}
    	if ns.String != "" {
    		t.Errorf("expecting blank on nil; got %q", ns.String)
    	}
    }
    
    type valueConverterTest struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. hack/lib/version.sh

      # we likely don't have a git tree, but these magic values may be filled in.
      # shellcheck disable=SC2016,SC2050
      # Disabled as we're not expanding these at runtime, but rather expecting
      # that another tool may have expanded these and rewritten the source (!)
      if [[ '$Format:%%$' == "%" ]]; then
        KUBE_GIT_COMMIT='$Format:%H$'
        KUBE_GIT_TREE_STATE="archive"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 08:22:09 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildChangeReportingIntegrationTest.groovy

                assert actualLines.size() == expectedLinesCount
            }
    
            if (actualMoreChanges || expectMoreChanges) {
                assert actualMoreChanges: "Expecting 'more changes' line, but it wasn't found"
                assert expectMoreChanges: "Not expecting a 'more changes' line"
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_plugin_test.go

    	for _, tc := range tests {
    		t.Run(tc.name, func(t *testing.T) {
    
    			actual := plug.CanSupport(tc.spec)
    			if tc.canSupport != actual {
    				t.Errorf("expecting canSupport %t, got %t", tc.canSupport, actual)
    			}
    		})
    	}
    }
    
    func TestPluginConstructVolumeSpec(t *testing.T) {
    	plug, tmpDir := newTestPlugin(t, nil)
    	defer os.RemoveAll(tmpDir)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

      // mapping:
      // "foo" -> 0
      // "bar" -> 1
      // "baz" -> 2
      // "wombat" -> 3
      // all other strings -> -1
    
      // Call lookup function with input "foo", expecting an output of 0
      {
        std::vector<TFE_TensorHandle*> lookup_fn_inputs;
        TFE_TensorHandle* input_foo = TestScalarTensorHandle(ctx, tstring("foo"));
        lookup_fn_inputs.push_back(input_foo);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. src/testing/fstest/testfs_test.go

    }
    
    func TestTestFSWrappedErrors(t *testing.T) {
    	err := TestFS(failPermFS{})
    	if err == nil {
    		t.Fatal("error expected")
    	}
    	t.Logf("Error (expecting wrapped fs.ErrPermission):\n%v", err)
    
    	if !errors.Is(err, fs.ErrPermission) {
    		t.Errorf("error should be a wrapped ErrPermission: %#v", err)
    	}
    
    	// TestFS is expected to return a list of errors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/internal/runtime/exithook/hooks.go

    // handler, preemption enabled, allocation allowed, write barriers
    // allowed, etc), and that the exit function F will be invoked under
    // similar circumstances. That is the say, we are expecting that F
    // uses normal / high-level Go code as opposed to one of the more
    // restricted dialects used for the trickier parts of the runtime.
    package exithook
    
    import (
    	"internal/runtime/atomic"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_block_test.go

    			t.Fatalf("Failed to make a new Mapper: %v", err)
    		}
    
    		path, volName := csiMapper.GetPodDeviceMapPath()
    
    		if tc.path != path {
    			t.Errorf("expecting path %s, got %s", tc.path, path)
    		}
    
    		if tc.specVolumeName != volName {
    			t.Errorf("expecting volName %s, got %s", tc.specVolumeName, volName)
    		}
    	}
    }
    
    func TestBlockMapperSetupDevice(t *testing.T) {
    	plug, tmpDir := newTestPlugin(t, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonsEventSequence.groovy

                def timeoutMessage = "timeoutBetweenStateChangeMs of $timeoutBetweenStateChangeMs"
                def checkpointMessage = "hit at checkpoint num $currentActionNum (expecting: $nextCheckpoint.expectedState)"
                def changesMessage = "processed state changes: $pastStateChanges, queued state changes: $changeQueue"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top