Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for checkResult (0.09 sec)

  1. guava-tests/test/com/google/common/base/JoinerTest.java

        checkResult(zeroForNull, ITERABLE_1, "1");
        checkResult(zeroForNull, ITERABLE_12, "1-2");
        checkResult(zeroForNull, ITERABLE_123, "1-2-3");
        checkResult(zeroForNull, ITERABLE_NULL, "0");
        checkResult(zeroForNull, ITERABLE_NULL_NULL, "0-0");
        checkResult(zeroForNull, ITERABLE_NULL_1, "0-1");
        checkResult(zeroForNull, ITERABLE_1_NULL, "1-0");
        checkResult(zeroForNull, ITERABLE_1_NULL_2, "1-0-2");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        internal
        fun checkBinaryCompatibleKotlin(v1: String = "", v2: String, block: CheckResult.() -> Unit = {}): CheckResult =
            runKotlinBinaryCompatibilityCheck(v1, v2) {
                assertBinaryCompatible()
                block()
            }
    
        internal
        fun checkNotBinaryCompatibleKotlin(v1: String = "", v2: String, block: CheckResult.() -> Unit = {}): CheckResult =
            runKotlinBinaryCompatibilityCheck(v1, v2) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. cmd/os-readdir_test.go

    	sort.Strings(entries)
    
    	// Add entries slice for this test directory.
    	testResults = append(testResults, result{dir, entries})
    	return testResults
    }
    
    // checkResult - checks whether entries are got are same as expected entries.
    func checkResult(expected []string, got []string) bool {
    	// If length of expected and got slice are different, the test actually failed.
    	if len(expected) != len(got) {
    		return false
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  4. cni/test/install_cni.go

    		}
    	}
    
    	if cleanErr := installer.Cleanup(); cleanErr != nil {
    		t.Errorf("Error during test CNI installer cleanup, error was: %s", cleanErr)
    	}
    }
    
    // checkResult checks if resultFile is equal to expectedFile at each tick until timeout
    func checkResult(result, expected string) error {
    	resultFile, err := os.ReadFile(result)
    	if err != nil {
    		return fmt.Errorf("couldn't read result: %v", err)
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          TestExecutor testExecutor = new TestExecutor(mock);
          List<Future<String>> futures = testExecutor.invokeAll(tasks);
          mock.assertLastMethodCalled("invokeAll");
          checkResults(futures);
        }
        {
          MockExecutor mock = new MockExecutor();
          TimeUnit unit = SECONDS;
          long timeout = 5;
          TestExecutor testExecutor = new TestExecutor(mock);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          TestExecutor testExecutor = new TestExecutor(mock);
          List<Future<String>> futures = testExecutor.invokeAll(tasks);
          mock.assertLastMethodCalled("invokeAll");
          checkResults(futures);
        }
        {
          MockExecutor mock = new MockExecutor();
          TimeUnit unit = SECONDS;
          long timeout = 5;
          TestExecutor testExecutor = new TestExecutor(mock);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. istioctl/pkg/checkinject/checkinject.go

    			if err != nil {
    				return err
    			}
    			checkResults := analyzeRunningWebhooks(whs.Items, podLabels, nsLabels)
    			return printCheckInjectorResults(cmd.OutOrStdout(), checkResults)
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    	cmd.PersistentFlags().StringVarP(&labelPairs, "labels", "l", "",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. istioctl/pkg/checkinject/checkinject_test.go

    			t.Fatal(err)
    		}
    		whs = append(whs, *wh)
    	}
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			checkResults := analyzeRunningWebhooks(whs,
    				c.pod.Labels, c.ns.Labels)
    			assert.Equal(t, c.expectedMessages, checkResults)
    		})
    	}
    }
    
    var nsTestObject = func(namespace, injLabelValue, revLabelValue string) *corev1.Namespace {
    	labels := map[string]string{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top