<?php
	/**
	 * This part is read by the test suite builder (TestSuite.php)
	 * to print the title of each test group
	 **/
	$test_title = 'Test group title';

	/**
	 * When GET'ed by the test suite builder, it pass two parameters:
	 *   * run: to dynamically create the test group according to the backend PostgreSQL version
	 *   * server: the server id to connect to
	 **/
	if (isset($_GET['run'])) {
		/* load the english $lang array */
		global $lang;
		/* this file contains logins/passwords and parameters for tests users and database */
		require('../config.test.php');
		/* the test builder class */
		require('../testBuilder.class.php');
		
		$t = new TestBuilder($test_title,
			'Title for the test group page.'
		);

		/* tests here...
		
		$t->addComment('this is a comment');

		// login
		$t->login($super_user[$t->server['desc']], $super_pass[$t->server['desc']]);

		// Testing backend capability
		if ($t->data->hasXXXXX()) {
			...
		}

		// Filling a field
		$t->type('formFieldName', "a value");

		// etc...
		*/

		/**
		 * When finished, destry the class instance.
		 **/
		unset($t);
	}
?>
