Lines Matching full:test

46     /// Name of the test case; must be unique within the test program.
49 /// Metadata of the container test program.
53 /// of test programs _containing_ this test case, we can assume that the
54 /// referenced object will be alive for the lifetime of this test case.
57 /// Test case metadata.
60 /// Fake result to return instead of running the test case.
65 /// \param name_ The name of the test case within the test program.
66 /// \param md_defaults_ Metadata of the container test program.
67 /// \param md_ Metadata of the test case.
68 /// \param fake_result_ Fake result to return instead of running the test
81 /// Gets the test case metadata.
83 /// This combines the test case's metadata with any possible test program
86 /// \return The test case metadata.
112 /// Constructs a new test case from an already-built impl oject.
114 /// \param pimpl_ The internal representation of the test case.
121 /// Constructs a new test case.
123 /// \param name_ The name of the test case within the test program.
124 /// \param md_ Metadata of the test case.
133 /// Constructs a new fake test case.
135 /// A fake test case is a test case that is not really defined by the test
136 /// program. Such test cases have a name surrounded by '__' and, when executed,
139 /// This is necessary for the cases where listing the test cases of a test
140 /// program fails. In this scenario, we generate a single test case within
141 /// the test program that unconditionally returns a failure.
144 /// status of test programs independently of test cases, as some interfaces
147 /// \param name_ The name to give to this fake test case. This name has to be
149 /// \param description_ The description of the test case, if any.
150 /// \param test_result_ The fake result to return when this test case is run.
163 "Invalid fake name provided to fake test case"); in test_case()
167 /// Destroys a test case.
173 /// Constructs a new test case applying metadata defaults.
175 /// This method is intended to be used by the container test program when
176 /// ownership of the test is given to it. At that point, the test case receives
177 /// the default metadata properties of the test program, not the global
181 /// object's lifetime MUST extend the lifetime of the test case. Because
182 /// this is only intended to point at the metadata of the test program
183 /// containing this test case, this assumption should hold.
185 /// \return A new test case.
197 /// Gets the test case name.
199 /// \return The test case name, relative to the test program.
207 /// Gets the test case metadata.
209 /// This combines the test case's metadata with any possible test program
213 /// \return The test case metadata.
221 /// Gets the original test case metadata without test program overrides.
223 /// This method should be used for storage purposes as serialized test cases
224 /// should record exactly whatever the test case reported and not what the test
228 /// \return The test case metadata.
236 /// Gets the fake result pre-stored for this test case.
248 /// \warning Because test cases reference their container test programs, and
249 /// test programs include test cases, we cannot perform a full comparison here:
251 /// does NOT compare whether the container test programs of the affected test
292 /// Adds an already-constructed test case.
294 /// \param test_case The test case to add.
306 /// Constructs and adds a new test case with default metadata.
308 /// \param test_case_name The name of the test case to add.
318 /// Constructs and adds a new test case with explicit metadata.
320 /// \param test_case_name The name of the test case to add.
321 /// \param metadata The metadata of the test case.