Package org.powertac.common
Class TariffSubscriptionTests
- java.lang.Object
-
- org.powertac.common.TariffSubscriptionTests
-
@SpringJUnitConfig(locations="classpath:test-config.xml") @DirtiesContext @TestExecutionListeners(listeners={org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class,org.springframework.test.context.support.DirtiesContextTestExecutionListener.class}) public class TariffSubscriptionTests extends Object
Test cases for TariffSubscription. Uses a Spring application context to access autowired components. Need to mock: Accounting, TariffMarket- Author:
- John Collins
-
-
Constructor Summary
Constructors Constructor Description TariffSubscriptionTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
regulationCapacity()
void
setUp()
void
testBalancingControlDown()
void
testBalancingControlRegRate()
void
testBalancingControlUp()
void
testBalancingControlUpRR()
void
testCurtailmentUnsubscribe1()
void
testCurtailmentUnsubscribe2()
void
testCurtailmentUnsubscribe3()
void
testEconomicControl()
void
testGetExpiredCustomerCount()
void
testGetExpiredCustomerCountNoMin()
void
testGetTotalUsage()
void
testHandleRevokedTariffDefault()
void
testHandleRevokedTariffDefaultPT()
void
testHandleRevokedTariffNegSignup()
void
testSubscribe()
void
testTariffSubscription()
void
testUnsubscribe()
void
testUsePower()
void
testUsePowerPeriodic()
-
-
-
Method Detail
-
testTariffSubscription
@Test public void testTariffSubscription()
-
testGetTotalUsage
@Test public void testGetTotalUsage()
-
testSubscribe
@Test public void testSubscribe()
-
testUnsubscribe
@Test public void testUnsubscribe()
-
testHandleRevokedTariffDefault
@Test public void testHandleRevokedTariffDefault()
-
testHandleRevokedTariffNegSignup
@Test public void testHandleRevokedTariffNegSignup()
-
testHandleRevokedTariffDefaultPT
@Test public void testHandleRevokedTariffDefaultPT()
-
testUsePower
@Test public void testUsePower()
-
testUsePowerPeriodic
@Test public void testUsePowerPeriodic()
-
testGetExpiredCustomerCount
@Test public void testGetExpiredCustomerCount()
-
testGetExpiredCustomerCountNoMin
@Test public void testGetExpiredCustomerCountNoMin()
-
regulationCapacity
@Test public void regulationCapacity()
-
testBalancingControlUp
@Test public void testBalancingControlUp()
-
testBalancingControlUpRR
@Test public void testBalancingControlUpRR()
-
testBalancingControlDown
@Test public void testBalancingControlDown()
-
testBalancingControlRegRate
@Test public void testBalancingControlRegRate()
-
testEconomicControl
@Test public void testEconomicControl()
-
testCurtailmentUnsubscribe1
@Test public void testCurtailmentUnsubscribe1()
-
testCurtailmentUnsubscribe2
@Test public void testCurtailmentUnsubscribe2()
-
testCurtailmentUnsubscribe3
@Test public void testCurtailmentUnsubscribe3()
-
-