#include "components/metrics/android_metrics_helper.h"
#include <memory>
#include "base/test/metrics/histogram_tester.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace metrics {
TEST(AndroidMetricsHelperTest, CpuAbiBitnessSupport) { … }
TEST(AndroidMetricsHelperTest, VersionCode) { … }
TEST(AndroidMetricsHelperTest, VersionCode_BadData) { … }
class AndroidMetricsHelperHistTest : public testing::Test { … };
TEST_F(AndroidMetricsHelperHistTest, EmitHistograms_CurrentSession) { … }
TEST_F(AndroidMetricsHelperHistTest, EmitHistograms_LogPreviousSession) { … }
TEST_F(AndroidMetricsHelperHistTest,
EmitHistograms_LogPreviousSessionWithSavedLocalState) { … }
TEST_F(AndroidMetricsHelperHistTest, EmitHistograms_BadData) { … }
}