Blame tests/upstream-test-suite/025_example.cpp

Than Ngo b7bcaa
// objective: test the \example command
Than Ngo b7bcaa
// check: example_test_8cpp-example.xml
Than Ngo b7bcaa
// check: class_test.xml
Than Ngo b7bcaa
Than Ngo b7bcaa
Than Ngo b7bcaa
/** \brief A Test class.
Than Ngo b7bcaa
 *
Than Ngo b7bcaa
 *  More details about this class.
Than Ngo b7bcaa
 */
Than Ngo b7bcaa
class Test
Than Ngo b7bcaa
{
Than Ngo b7bcaa
  public:
Than Ngo b7bcaa
    /** \brief An example member function.
Than Ngo b7bcaa
     *
Than Ngo b7bcaa
     *  More details about this function.
Than Ngo b7bcaa
     */
Than Ngo b7bcaa
    void example();
Than Ngo b7bcaa
};
Than Ngo b7bcaa
Than Ngo b7bcaa
void Test::example() {}
Than Ngo b7bcaa
Than Ngo b7bcaa
/** \example example_test.cpp
Than Ngo b7bcaa
 * This is an example of how to use the Test class.
Than Ngo b7bcaa
 *
Than Ngo b7bcaa
 * More details about this example.
Than Ngo b7bcaa
 */