studentName."
s in student.getName().
getNumberOfStudents message is sentgetAllStudents message is sentstudent1 and student2.
testReport constructs its own CourseSession objecttestRosterReport constructs its own CourseSession objecttestCreateDate, replace:Calendar calendar = new GregorianCalendar();GregorianCalendar calendar = new GregorianCalendar();testReport method from CourseSessionTesttestRosterReport method from CourseSessionTestwriteReportgetReportstudentinfo package down a level so that it is in a package named sis.reportinfo.studentinfo package down a level so that it is in a package named sis.studentinfo.reports packagereport packagetestCount..."session = createCourseSession();
instead of CourseSession.create(...)compareTo methodcompareTo methodimplements Comparable<Student>implements Comparable<Student>
Session session = createSession(new Date());
Session session = createSession("", "", new Date());
while loop example uses a StringBuffer instead of a StringBuilder. This
really isn't a problem since we've already discussed StringBuffer, but under J2SE 5.0
you will probably want to prefer use of the new StringBuilder class.tokenize method at the bottom of the page should be named split.for loop statement in isPalindrome, the code should read:
forward++, backward--)
i.e. with two hyphens (minus signs) after backward. (It actually does have two hyphens, but
the typeface used makes them appear as one.)
testKeys, getMessages method should be changed to public.
assertTrue(classes.contains("sis.testing.SuiteBuilderTest.class"));
public TestSuite suite() {
TestSuite suite = new TestSuite();
for (String className: gatherTestClassNames()) {
Class klass = createClass(className);
suite.addTestSuite(klass);
}
return suite;
}
\\n
instead of \\.getErrorOutput should return errorOutput.toString(),
not output.toString().