Project

General

Profile

Actions

Optimization #4066

open

Add a PASS_IF_NULL macro to the FAIL/PASS API

Added by Shivani Bhardwaj 11 months ago. Updated 11 months ago.

Status:
In Review
Priority:
Normal
Assignee:
Target version:
-
Effort:
Difficulty:
Label:
Beginner, C, Outreachy

Description

src/util-unittests.h contains a few macro definitions that are being used in the new tests. There is PASS, PASS_IF for the success paths. Add a `PASS_IF_NULL` macro. Its function should be as the name suggests. It should pass if the value provided to it is NULL.

Actions #1

Updated by Janani Ramjee 11 months ago

  • Subject changed from Add a FAIL_IF_NULL macro to the FAIL/PASS API to Add a PASS_IF_NULL macro to the FAIL/PASS API
  • Assignee changed from Community Ticket to Janani Ramjee
Actions #2

Updated by Janani Ramjee 11 months ago

  • Status changed from New to In Review
Actions

Also available in: Atom PDF