Examples of trackUserView()


Examples of com.voyagegames.java.tracking.BasicAccumulator.trackUserView()

  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
Copyright © 2018 www.massapi.com. 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.