LocalRdbmsServiceTestConfig

com.google.appengine.tools.development.testing

Class LocalRdbmsServiceTestConfig

  • java.lang.Object
    • com.google.appengine.tools.development.testing.LocalRdbmsServiceTestConfig
  • All Implemented Interfaces:
    LocalServiceTestConfig


    public class LocalRdbmsServiceTestConfig
    extends java.lang.Object
    implements LocalServiceTestConfig
    Config for accessing the local RDBMS service in tests. Default behavior is to configure the local service to use an in-memory database. tearDown() does not wipe out data or tables.
    • Constructor Detail

      • LocalRdbmsServiceTestConfig

        public LocalRdbmsServiceTestConfig()
    • Method Detail

      • getLocalRdbmsService

        public static LocalRdbmsService getLocalRdbmsService()
      • getDriverClass

        public java.lang.String getDriverClass()
        Returns:
        The driver class.
      • setDriverClass

        public LocalRdbmsServiceTestConfig setDriverClass(java.lang.String driverClass)
        Sets the class of the driver used by the com.google.appengine.api.rdbms.dev.LocalRdbmsServiceLocalDriver and attempts to load driverClass in the current ClassLoader.
        Parameters:
        driverClass - The driver class. Must be the fully-qualified name of a class that implements Driver.
        Returns:
        this (for chaining)