#include "squid-old.h"
#include "DelayId.h"
-DelayId::DelayId() {}
-
-void
-DelayId::delayRead(DeferredRead const&)
-{}
+#define STUB_API "stub_DelayId.cc"
+#include "tests/STUB.h"
+DelayId::DelayId() {}
DelayId::~DelayId() {}
+void DelayId::delayRead(DeferredRead const&) STUB_NOP
+
#endif /* USE_DELAY_POOLS */
#include "HelperChildConfig.h"
#include "globals.h"
+#define STUB_API "stub_HelperChildconfig.cc"
+#include "tests/STUB.h"
+
#include <string.h>
HelperChildConfig::HelperChildConfig(const unsigned int m):
return (n_max - n_active);
}
-void
-HelperChildConfig::parseConfig()
-{
- fprintf(stderr, "HelperChildConfig::parseConfig not implemented.");
- exit(1);
-}
+void HelperChildConfig::parseConfig() STUB
/*
* A stub implementation of the Debug.h API.
* For use by test binaries which do not need the full context debugging
+ *
+ * Note: it doesn't use the STUB API as the functions defined here must
+ * not abort the unit test.
*/
#include "squid.h"
#include "Debug.h"