Package org.powertac.du
Class DefaultBrokerServiceTests
- java.lang.Object
-
- org.powertac.du.DefaultBrokerServiceTests
-
@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 DefaultBrokerServiceTests extends Object
Tests for a DefaultBrokerService. See AuctionServiceTests for a detailed example. We use the Spring test runner for integration testing. Mocks may be created in the test code, or may be instantiated by Spring and autowired into the test. Test component configuration is in test-config.xml.- Author:
- John Collins
-
-
Constructor Summary
Constructors Constructor Description DefaultBrokerServiceTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testBogusInit()
void
testConfig()
void
testDefaultTariffPublication()
void
testInit()
void
testOrderTS0()
void
testOrderTS3()
void
testOrderTS3Bootstrap()
void
testReceiveConsumeMessage()
void
testReceiveSignupMessage()
void
testReceiveWithdrawMessage()
void
testService()
-
-
-
Method Detail
-
testBogusInit
@Test public void testBogusInit()
-
testService
@Test public void testService()
-
testInit
@Test public void testInit()
-
testConfig
@Test public void testConfig()
-
testDefaultTariffPublication
@Test public void testDefaultTariffPublication()
-
testReceiveSignupMessage
@Test public void testReceiveSignupMessage()
-
testReceiveWithdrawMessage
@Test public void testReceiveWithdrawMessage()
-
testReceiveConsumeMessage
@Test public void testReceiveConsumeMessage()
-
testOrderTS0
@Test public void testOrderTS0()
-
testOrderTS3
@Test public void testOrderTS3()
-
testOrderTS3Bootstrap
@Test public void testOrderTS3Bootstrap()
-
-