Internal change
PiperOrigin-RevId: 525476655
This commit is contained in:
parent
0aea6d90a8
commit
9818ebb630
|
@ -32,7 +32,7 @@ limitations under the License.
|
||||||
#include "mediapipe/framework/port/gtest.h"
|
#include "mediapipe/framework/port/gtest.h"
|
||||||
#include "mediapipe/framework/port/status_matchers.h"
|
#include "mediapipe/framework/port/status_matchers.h"
|
||||||
#include "mediapipe/tasks/cc/common.h"
|
#include "mediapipe/tasks/cc/common.h"
|
||||||
#include "tensorflow/lite/core/shims/cc/shims_test_util.h"
|
#include "tensorflow/lite/test_util.h"
|
||||||
|
|
||||||
namespace mediapipe::tasks::text::language_detector {
|
namespace mediapipe::tasks::text::language_detector {
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -75,7 +75,7 @@ absl::Status MatchesLanguageDetectorResult(
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
class LanguageDetectorTest : public tflite_shims::testing::Test {};
|
class LanguageDetectorTest : public tflite::testing::Test {};
|
||||||
|
|
||||||
TEST_F(LanguageDetectorTest, CreateFailsWithMissingModel) {
|
TEST_F(LanguageDetectorTest, CreateFailsWithMissingModel) {
|
||||||
auto options = std::make_unique<LanguageDetectorOptions>();
|
auto options = std::make_unique<LanguageDetectorOptions>();
|
||||||
|
|
|
@ -38,7 +38,7 @@ limitations under the License.
|
||||||
#include "mediapipe/tasks/cc/vision/core/image_processing_options.h"
|
#include "mediapipe/tasks/cc/vision/core/image_processing_options.h"
|
||||||
#include "mediapipe/tasks/cc/vision/pose_landmarker/pose_landmarker_result.h"
|
#include "mediapipe/tasks/cc/vision/pose_landmarker/pose_landmarker_result.h"
|
||||||
#include "mediapipe/tasks/cc/vision/utils/image_utils.h"
|
#include "mediapipe/tasks/cc/vision/utils/image_utils.h"
|
||||||
#include "tensorflow/lite/core/shims/cc/shims_test_util.h"
|
#include "tensorflow/lite/test_util.h"
|
||||||
#include "util/tuple/dump_vars.h"
|
#include "util/tuple/dump_vars.h"
|
||||||
|
|
||||||
namespace mediapipe {
|
namespace mediapipe {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user