New issue
Advanced search Search tips

Issue 605251 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

create a test case for handling assist request when there is no initial navigation

Project Member Reported by sgu...@chromium.org, Apr 20 2016

Issue description

Once we move the assist code out of Aw to content and combine the path for webview and chrome, this test became untrivial to test because ViewStructure does not lend itself to testing (a large abstract class):

 @Feature({"AndroidWebView"})
    @SmallTest
    public void testRequestAccessibilitySnapshotAboutBlank() throws Throwable {
        
        AccessibilitySnapshotNode root = receiveAccessibilitySnapshot(null, null);
        assertEquals(null, root);
    }

 both this and some cases in Content that would benefit from mocking viewstructure and testing. 


 

Comment 1 by sgu...@chromium.org, Sep 15 2017

Owner: paulmiller@chromium.org

Sign in to add a comment