Class EmulatorSpannerHelper


  • public class EmulatorSpannerHelper
    extends Object
    Utility class for checking emulator state for tests
    • Constructor Detail

      • EmulatorSpannerHelper

        public EmulatorSpannerHelper()
    • Method Detail

      • isUsingEmulator

        public static boolean isUsingEmulator()
        Checks whether the emulator is being used. This is done by checking if the SPANNER_EMULATOR_HOST environment variable is set.
        Returns:
        true if the emulator is being used. Returns false otherwise.