From b687748278d29510bb28875627c98b5da0a96cc5 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 11 Aug 2006 05:05:32 +0000 Subject: Fixed callback replace content. --- .../protected/pages/ReplaceContentTest.php | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.php (limited to 'tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.php') diff --git a/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.php b/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.php new file mode 100644 index 00000000..0e09a012 --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.php @@ -0,0 +1,31 @@ +CallbackClient->appendContent($this->subpanel, $this->content->Text); + } + + function prependContent($sender, $param) + { + $this->CallbackClient->prependContent($this->subpanel, $this->content->Text); + } + + function insertContentBefore($sender, $param) + { + $this->CallbackClient->insertContentBefore($this->subpanel, $this->content->Text); + } + + function insertContentAfter($sender, $param) + { + $this->CallbackClient->insertContentAfter($this->subpanel, $this->content->Text); + } + + function replaceContent($sender, $param) + { + $this->CallbackClient->replaceContent($this->subpanel, $this->content->Text); + } +} + +?> \ No newline at end of file -- cgit v1.2.3