Class CapacityControlServiceTest


  • @SpringJUnitConfig(locations="classpath:tariff-test-config.xml")
    @DirtiesContext
    public class CapacityControlServiceTest
    extends Object
    Test cases for CapacityControlService
    Author:
    John Collins
    • Constructor Detail

      • CapacityControlServiceTest

        public CapacityControlServiceTest()
    • Method Detail

      • testPostEconomicControl

        @Test
        public void testPostEconomicControl()
        Test method for CapacityControlService.postEconomicControl(org.powertac.common.msg.EconomicControlEvent).
      • postBogusEconomicControl

        @Test
        public void postBogusEconomicControl()
      • regulationCapacity

        @Test
        public void regulationCapacity()
      • regulationCapacityRegRate

        @Test
        public void regulationCapacityRegRate()
      • testExerciseBalancingControlUp

        @Test
        public void testExerciseBalancingControlUp()
        Up-regulation test
      • testExerciseBalancingControlDown

        @Test
        public void testExerciseBalancingControlDown()
        Up-regulation test
      • testActivate

        @Test
        public void testActivate()
        Test method for CapacityControlService.activate(org.joda.time.Instant, int).