urbanairship-core/src/test/java/com/urbanairship/js/WhitelistTest.java
@Test
    public void testScopeAll() {
        whitelist.addEntry("*", Whitelist.SCOPE_JAVASCRIPT_INTERFACE);
        whitelist.addEntry("*://*.urbanairship.com/all.html", Whitelist.SCOPE_OPEN_URL);

        assertTrue(whitelist.isWhitelisted("https://urbanairship.com/all.html", Whitelist.SCOPE_ALL));
    }
/**
     * Test SCOPE_ALL whitelist check if two separate entries match for both types of scope.
     */
Test SCOPE_ALL whitelist check if two separate entries match for both types of scope.
Test SCOPE_ALL whitelist check if two separate entries match for both types of scope .
@Test
    public void testScopeAll() {
        whitelist.addEntry("*", Whitelist.SCOPE_JAVASCRIPT_INTERFACE);
        whitelist.addEntry("*://*.urbanairship.com/all.html", Whitelist.SCOPE_OPEN_URL);
        assertTrue(whitelist.isWhitelisted("https://urbanairship.com/all.html", Whitelist.SCOPE_ALL));
    }
@ Test public void testScopeAll ( ) { whitelist . addEntry ( "*" , Whitelist . SCOPE_JAVASCRIPT_INTERFACE ) ; whitelist . addEntry ( "*://*.urbanairship.com/all.html" , Whitelist . SCOPE_OPEN_URL ) ; assertTrue ( whitelist . isWhitelisted ( "https://urbanairship.com/all.html" , Whitelist . SCOPE_ALL ) ) ; }
Test SCOPE_ALL whitelist check if two separate entries match for both types of scope.
Test SCOPE_ALL whitelist check if two separate entries match for both types of scope .