Blame tests/upstream-test-suite/021_dontinclude.cpp
|
Than Ngo |
b7bcaa |
// objective: test the \dontinclude, \skip, \until, \skipline, \line commands
|
|
Than Ngo |
b7bcaa |
// check: indexpage.xml
|
|
Than Ngo |
b7bcaa |
/*! A test class. */
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
class Test
|
|
Than Ngo |
b7bcaa |
{
|
|
Than Ngo |
b7bcaa |
public:
|
|
Than Ngo |
b7bcaa |
/// a member function
|
|
Than Ngo |
b7bcaa |
void example();
|
|
Than Ngo |
b7bcaa |
};
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
/*! \mainpage
|
|
Than Ngo |
b7bcaa |
* \dontinclude example_test.cpp
|
|
Than Ngo |
b7bcaa |
* Our main function starts like this:
|
|
Than Ngo |
b7bcaa |
* \skip main
|
|
Than Ngo |
b7bcaa |
* \until {
|
|
Than Ngo |
b7bcaa |
* First we create a object \c t of the Test class.
|
|
Than Ngo |
b7bcaa |
* \skipline Test
|
|
Than Ngo |
b7bcaa |
* Then we call the example member function
|
|
Than Ngo |
b7bcaa |
* \line example
|
|
Than Ngo |
b7bcaa |
* After that our little test routine ends.
|
|
Than Ngo |
b7bcaa |
* \line }
|
|
Than Ngo |
b7bcaa |
*/
|