Skip to content
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

Improvement suggestions: CuAssertStrnEquals(), Setup()/Teardown(), const void * ptr #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

lgov
Copy link

@lgov lgov commented Dec 30, 2013

Hi.

Based on your account name I'm assuming this is the master repository of the CuTest code.

These are the changes that we have made to CuTest as used in the test suite of the serf project ( https://code.google.com/p/serf/ ). You're welcome to include them in your master copy of the code, for release under your preferred license.

Besides the improvements mentioned in the title, I've also added your license text in the source files per your instructions in license.txt. You'll probably want to remove the list of customisations in CuTest.h

thanks,

Lieven

lgov added 7 commits December 28, 2013 10:37
    CuAssertStrnEquals_LineMsg().

These functions allow a partial compare of expected/actual strings.
Code was originally contributed to the version of CuTest used by the
serf project.
CuTest.c/CuAssertStrnEquals_LineMsg: Check for expected length == 0 first, the
    actual data pointer is not necessarily initialized in that case.

Code was originally contributed to the version of CuTest used by the
serf project.
…d after

every test.

Code was originally contributed to the version of CuTest used by the
serf project.
test that a 'const char *' value is NULL without cast.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant