urbanairship-core/src/test/java/com/urbanairship/actions/ActionRegistryTest.java
@Test
    public void testDefaultActions() {
        registry.registerDefaultActions(TestApplication.getApplication());
        assertEquals("Default entries changed", 18, registry.getEntries().size());

        validateEntry(registry.getEntry("^p"), "^p", "landing_page_action");
        validateEntry(registry.getEntry("^d"), "^d", "deep_link_action");
        validateEntry(registry.getEntry("^+t"), "^+t", "add_tags_action");
        validateEntry(registry.getEntry("^-t"), "^-t", "remove_tags_action");
        validateEntry(registry.getEntry("^u"), "^u", "open_external_url_action");
        validateEntry(registry.getEntry("add_custom_event_action"), "add_custom_event_action");
        validateEntry(registry.getEntry("^s"), "^s", "share_action");
        validateEntry(registry.getEntry("^mc"), "^mc", "open_mc_action");
        validateEntry(registry.getEntry("^c"), "^c", "clipboard_action");
        validateEntry(registry.getEntry("^mco"), "^mco", "open_mc_overlay_action");
        validateEntry(registry.getEntry("toast_action"), "toast_action");
        validateEntry(registry.getEntry("^w"), "^w", "wallet_action");
        validateEntry(registry.getEntry("^csa"), "^csa", "cancel_scheduled_actions");
        validateEntry(registry.getEntry("^sa"), "^sa", "schedule_actions");
        validateEntry(registry.getEntry("^fdi"), "^fdi", "fetch_device_info");
        validateEntry(registry.getEntry("^cc"), "^cc", "channel_capture_action");
        validateEntry(registry.getEntry("^ef"), "^ef", "enable_feature");
        validateEntry(registry.getEntry("^ra"), "^ra", "rate_app_action");


    }
/**
     * Tests that the default actions are registered under the correct names
     */
Tests that the default actions are registered under the correct names
Tests that the default actions are registered under the correct names
@Test
    public void testDefaultActions() {
        registry.registerDefaultActions(TestApplication.getApplication());
        assertEquals("Default entries changed", 18, registry.getEntries().size());
        validateEntry(registry.getEntry("^p"), "^p", "landing_page_action");
        validateEntry(registry.getEntry("^d"), "^d", "deep_link_action");
        validateEntry(registry.getEntry("^+t"), "^+t", "add_tags_action");
        validateEntry(registry.getEntry("^-t"), "^-t", "remove_tags_action");
        validateEntry(registry.getEntry("^u"), "^u", "open_external_url_action");
        validateEntry(registry.getEntry("add_custom_event_action"), "add_custom_event_action");
        validateEntry(registry.getEntry("^s"), "^s", "share_action");
        validateEntry(registry.getEntry("^mc"), "^mc", "open_mc_action");
        validateEntry(registry.getEntry("^c"), "^c", "clipboard_action");
        validateEntry(registry.getEntry("^mco"), "^mco", "open_mc_overlay_action");
        validateEntry(registry.getEntry("toast_action"), "toast_action");
        validateEntry(registry.getEntry("^w"), "^w", "wallet_action");
        validateEntry(registry.getEntry("^csa"), "^csa", "cancel_scheduled_actions");
        validateEntry(registry.getEntry("^sa"), "^sa", "schedule_actions");
        validateEntry(registry.getEntry("^fdi"), "^fdi", "fetch_device_info");
        validateEntry(registry.getEntry("^cc"), "^cc", "channel_capture_action");
        validateEntry(registry.getEntry("^ef"), "^ef", "enable_feature");
        validateEntry(registry.getEntry("^ra"), "^ra", "rate_app_action");
    }
@ Test public void testDefaultActions ( ) { registry . registerDefaultActions ( TestApplication . getApplication ( ) ) ; assertEquals ( "Default entries changed" , 18 , registry . getEntries ( ) . size ( ) ) ; validateEntry ( registry . getEntry ( "^p" ) , "^p" , "landing_page_action" ) ; validateEntry ( registry . getEntry ( "^d" ) , "^d" , "deep_link_action" ) ; validateEntry ( registry . getEntry ( "^+t" ) , "^+t" , "add_tags_action" ) ; validateEntry ( registry . getEntry ( "^-t" ) , "^-t" , "remove_tags_action" ) ; validateEntry ( registry . getEntry ( "^u" ) , "^u" , "open_external_url_action" ) ; validateEntry ( registry . getEntry ( "add_custom_event_action" ) , "add_custom_event_action" ) ; validateEntry ( registry . getEntry ( "^s" ) , "^s" , "share_action" ) ; validateEntry ( registry . getEntry ( "^mc" ) , "^mc" , "open_mc_action" ) ; validateEntry ( registry . getEntry ( "^c" ) , "^c" , "clipboard_action" ) ; validateEntry ( registry . getEntry ( "^mco" ) , "^mco" , "open_mc_overlay_action" ) ; validateEntry ( registry . getEntry ( "toast_action" ) , "toast_action" ) ; validateEntry ( registry . getEntry ( "^w" ) , "^w" , "wallet_action" ) ; validateEntry ( registry . getEntry ( "^csa" ) , "^csa" , "cancel_scheduled_actions" ) ; validateEntry ( registry . getEntry ( "^sa" ) , "^sa" , "schedule_actions" ) ; validateEntry ( registry . getEntry ( "^fdi" ) , "^fdi" , "fetch_device_info" ) ; validateEntry ( registry . getEntry ( "^cc" ) , "^cc" , "channel_capture_action" ) ; validateEntry ( registry . getEntry ( "^ef" ) , "^ef" , "enable_feature" ) ; validateEntry ( registry . getEntry ( "^ra" ) , "^ra" , "rate_app_action" ) ; }
Tests that the default actions are registered under the correct names
Tests that the default actions are registered under the correct names