Back to build
Raw log | Switch to full mode | Login

Test 'DownloadTargetDeterminerTest.LocalPathFailed' completed with the following status(es): 'FAILURE','SUCCESS' Test 'DownloadTargetDeterminerTest.LocalPathFailed' had the following logs when run: ================================================================================ [ RUN ] DownloadTargetDeterminerTest.LocalPathFailed unknown file: Failure Unexpected mock function call - taking default action specified at: ../../chrome/browser/download/download_target_determiner_unittest.cc:220: Function call: DetermineLocalPath(0x722000000000, @0x711000002320 /b/s/w/it3CAZ5E/.org.chromium.Chromium.1swnRE/foo.txt, @0x7ffdff7a75c0 8-byte object <40-19 08-00 40-70 00-00>) Google Mock tried the following 1 expectation, but it didn't match: ../../chrome/browser/download/download_target_determiner_unittest.cc:1093: EXPECT_CALL(*delegate(), DetermineLocalPath( _, GetPathInDownloadDir("virtual/foo.txt"), _))... Expected arg #1: is equal to /b/s/w/it3CAZ5E/.org.chromium.Chromium.pL6BKY/virtual/foo.txt Actual: /b/s/w/it3CAZ5E/.org.chromium.Chromium.1swnRE/foo.txt Expected: to be called once Actual: never called - unsatisfied and active Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x55f26b6326aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55f26b6326aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55f25a519676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55f25a54d819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55f25a54b82a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55f25a4fc02b in testing::internal::GoogleTestFailureReporter::ReportFailure(testing::internal::FailureReporterInterface::FailureType, char const*, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../third_party/googletest/src/googlemock/src/gmock-internal-utils.cc:103:35 #6 0x55f25a50dde1 in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x55f25a50dde1 in testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:468:0 #8 0x55f24ebdfdff in Invoke ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1595:15 #9 0x55f24ebdfdff in (anonymous namespace)::MockDownloadTargetDeterminerDelegate::DetermineLocalPath(download::DownloadItem*, base::FilePath const&, base::RepeatingCallback<void (base::FilePath const&)> const&) ./../../chrome/browser/download/download_target_determiner_unittest.cc:195:0 #10 0x55f26c5f02d8 in DownloadTargetDeterminer::DoDetermineLocalPath() ./../../chrome/browser/download/download_target_determiner.cc:512:14 #11 0x55f24ebff7c6 in operator() ./../../buildtools/third_party/libc++/trunk/include/functional:2123:16 #12 0x55f24ebff7c6 in operator() ./../../buildtools/third_party/libc++/trunk/include/functional:2347:0 #13 0x55f24ebff7c6 in ApplyImpl<const std::__1::function<void (download::DownloadItem *, const base::FilePath &, bool, download::DownloadPathReservationTracker::FilenameConflictAction, const base::RepeatingCallback<void (download::PathValidationResult, const base::FilePath &)> &)> &, std::__1::tuple<download::DownloadItem *, const base::FilePath &, bool, download::DownloadPathReservationTracker::FilenameConflictAction, const base::RepeatingCallback<void (download::PathValidationResult, const base::FilePath &)> &>, 0, 1, 2, 3, 4> ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:520:0 #14 0x55f24ebff7c6 in Apply<const std::__1::function<void (download::DownloadItem *, const base::FilePath &, bool, download::DownloadPathReservationTracker::FilenameConflictAction, const base::RepeatingCallback<void (download::PathValidationResult, const base::FilePath &)> &)> &, std::__1::tuple<download::DownloadItem *, const base::FilePath &, bool, download::DownloadPathReservationTracker::FilenameConflictAction, const base::RepeatingCallback<void (download::PathValidationResult, const base::FilePath &)> &> > ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:528:0 #15 0x55f24ebff7c6 in Perform ./../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h:394:0 #16 0x55f24ebff7c6 in testing::internal::FunctionMocker<void (download::DownloadItem*, base::FilePath const&, bool, download::DownloadPathReservationTracker::FilenameConflictAction, base::RepeatingCallback<void (download::PathValidationResult, base::FilePath const&)> const&)>::PerformDefaultAction(std::__1::tuple<download::DownloadItem*, base::FilePath const&, bool, download::DownloadPathReservationTracker::FilenameConflictAction, base::RepeatingCallback<void (download::PathValidationResult, base::FilePath const&)> const&>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1519:0 #17 0x55f24ebfd47b in PerformDefaultAction<void (download::DownloadItem *, const base::FilePath &, bool, download::DownloadPathReservationTracker::FilenameConflictAction, const base::RepeatingCallback<void (download::PathValidationResult, const base::FilePath &)> &)> ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1434:18 #18 0x55f24ebfd47b in testing::internal::FunctionMocker<void (download::DownloadItem*, base::FilePath const&, bool, download::DownloadPathReservationTracker::FilenameConflictAction, base::RepeatingCallback<void (download::PathValidationResult, base::FilePath const&)> const&)>::UntypedPerformDefaultAction(void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1544:0 #19 0x55f25a50e182 in testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:405:20 #20 0x55f24ebdf73f in Invoke ./../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1595:15 #21 0x55f24ebdf73f in (anonymous namespace)::MockDownloadTargetDeterminerDelegate::ReserveVirtualPath(download::DownloadItem*, base::FilePath const&, bool, download::DownloadPathReservationTracker::FilenameConflictAction, base::RepeatingCallback<void (download::PathValidationResult, base::FilePath const&)> const&) ./../../chrome/browser/download/download_target_determiner_unittest.cc:198:0 #22 0x55f26c5ef9d2 in DownloadTargetDeterminer::DoReserveVirtualPath() ./../../chrome/browser/download/download_target_determiner.cc:364:14 #23 0x55f26c5eca23 in DownloadTargetDeterminer::DoLoop() ./../../chrome/browser/download/download_target_determiner.cc:149:18 #24 0x55f26c5f3bfb in DownloadTargetDeterminer::NotifyExtensionsDone(base::FilePath const&, download::DownloadPathReservationTracker::FilenameConflictAction) ./../../chrome/browser/download/download_target_determiner.cc:352:3 #25 0x55f24ec22690 in Run ./../../base/callback.h:140:12 #26 0x55f24ec22690 in Invoke<base::RepeatingCallback<void (const base::FilePath &, download::DownloadPathReservationTracker::FilenameConflictAction)>, base::FilePath, download::DownloadPathReservationTracker::FilenameConflictAction> ./../../base/bind_internal.h:575:0 #27 0x55f24ec22690 in MakeItSo<base::RepeatingCallback<void (const base::FilePath &, download::DownloadPathReservationTracker::FilenameConflictAction)>, base::FilePath, download::DownloadPathReservationTracker::FilenameConflictAction> ./../../base/bind_internal.h:599:0 #28 0x55f24ec22690 in RunImpl<base::RepeatingCallback<void (const base::FilePath &, download::DownloadPathReservationTracker::FilenameConflictAction)>, std::__1::tuple<base::FilePath, download::DownloadPathReservationTracker::FilenameConflictAction>, 0, 1> ./../../base/bind_internal.h:672:0 #29 0x55f24ec22690 in base::internal::Invoker<base::internal::BindState<base::RepeatingCallback<void (base::FilePath const&, download::DownloadPathReservationTracker::FilenameConflictAction)>, base::FilePath, download::DownloadPathReservationTracker::FilenameConflictAction>, void ()>::RunOnce(base::internal::BindStateBase*) ./../../base/bind_internal.h:641:0 #30 0x55f26b846649 in Run ./../../base/callback.h:99:12 #31 0x55f26b846649 in base::TaskAnnotator::RunTask(char const*, base::PendingTask*) ./../../base/task/common/task_annotator.cc:104:0 #32 0x55f26b84a0dd in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:336:21 #33 0x55f26b849644 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:217:7 #34 0x55f26ba29cfd in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) ./../../base/message_loop/message_pump_libevent.cc:208:55 #35 0x55f26b84c530 in Run ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 #36 0x55f26b84c530 in non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:0:0 #37 0x55f26b769f74 in base::RunLoop::Run() ./../../base/run_loop.cc:157:14 #38 0x55f24ec34b88 in (anonymous namespace)::DownloadTargetDeterminerTest::RunDownloadTargetDeterminer(base::FilePath const&, download::MockDownloadItem*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:466:12 ../../chrome/browser/download/download_target_determiner_unittest.cc:1093: Failure Actual function call count doesn't match EXPECT_CALL(*delegate(), DetermineLocalPath( _, GetPathInDownloadDir("virtual/foo.txt"), _))... Expected: to be called once Actual: never called - unsatisfied and active Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x55f26b6326aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55f26b6326aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55f25a519676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55f25a54d819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55f25a54b82a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55f25a4fc02b in testing::internal::GoogleTestFailureReporter::ReportFailure(testing::internal::FailureReporterInterface::FailureType, char const*, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) ./../../third_party/googletest/src/googlemock/src/gmock-internal-utils.cc:103:35 #6 0x55f25a50ff6e in Expect ./../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h:301:27 #7 0x55f25a50ff6e in testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked() ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:527:0 #8 0x55f25a5129b2 in testing::Mock::VerifyAndClearExpectationsLocked(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:748:17 #9 0x55f25a512764 in testing::Mock::VerifyAndClearExpectations(void*) ./../../third_party/googletest/src/googlemock/src/gmock-spec-builders.cc:717:10 #10 0x55f24ec34ba8 in (anonymous namespace)::DownloadTargetDeterminerTest::RunDownloadTargetDeterminer(base::FilePath const&, download::MockDownloadItem*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:467:3 ../../chrome/browser/download/download_target_determiner_unittest.cc:487: Failure Expected equality of these values: expected_local_path.value() Which is: "" target_info->target_path.value() Which is: "/b/s/w/it3CAZ5E/.org.chromium.Chromium.1swnRE/foo.txt" Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x55f26b6326aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55f26b6326aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55f25a519676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55f25a54d819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55f25a54b82a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55f24ec357f5 in (anonymous namespace)::DownloadTargetDeterminerTest::VerifyDownloadTarget((anonymous namespace)::DownloadTestCase const&, DownloadTargetInfo const*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:487:3 ../../chrome/browser/download/download_target_determiner_unittest.cc:520: Failure Expected equality of these values: expected_local_path.value() Which is: "" target_info->intermediate_path.value() Which is: "/b/s/w/it3CAZ5E/.org.chromium.Chromium.1swnRE/foo.txt.crdownload" Google Test trace: ../../chrome/browser/download/download_target_determiner_unittest.cc:477: Running test case 0 Stack trace: #0 0x55f26b6326aa in StackTrace ./../../base/debug/stack_trace.cc:206:12 #1 0x55f26b6326aa in base::debug::StackTrace::StackTrace() ./../../base/debug/stack_trace.cc:203:0 #2 0x55f25a519676 in StackTraceGetter::CurrentStackTrace(int, int) ./../../third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc:22:27 #3 0x55f25a54d819 in testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(int) ./../../third_party/googletest/src/googletest/src/gtest.cc:826:35 #4 0x55f25a54b82a in testing::internal::AssertHelper::operator=(testing::Message const&) const ./../../third_party/googletest/src/googletest/src/gtest.cc:408:25 #5 0x55f24ec36bbd in (anonymous namespace)::DownloadTargetDeterminerTest::VerifyDownloadTarget((anonymous namespace)::DownloadTestCase const&, DownloadTargetInfo const*) ./../../chrome/browser/download/download_target_determiner_unittest.cc:519:7 [ FAILED ] DownloadTargetDeterminerTest.LocalPathFailed (72 ms) [ RUN ] DownloadTargetDeterminerTest.LocalPathFailed [ OK ] DownloadTargetDeterminerTest.LocalPathFailed (144 ms) ================================================================================