Skip to content

Commit 97da60c

Browse files
committed
Auto-generate stub for ETag.h
1 parent b9cdc2a commit 97da60c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/ETag.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ class ETag
2222
};
2323

2424
/* ETag */
25-
int etagParseInit(ETag * etag, const char *str);
25+
int etagParseInit(ETag *, const char *); //STUB_RETVAL(0)
2626
/// whether etags are strong-equal
27-
bool etagIsStrongEqual(const ETag &tag1, const ETag &tag2);
27+
bool etagIsStrongEqual(const ETag &, const ETag &); //STUB_RETVAL(false)
2828
/// whether etags are weak-equal
29-
bool etagIsWeakEqual(const ETag &tag1, const ETag &tag2);
29+
bool etagIsWeakEqual(const ETag &, const ETag &); //STUB_RETVAL(false)
3030

3131
#endif /* SQUID_SRC_ETAG_H */
3232

src/Makefile.am

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ tests_testDiskIO_SOURCES = \
15211521
ConfigOption.cc \
15221522
ConfigParser.cc \
15231523
tests/testDiskIO.cc \
1524-
tests/stub_ETag.cc \
1524+
ETag.stub.cc \
15251525
EventLoop.cc \
15261526
FadingCounter.cc \
15271527
FileMap.h \
@@ -1826,7 +1826,7 @@ check_PROGRAMS += tests/testHttpReply
18261826
tests_testHttpReply_SOURCES = \
18271827
tests/stub_CachePeer.cc \
18281828
ConfigParser.cc \
1829-
tests/stub_ETag.cc \
1829+
ETag.stub.cc \
18301830
tests/stub_HelperChildConfig.cc \
18311831
HttpBody.cc \
18321832
HttpBody.h \
@@ -1936,7 +1936,7 @@ nodist_tests_testHttpRequest_SOURCES = \
19361936
tests/stub_ACLFilledChecklist.cc \
19371937
tests/stub_CachePeer.cc \
19381938
ConfigParser.cc \
1939-
tests/stub_ETag.cc \
1939+
ETag.stub.cc \
19401940
tests/stub_HelperChildConfig.cc \
19411941
HttpHdrCc.cc \
19421942
HttpHdrContRange.cc \
@@ -2079,7 +2079,7 @@ tests_testCacheManager_SOURCES = \
20792079
CpuAffinityMap.h \
20802080
CpuAffinitySet.cc \
20812081
CpuAffinitySet.h \
2082-
tests/stub_ETag.cc \
2082+
ETag.stub.cc \
20832083
tests/stub_EventLoop.cc \
20842084
ExternalACLEntry.cc \
20852085
FadingCounter.cc \

0 commit comments

Comments
 (0)