8000 UNITTEST_TIME_CONSTRAINT_EXEMPT broke in TEST_FIXTURE · Issue #9 · unittest-cpp/unittest-cpp · GitHub
[go: up one dir, main page]

Skip to content

UNITTEST_TIME_CONSTRAINT_EXEMPT broke in TEST_FIXTURE #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pjohnmeyer opened this issue Jan 17, 2013 · 0 comments · Fixed by #26
Closed

UNITTEST_TIME_CONSTRAINT_EXEMPT broke in TEST_FIXTURE #9

pjohnmeyer opened this issue Jan 17, 2013 · 0 comments · Fixed by #26
Assignees
Labels
Milestone

Comments

@pjohnmeyer
Copy link
Member

Copied from https://sourceforge.net/tracker/?func=detail&aid=1706223&group_id=158151&atid=806684

The macro UNITTEST_TIME_CONSTRAINT_EXEMPT is defined for TEST but not for TEST_FIXTURE.

Try:

struct simpleFix
{
};
TEST_FIXTURE(simpleFix, test)
{
  UNITTEST_TIME_CONSTRAINT_EXEMPT();
}

Candidate patch is already available at https://sourceforge.net/tracker/?func=detail&aid=2746453&group_id=158151&atid=806686

@ghost ghost assigned pjohnmeyer Feb 20, 2013
pjohnmeyer added a commit that referenced this issue Apr 4, 2015
…tForFixtures

Fix unit test time constraint exempt for fixtures; closes #9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0