Some test cases for various backends

Here are some test cases for database abstraction as described in Database abstraction with google apps script
The library reference is


Once you have set up your environment you can use these test cases to try it out. Tests here are for a few different back-ends. Just modify to try out the one you are planning to use.

The code I used at the time of writing this is now deprecated. Please refer to here for GoA

Error: Your Requested widget " jetpack_widget_social_icons-7" is not in the widget list.
  • [do_widget_area elegantwp-bottom-widgets]
    • [do_widget id="custom_html-13"]
  • [do_widget_area elegantwp-footer-1]
    • [do_widget id="eu_cookie_law_widget-2"]
  • [do_widget_area elegantwp-footer-2]
    • [do_widget id="text-5"]
  • [do_widget_area elegantwp-footer-3]
    • [do_widget_area elegantwp-footer-4]
      • [do_widget_area elegantwp-fullwidth-widgets]
        • [do_widget_area elegantwp-header-banner]
          • [do_widget_area elegantwp-home-bottom-widgets]
            • [do_widget_area elegantwp-home-fullwidth-widgets]
              • [do_widget_area elegantwp-home-top-widgets]
                • [do_widget_area elegantwp-sidebar-one]
                  • [do_widget id="bellows_navigation_widget-3"]
                • [do_widget_area elegantwp-sidebar-two]
                  • [do_widget id="custom_html-6"]
                  • [do_widget id="text-6"]
                  • [do_widget id="ai_widget-5"]
                • [do_widget_area elegantwp-top-widgets]
                  • [do_widget_area footer_left]
                    • [do_widget id="text-3"]
                  • [do_widget_area sidebar-left-widget-area]
                    • [do_widget id="categories-2"]
                  • [do_widget_area sidebar-right-widget-area]
                    • [do_widget id="custom_html-5"]
                  • [do_widget_area widgets_for_shortcodes]
                    • [do_widget id="jetpack_widget_social_icons-7"]
                  • [do_widget_area wp_inactive_widgets]
                    • [do_widget id="extended-categories-2"]

                  bruce mcpherson is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at Permissions beyond the scope of this license may be available at code use guidelines