Lines Matching refs:constructor
106 if all these implementations have a public default constructor (such that
285 ## Should I use the constructor/destructor of the test fixture or SetUp()/TearDown()? {#CtorVsSetUp}
293 between using the test fixture constructor/destructor or `SetUp()`/`TearDown()`.
296 * By initializing a member variable in the constructor, we have the option to
300 constructor is guaranteed to call the base class' constructor *first*, and
310 dispatch. It will use the definition from the class the constructor of which
312 derived class constructor has a chance to run is very dangerous - the
316 * In the body of a constructor (or destructor), it's not possible to use the
320 executable, or to use `SetUp()` instead of a constructor.
370 ## My compiler complains that a constructor (or destructor) cannot return a value. What's going on?
381 content of your constructor/destructor to a private void member function, or
503 must have a default constructor. Normally the compiler will define one for you.
506 * If you explicitly declare a non-default constructor for class `FooTest`
508 default constructor, even if it would be empty.
510 default constructor *and* initialize the const member in the initializer
511 list of the constructor. (Early versions of `gcc` doesn't force you to