<?php // Call GtkTextIterTest::main() if this source file is executed directly. if (!defined("PHPUnit_MAIN_METHOD")) { define("PHPUnit_MAIN_METHOD", "GtkTextIterTest::main"); } require_once "PHPUnit/Framework/TestCase.php"; require_once "PHPUnit/Framework/TestSuite.php"; // You may remove the following line when all tests have been implemented. require_once "PHPUnit/Framework/IncompleteTestError.php"; /** * Test class for GtkTextIter. * Generated by PHPUnit_Util_Skeleton on 2006-03-07 at 13:26:41. */ class GtkTextIterTest extends PHPUnit_Framework_TestCase { /** * Runs the test methods of this class. * * @access public * @static */ public static function main() { require_once "PHPUnit/TextUI/TestRunner.php"; $suite = new PHPUnit_Framework_TestSuite("GtkTextIterTest"); $result = PHPUnit_TextUI_TestRunner::run($suite); } /** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * * @access protected */ protected function setUp() { } /** * Tears down the fixture, for example, close a network connection. * This method is called after a test is executed. * * @access protected */ protected function tearDown() { } /** * @todo Implement testBackward_char(). */ public function testBackward_char() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_chars(). */ public function testBackward_chars() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_cursor_position(). */ public function testBackward_cursor_position() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_cursor_positions(). */ public function testBackward_cursor_positions() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_line(). */ public function testBackward_line() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_lines(). */ public function testBackward_lines() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_search(). */ public function testBackward_search() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_sentence_start(). */ public function testBackward_sentence_start() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_sentence_starts(). */ public function testBackward_sentence_starts() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_to_tag_toggle(). */ public function testBackward_to_tag_toggle() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_visible_cursor_position(). */ public function testBackward_visible_cursor_position() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_visible_cursor_positions(). */ public function testBackward_visible_cursor_positions() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_visible_word_start(). */ public function testBackward_visible_word_start() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_visible_word_starts(). */ public function testBackward_visible_word_starts() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_word_start(). */ public function testBackward_word_start() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBackward_word_starts(). */ public function testBackward_word_starts() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testBegins_tag(). */ public function testBegins_tag() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testCan_insert(). */ public function testCan_insert() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testCompare(). */ public function testCompare() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testCopy(). */ public function testCopy() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testEditable(). */ public function testEditable() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testEnds_line(). */ public function testEnds_line() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testEnds_sentence(). */ public function testEnds_sentence() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testEnds_tag(). */ public function testEnds_tag() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testEnds_word(). */ public function testEnds_word() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testEqual(). */ public function testEqual() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_char(). */ public function testForward_char() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_chars(). */ public function testForward_chars() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_cursor_position(). */ public function testForward_cursor_position() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_cursor_positions(). */ public function testForward_cursor_positions() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_line(). */ public function testForward_line() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_lines(). */ public function testForward_lines() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_search(). */ public function testForward_search() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_sentence_end(). */ public function testForward_sentence_end() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_sentence_ends(). */ public function testForward_sentence_ends() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_to_end(). */ public function testForward_to_end() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_to_line_end(). */ public function testForward_to_line_end() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_to_tag_toggle(). */ public function testForward_to_tag_toggle() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_visible_cursor_position(). */ public function testForward_visible_cursor_position() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_visible_cursor_positions(). */ public function testForward_visible_cursor_positions() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_visible_word_end(). */ public function testForward_visible_word_end() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_visible_word_ends(). */ public function testForward_visible_word_ends() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_word_end(). */ public function testForward_word_end() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testForward_word_ends(). */ public function testForward_word_ends() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testFree(). */ public function testFree() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } public function testGet_char() { $buf = new GtkTextBuffer(); $buf->set_text("abcde"); $iter = $buf->get_start_iter(); $ar = array(); while (($char = $iter->get_char()) != null) { $ar[$char] = true; $iter->forward_char(); } $this->assertEquals(5, count($ar)); $this->assertTrue(isset($ar['a'])); $this->assertTrue(isset($ar['b'])); $this->assertTrue(isset($ar['c'])); $this->assertTrue(isset($ar['d'])); $this->assertTrue(isset($ar['e'])); } /** * @todo Implement testGet_attributes(). */ public function testGet_attributes() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_buffer(). */ public function testGet_buffer() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_bytes_in_line(). */ public function testGet_bytes_in_line() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_chars_in_line(). */ public function testGet_chars_in_line() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_child_anchor(). */ public function testGet_child_anchor() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_language(). */ public function testGet_language() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_line(). */ public function testGet_line() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_line_index(). */ public function testGet_line_index() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_line_offset(). */ public function testGet_line_offset() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_offset(). */ public function testGet_offset() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_pixbuf(). */ public function testGet_pixbuf() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_slice(). */ public function testGet_slice() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_text(). */ public function testGet_text() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_visible_line_index(). */ public function testGet_visible_line_index() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_visible_line_offset(). */ public function testGet_visible_line_offset() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_visible_slice(). */ public function testGet_visible_slice() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testGet_visible_text(). */ public function testGet_visible_text() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testHas_tag(). */ public function testHas_tag() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testIn_range(). */ public function testIn_range() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testInside_sentence(). */ public function testInside_sentence() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testInside_word(). */ public function testInside_word() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testIs_cursor_position(). */ public function testIs_cursor_position() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testIs_end(). */ public function testIs_end() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testIs_start(). */ public function testIs_start() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testOrder(). */ public function testOrder() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testSet_line(). */ public function testSet_line() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testSet_line_index(). */ public function testSet_line_index() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testSet_line_offset(). */ public function testSet_line_offset() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testSet_offset(). */ public function testSet_offset() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testSet_visible_line_index(). */ public function testSet_visible_line_index() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testSet_visible_line_offset(). */ public function testSet_visible_line_offset() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testStarts_line(). */ public function testStarts_line() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testStarts_sentence(). */ public function testStarts_sentence() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testStarts_word(). */ public function testStarts_word() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } /** * @todo Implement testToggles_tag(). */ public function testToggles_tag() { // Remove the following line when you implement this test. throw new PHPUnit_Framework_IncompleteTestError; } } // Call GtkTextIterTest::main() if this source file is executed directly. if (PHPUnit_MAIN_METHOD == "GtkTextIterTest::main") { GtkTextIterTest::main(); } ?>