- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for geterror (0.17 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ErrorsOnStdoutScrapingExecutionResult.java
} @Override public GroupedOutputFixture getGroupedOutput() { return delegate.getGroupedOutput(); } @Override public String getError() { return delegate.getError(); } @Override public String getOutputLineThatContains(String text) { return delegate.getOutputLineThatContains(text); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/console/AbstractExecOutputIntegrationTest.groovy
succeeds("run") then: def output = result.groupedOutput.task(':run').output output.contains(EXPECTED_OUTPUT) def errorOutput = errorsShouldAppearOnStdout() ? output : result.getError() errorOutput.contains(EXPECTED_ERROR) } def "JavaExec task output is grouped with its task output"() { given: generateMainJavaFileEchoing(EXPECTED_OUTPUT, EXPECTED_ERROR)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleDeprecationMessageGroupedTaskFunctionalTest.groovy
executer.expectDeprecationWarning(expectedOutput) succeeds('compileJava') then: def actualOutput = errorsShouldAppearOnStdout() ? result.groupedOutput.task(':compileJava').output : result.getError() actualOutput.contains(expectedOutput) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc
llvm::InitLLVM y(argc, argv); llvm::cl::ParseCommandLineOptions(argc, argv); auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str()); if (std::error_code error = file_or_err.getError()) { llvm::errs() << argv[0] << ": could not open input file '" << inputFileName << "': " << error.message() << "\n"; return 1; } auto buffer = file_or_err->get();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/import_utils.cc
template <class T> Status LoadProtoFromFileImpl(absl::string_view input_filename, T* proto) { const auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(StringViewToRef(input_filename)); if (std::error_code error = file_or_err.getError()) { return errors::InvalidArgument( "Could not open input file ", string(input_filename.data(), input_filename.size()).c_str()); } const auto& input_file = *file_or_err;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/importer_test_min_max.cc
llvm::InitLLVM y(argc, argv); llvm::cl::ParseCommandLineOptions(argc, argv); auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str()); if (std::error_code error = file_or_err.getError()) { llvm::errs() << argv[0] << ": could not open input file '" << inputFileName << "': " << error.message() << "\n"; return 1; } auto buffer = file_or_err->get(); auto maybe_module =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 6.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java
* * <p>You should avoid using this method as it couples the tests to a particular layout for the console. Instead use the more descriptive assertion methods.</p> */ String getError(); /** * Retrieves the first output line that contains the passed in text. * * Fails with an assertion if no output line contains the given text. * * @param text the text to match
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
} public static void setError(final int statusCode, final String message) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message))); } public static void setError(final int statusCode, final Exception e) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_options_test.go
policyOpt, _ := NewStaticPolicyOptions(testCase.policyOption) err := ValidateStaticPolicyOptions(policyOpt, testCase.topology, topoMgrStore) gotError := (err != nil) if gotError != testCase.expectedErr { t.Errorf("testCase %q failed, got %v expected %v", testCase.description, gotError, testCase.expectedErr) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 5.9K bytes - Viewed (0) -
maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
List<Profile> active = selector.getActiveProfiles(profiles, context, problems); assertTrue(active.isEmpty()); assertEquals(1, problems.getErrors().size()); assertEquals( "Failed to determine activation for profile one: BOOM", problems.getErrors().get(0)); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 16:51:39 UTC 2024 - 2.8K bytes - Viewed (0)