blob: 41d85da75a53ae61e0b3ce4a0fa29044aeaece66 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/android/jni_android.h"
#include "chrome/android/native_j_unittests_jni_headers/NotificationPlatformBridgeUnitTest_jni.h"
#include "testing/gtest/include/gtest/gtest.h"
using base::android::AttachCurrentThread;
class NotificationPlatformBridgeUnitTest : public ::testing::Test {
public:
NotificationPlatformBridgeUnitTest()
: j_test_(Java_NotificationPlatformBridgeUnitTest_Constructor(
AttachCurrentThread())) {}
const base::android::ScopedJavaGlobalRef<jobject>& j_test() {
return j_test_;
}
private:
base::android::ScopedJavaGlobalRef<jobject> j_test_;
};
JAVA_TESTS(NotificationPlatformBridgeUnitTest, j_test())