blob: c84315c6ad748a1e6df82f735746afc866454c87 [file] [log] [blame]
// Copyright 2013 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CRASH_REPORTER_CRASH_COLLECTOR_TEST_H_
#define CRASH_REPORTER_CRASH_COLLECTOR_TEST_H_
#include "crash-reporter/crash_collector.h"
#include <string>
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
class CrashCollectorMock : public CrashCollector {
public:
CrashCollectorMock();
CrashCollectorMock(
CrashDirectorySelectionMethod crash_directory_selection_method,
CrashSendingMode crash_sending_mode);
MOCK_METHOD(void, SetUpDBus, (), (override));
MOCK_METHOD(CrashCollector::ComputedCrashSeverity,
ComputeSeverity,
(const std::string& exec_name),
(override));
};
#endif // CRASH_REPORTER_CRASH_COLLECTOR_TEST_H_