DocName | Project | Version | FullName | ShortDescription |
TC_User | RailwayCrossing | V2 | TestCase_UserPrecedence |
Description | ||||||
Test the strategy: "User controls the gate"
initially no trains on track 1 slow tracks with durations (120, 30, 45,
5, 10);
1 fast track with durations (90, 15, 30, 5,
10);
car gate leaving duration = 2s,
User Interaction: (time, action)
Test-Results:
The x-axis shows the time in seconds, the y-axis shows the remaining distance to leave the crossing area in percent of the total area. Track 1:
Excerpt from logfile:
(obj1)-> obj1 setStrategy UserHalt at 595.425571924 (Thu Jan 1 01:09:55 1970)The first line signs the setting to UserHalt, and the second line shows the reaction of the controler, the rejection of this action. The reason for the rejection can be determined in the first figure. It shows, that at this time for example, train 2 of track 1 was near the gate, and therefore, the gate has to be closed. Statistics:
|