01 /*
02 * Created on Aug 30, 2007
03 */
04 package com.x8ing.mc.bp;
05
06 import java.util.GregorianCalendar;
07
08 import junit.framework.TestCase;
09
10 /**
11 * @author Patrick Heusser
12 */
13 public class LogBookTest extends TestCase {
14
15 public void test1() {
16
17 LogBook logBook = new LogBook();
18
19 logBook.addLogEntry(GregorianCalendar.getInstance(), "entry1");
20 logBook.addLogEntry(GregorianCalendar.getInstance(), "entry2");
21 logBook.addLogEntry(GregorianCalendar.getInstance(), "entry3");
22 logBook.addLogEntry(GregorianCalendar.getInstance(), "entry4");
23
24 System.out.println(logBook.printLogBook(false));
25 }
26 }
|