Package org.nxplanner.domain.virtual

Examples of org.nxplanner.domain.virtual.Timesheet.addEntry()


        super(name);
    }

    public static Timesheet getTestTimesheet() {
        Timesheet ts = new Timesheet(START, END);
        ts.addEntry(TestTimesheetEntry.getTestTimesheetEntry());
        ts.addDailyEntry(TestDailyTimesheetEntry.getTestDailyTimesheetEntry());
        return ts;
    }

    protected void setUp() throws Exception {
View Full Code Here


        entry1.setPersonName("Test User");
        entry1.setProjectName("Unit Testing");
        entry1.setIterationName("Test Iteration");
        entry1.setStoryName("Test Story");
        entry1.setTotalDuration(6.5);
        timesheet.addEntry(entry1);
        return timesheet;
    }

    public void testReset() {
        form.reset(support.mapping, support.request);
View Full Code Here

                        time.setIterationId(results.getInt("iteration_id"));
                        time.setIterationName(results.getString("iteration_name"));
                        time.setStoryId(results.getInt("story_id"));
                        time.setStoryName(results.getString("story_name"));
                        time.setTotalDuration(results.getDouble("total_duration"));
                        timesheet.addEntry(time);
                    }
                }
                stmt.close();
            } catch (Exception ex) {
                log.error("query error", ex);
View Full Code Here

        entry1.setPersonName("Test User");
        entry1.setProjectName("Unit Testing");
        entry1.setIterationName("Test Iteration");
        entry1.setStoryName("Test Story");
        entry1.setTotalDuration(6.5);
        timesheet.addEntry(entry1);
        return timesheet;
    }

    public void testReset() {
        form.reset(support.mapping, support.request);
View Full Code Here

                    time.setIterationId(results.getInt("iteration_id"));
                    time.setIterationName(results.getString("iteration_name"));
                    time.setStoryId(results.getInt("story_id"));
                    time.setStoryName(results.getString("story_name"));
                    time.setTotalDuration(results.getDouble("total_duration"));
                    timesheet.addEntry(time);
                }
                stmt.close();

                doDailyQuery(conn, timesheet, dailyQueryByReportDate);
                doDailyQuery(conn, timesheet, dailyQueryByStartDate);
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.