chromium/ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_unittest.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter.h"

#include <memory>
#include <utility>
#include <vector>

#include "base/memory/raw_ptr.h"
#include "base/test/gtest_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/ozone/evdev/event_device_test_util.h"
#include "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_model.h"
#include "ui/events/ozone/evdev/touch_filter/palm_detection_filter.h"
#include "ui/events/ozone/evdev/touch_filter/shared_palm_detection_filter_state.h"

namespace ui {

class MockNeuralModel : public NeuralStylusPalmDetectionFilterModel {};

class NeuralStylusPalmDetectionFilterTest
    : public testing::TestWithParam<float> {};

INSTANTIATE_TEST_SUITE_P();

TEST_P(NeuralStylusPalmDetectionFilterTest, EventDeviceSimpleTest) {}

TEST(NeuralStylusPalmDetectionFilterDeathTest, EventDeviceConstructionDeath) {}

TEST_P(NeuralStylusPalmDetectionFilterTest, NameTest) {}

TEST_P(NeuralStylusPalmDetectionFilterTest, ShortTouchPalmAreaTest) {}

TEST_P(NeuralStylusPalmDetectionFilterTest, ShortTouchPalmSizeTest) {}

TEST_P(NeuralStylusPalmDetectionFilterTest, CallFilterTest) {}

TEST_P(NeuralStylusPalmDetectionFilterTest, CallFilterTestWithAdaptiveHold) {}

TEST_P(NeuralStylusPalmDetectionFilterTest, InferenceOnceNotPalm) {}

TEST_P(NeuralStylusPalmDetectionFilterTest, InferenceOncePalm) {}

TEST_P(NeuralStylusPalmDetectionFilterTest, DelayShortFingerTouch) {}

TEST_P(NeuralStylusPalmDetectionFilterTest, DelayShortPalmTouch) {}

}  // namespace ui