Skip to content

let's have #include "umock_end_mocks.h" and #include "umock_begin_mocks.h" #191

@anporumb

Description

@anporumb

Those 2 headers would contain

#define ENABLE_MOCKS

respectively
#undef ENABLE_MOCKS
#include "umock_c/umock_c_prod.h"

and should have a mechanism where

  1. "umock_begin_mocks.h" after "umock_begin_mocks.h" is error
  2. "umock_end_mocks.h" without "umock_begin_mocks.h" is error
  3. "umock_end_mocks.h" after "umock_end_mocks.h" is error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions