[OpenSIPS-Devel] [OpenSIPS/opensips] 6eedad: fixup_named_flags(): Add a few unit tests

Liviu Chircu noreply at github.com
Wed Oct 11 16:05:39 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6eedadb6804c0b69c39302eca279b5706ec825c7
      https://github.com/OpenSIPS/opensips/commit/6eedadb6804c0b69c39302eca279b5706ec825c7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-10-11 (Wed, 11 Oct 2023)

  Changed paths:
    M test/test_ut.c
    M test/test_ut.h

  Log Message:
  -----------
  fixup_named_flags(): Add a few unit tests

It's easy to lose track of how this function works, given there are 3
different ways of invoking it.  So write a few tests to "lock in" its
behavior and also make it available for double-checking on demand.





More information about the Devel mailing list