Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-3583 Remove all usages of static methods to the Cache
  3. GEODE-4460

Remove singleton calls from all tests in org.apache.geode.management.internal.cli.commands

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • gfsh, tests
    • None

    Description

      These tests in org.apache.geode.management.internal.cli.commands invoke singleton getters.

      CacheFactory.getAnyInstance():

      • ClientCommandsTestUtils
      • DescribeRegionDUnitTest
      • GemfireDataCommandsDUnitTest
      • ListRegionDUnitTest
      • RemoveCommandDUnitTest
      • RemoveCommandJsonDUnitTest
      • ShowLogCommandDUnitTest
      • ShutdownCommandDUnitTest

      GemFireCacheImpl.getInstance():

      • ClientCommandsTestUtils
      • CreateAlterDestroyRegionCommandsDUnitTest
      • DeployCommandFunctionRegistrationDUnitTest
      • DeployCommandRedeployDUnitTest
      • DescribeClientCommandDUnitTest
      • ExportLogsDUnitTest
      • GemfireDataCommandsDUnitTest
      • ListClientCommandDUnitTest
      • LoopingFunctionExecutor

      Attachments

        Activity

          People

            Unassigned Unassigned
            klund Kirk Lund
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: