Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SmokeTest.java
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5package io.flutter;
6
7import static org.junit.Assert.assertTrue;
8
9import android.text.TextUtils;
10import androidx.test.ext.junit.runners.AndroidJUnit4;
11import org.junit.Test;
12import org.junit.runner.RunWith;
13import org.robolectric.annotation.Config;
14
15/** Basic smoke test verifying that Robolectric is loaded and mocking out Android APIs. */
16@Config(manifest = Config.NONE)
17@RunWith(AndroidJUnit4.class)
18public class SmokeTest {
19 @Test
20 public void androidLibraryLoaded() {
21 assertTrue(TextUtils.equals("xyzzy", "xyzzy"));
22 }
23}