Opened 4 years ago

Last modified 4 years ago

#4524 new enhancement

more bad classification syntax

Reported by: fdupont Owned by:
Priority: low Milestone: Outstanding Tasks
Component: classification Version: git
Keywords: unittests Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

some new cases for eval context unit tests:

  • "substring(hwaddr,0,3) == 0x0a030e"
  • "substring(pkt4.chaddr,0,3) == 0x0a030e"
  • "substring(pkt4.hwaddr,0,3) == 0x0a030e"

Subtickets

Change History (3)

comment:1 Changed 4 years ago by fdupont

It is always a good idea to catch an occasion to add more unit tests from real world examples.
BTW this can be added during the next merge of a code in classification (trac has no ticket merging, cf an old discussion found googling :trac merge ticket").

comment:2 Changed 4 years ago by hschempf

  • Milestone changed from Kea-proposed to Outstanding Tasks

Per June 23 team meeting, move to Outstanding

comment:3 Changed 4 years ago by tomek

  • Keywords unittests added
Note: See TracTickets for help on using tickets.