blob: e40243ec8446587596f64be9ba59d2b41035a875 [file] [log] [blame]
// Copyright 2018 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.
package org.chromium.android_webview.test;
import android.support.test.filters.SmallTest;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.chromium.base.test.util.Feature;
/**
* AwContents container view tests.
*/
@RunWith(AwJUnit4ClassRunner.class)
public class AwContentsContainerViewTest {
@Rule
public AwActivityTestRule mActivityTestRule = new AwActivityTestRule();
private TestAwContentsClient mContentsClient;
private AwTestContainerView mContainerView;
@Before
public void setUp() throws Exception {
mContentsClient = new TestAwContentsClient();
mContainerView = mActivityTestRule.createAwTestContainerViewOnMainSync(mContentsClient);
}
@Test
@SmallTest
@Feature({"AndroidWebView"})
public void testContainerViewClickable() throws Throwable {
Assert.assertTrue(mContainerView.isClickable());
}
}