Skip to content

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

Open
lgov wants to merge 7 commits into
asimjalis:masterfrom
lgov:master
Open

Improvement suggestions: CuAssertStrnEquals(), Setup()/Teardown(), const void * ptr#1
lgov wants to merge 7 commits into
asimjalis:masterfrom
lgov:master

Conversation

@lgov

@lgov lgov commented Dec 30, 2013

Copy link
Copy Markdown

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