Package uk.co.blackpepper.shadowtail.data.support

Examples of uk.co.blackpepper.shadowtail.data.support.ManagedStatisticGroup


  @Before
  public void setUp() throws Exception {
    fileFactory = new MockFileFactory();
    logger = new FileLogger();

    group1 = new ManagedStatisticGroup();
    group2 = new ManagedStatisticGroup();
    stat1 = new MockStatistic();
    stat2 = new MockStatistic();
    stat3 = new MockStatistic();

    group1.setName("group1");
View Full Code Here


   * Test method for
   * {@link uk.co.blackpepper.shadowtail.output.file.FileLogger#init()}.
   */
  @Test
  public void testInitInconsistentGroup() {
    fileFactory.setStatisticGroup(new ManagedStatisticGroup());
    logger.setGroup(group1);
    logger.setFileFactory(fileFactory);
    try {
      logger.init();
      fail("Expected IllegalStateException.");
View Full Code Here

   * Set up.
   */
  @Before
  public void setUp() {
    factory = new DateDrivenFileFactory();
    group1 = new ManagedStatisticGroup();
    group2 = new ManagedStatisticGroup();
    stat1 = new MockStatistic();
    stat2 = new MockStatistic();
    stat3 = new MockStatistic();
   
    group1.setName("group1");
View Full Code Here

  @Before
  public void setUp() throws Exception {
    fileFactory = new MockFileFactory();
    logger = new FileLogger();

    group1 = new ManagedStatisticGroup();
    group2 = new ManagedStatisticGroup();
    stat1 = new MockStatistic();
    stat2 = new MockStatistic();
    stat3 = new MockStatistic();

    group1.setName("group1");
View Full Code Here

   * Test method for
   * {@link uk.co.blackpepper.shadowtail.output.file.FileLogger#init()}.
   */
  @Test
  public void testInitInconsistentGroup() {
    fileFactory.setStatisticGroup(new ManagedStatisticGroup());
    logger.setGroup(group1);
    logger.setFileFactory(fileFactory);
    try {
      logger.init();
      fail("Expected IllegalStateException.");
View Full Code Here

   * Set up.
   */
  @Before
  public void setUp() {
    factory = new DateDrivenFileFactory();
    group1 = new ManagedStatisticGroup();
    group2 = new ManagedStatisticGroup();
    stat1 = new MockStatistic();
    stat2 = new MockStatistic();
    stat3 = new MockStatistic();
   
    group1.setName("group1");
View Full Code Here

TOP

Related Classes of uk.co.blackpepper.shadowtail.data.support.ManagedStatisticGroup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.