Package com.voyagegames.java.tracking

Examples of com.voyagegames.java.tracking.UserView


  @Test
  public void testTrackUserView() {
    final TestAccumulator acc = new TestAccumulator();
    final TestDispatcher disp = new TestDispatcher();
    final Tracker<?, ?> tracker = new Tracker<TestAccumulator, TestDispatcher>(acc, disp);
    final UserView data = new UserView("testkey", "testvalue");

    assertTrue(0 == acc.getTrackingData().size());
    tracker.trackUserView(data);
    assertTrue(1 == acc.getTrackingData().size());
    assertTrue(data == acc.getTrackingData().get(0));
View Full Code Here


  }

  @Test
  public void testTrackUserView() {
    final BasicAccumulator acc = new BasicAccumulator();
    final UserView data = new UserView("testkey", "testvalue");
   
    assertTrue(0 == acc.getTrackingData().size());
    acc.trackUserView(data);
    assertTrue(1 == acc.getTrackingData().size());
    assertTrue(data == acc.getTrackingData().get(0));
View Full Code Here

TOP

Related Classes of com.voyagegames.java.tracking.UserView

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.