Update of /cvsroot/csms/csms-core/src/test/src/org/fanfoot/scoring
In directory usw-pr-cvs1:/tmp/cvs-serv8730
Modified Files:
TestEventParser.java
Log Message:
Corrected tests to accound for new method of retrieving bookings.
Index: TestEventParser.java
===================================================================
RCS file: /cvsroot/csms/csms-core/src/test/src/org/fanfoot/scoring/TestEventParser.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestEventParser.java 18 Oct 2002 15:06:18 -0000 1.1
--- TestEventParser.java 22 Oct 2002 22:51:34 -0000 1.2
***************
*** 1,14 ****
/*
! * File is generated by 'Unit Tests Generator' developed under
! * 'Web Test Tools' project at http://sf.net/projects/wttools/
! * Copyright (C) 2001 "Artur Hefczyc" <ko...@us...>
! * to all 'Web Test Tools' subprojects.
*
! * No rigths to files and no responsibility for code generated
! * by this tool are belonged to author of 'unittestsgen' utility.
*
! * $Id$
[...1054 lines suppressed...]
! assertEquals("Time for Substitution 1)", strNormalTimeSecondsSubstitution6,
! evt.getPart("normalTimeSeconds"));
! assertEquals("Time for Substitution 1)", strInjuryTimeMinutesSubstitution6,
! evt.getPart("injuryTimeMinutes"));
! assertEquals("Time for Substitution 1)", strInjuryTimeSecondsSubstitution6,
! evt.getPart("injuryTimeSeconds"));
! assertEquals("Reason for Substitution 6", strSubstitutionReason6,
! evt.getPart("reason"));
!
! // Verify team starters
! alEvts = evts.getEventsByType("teamStarter");
!
! //Verify team starter 1
! evt = (Event) alEvts.get(intIndexTeamStarter1);
! assertEquals("Player for Team Starter 1", strNameTeamStarter1,
! evt.getPart("player"));
!
! }// end of testParse11952594931195259493(java.lang.String, java.lang.String)
! }
|