From 19d5563a23ee02071a4d28387fd22197a2c29447 Mon Sep 17 00:00:00 2001 From: kimitake Date: Sat, 12 Mar 2005 07:30:28 +0000 Subject: [PATCH] removed unnecessary files git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@35 1ca29b6e-896d-4ea0-84a5-967f57386b96 --- euc/build/build.xml | 218 --------------------- euc/build/config.php | 36 ---- euc/build/testcases/NP_HelpPageTestCase1.php | 42 ---- euc/build/testcases/NP_ItemOptionTestCase.php | 76 ------- euc/build/testcases/NP_ItemOptionTestCase2.php | 76 ------- euc/build/testcases/NP_ItemOptionTestCase3.php | 104 ---------- euc/build/testcases/NP_ItemOptionTestCase4.php | 83 -------- euc/build/testcases/NP_OptionMeta_TestCase1.php | 94 --------- euc/build/testcases/NP_OptionTest.php | 120 ------------ .../NP_PrePluginOptionsUpdate_TestCase1.php | 96 --------- euc/build/testcases/helppagetestcase1/help.php | 13 -- euc/build/testcases/plugindeptestcases/NP_DepA.php | 25 --- euc/build/testcases/plugindeptestcases/NP_DepB.php | 25 --- euc/build/testcases/plugindeptestcases/NP_DepC.php | 25 --- .../testcases/plugindeptestcases/testcases.txt | 19 -- euc/build/testcases/urllinking.txt | 22 --- euc/build/testcases/xmlrpc-metaWeblog-editPost.php | 48 ----- .../testcases/xmlrpc-metaWeblog-getRecentPosts.php | 43 ---- .../testcases/xmlrpc-metaWeblog-newMediaObject.php | 55 ------ euc/build/testcases/xmlrpc-metaWeblog-newPost.php | 48 ----- .../testcases/xmlrpc-mt-getPostCategories.php | 42 ---- .../testcases/xmlrpc-mt-getRecentPostTitles.php | 43 ---- .../testcases/xmlrpc-mt-getTrackbackPings.php | 40 ---- .../testcases/xmlrpc-mt-setPostCategories.php | 68 ------- 24 files changed, 1461 deletions(-) delete mode 100755 euc/build/build.xml delete mode 100755 euc/build/config.php delete mode 100755 euc/build/testcases/NP_HelpPageTestCase1.php delete mode 100755 euc/build/testcases/NP_ItemOptionTestCase.php delete mode 100755 euc/build/testcases/NP_ItemOptionTestCase2.php delete mode 100755 euc/build/testcases/NP_ItemOptionTestCase3.php delete mode 100755 euc/build/testcases/NP_ItemOptionTestCase4.php delete mode 100755 euc/build/testcases/NP_OptionMeta_TestCase1.php delete mode 100755 euc/build/testcases/NP_OptionTest.php delete mode 100755 euc/build/testcases/NP_PrePluginOptionsUpdate_TestCase1.php delete mode 100755 euc/build/testcases/helppagetestcase1/help.php delete mode 100755 euc/build/testcases/plugindeptestcases/NP_DepA.php delete mode 100755 euc/build/testcases/plugindeptestcases/NP_DepB.php delete mode 100755 euc/build/testcases/plugindeptestcases/NP_DepC.php delete mode 100755 euc/build/testcases/plugindeptestcases/testcases.txt delete mode 100755 euc/build/testcases/urllinking.txt delete mode 100755 euc/build/testcases/xmlrpc-metaWeblog-editPost.php delete mode 100755 euc/build/testcases/xmlrpc-metaWeblog-getRecentPosts.php delete mode 100755 euc/build/testcases/xmlrpc-metaWeblog-newMediaObject.php delete mode 100755 euc/build/testcases/xmlrpc-metaWeblog-newPost.php delete mode 100755 euc/build/testcases/xmlrpc-mt-getPostCategories.php delete mode 100755 euc/build/testcases/xmlrpc-mt-getRecentPostTitles.php delete mode 100755 euc/build/testcases/xmlrpc-mt-getTrackbackPings.php delete mode 100755 euc/build/testcases/xmlrpc-mt-setPostCategories.php diff --git a/euc/build/build.xml b/euc/build/build.xml deleted file mode 100755 index c727312..0000000 --- a/euc/build/build.xml +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/euc/build/config.php b/euc/build/config.php deleted file mode 100755 index 18cb905..0000000 --- a/euc/build/config.php +++ /dev/null @@ -1,36 +0,0 @@ - \ No newline at end of file diff --git a/euc/build/testcases/NP_HelpPageTestCase1.php b/euc/build/testcases/NP_HelpPageTestCase1.php deleted file mode 100755 index ecccbb1..0000000 --- a/euc/build/testcases/NP_HelpPageTestCase1.php +++ /dev/null @@ -1,42 +0,0 @@ - diff --git a/euc/build/testcases/NP_ItemOptionTestCase.php b/euc/build/testcases/NP_ItemOptionTestCase.php deleted file mode 100755 index 147aebf..0000000 --- a/euc/build/testcases/NP_ItemOptionTestCase.php +++ /dev/null @@ -1,76 +0,0 @@ -createItemOption('TestValue', 'TestOption', 'text', '0', 'datatype=numerical'); - $this->createItemOption('TestSelect', 'TestSelect', 'select', 'val1', 'de eerste optie|val1|de tweede optie|val2|de derde optie|val3'); - } - - -// --------- do...-Functions ------------------------------ - function doSkinVar($skinType, $counterType = 'visits', $counterMode = 'textual', $counterUpdate = 'count') { - //currently we do nothing :-) - } - -} -?> \ No newline at end of file diff --git a/euc/build/testcases/NP_ItemOptionTestCase2.php b/euc/build/testcases/NP_ItemOptionTestCase2.php deleted file mode 100755 index 09f7afd..0000000 --- a/euc/build/testcases/NP_ItemOptionTestCase2.php +++ /dev/null @@ -1,76 +0,0 @@ -createItemOption('TestCase', 'TestCaseOption', 'text', 'testing'); - } - - -// --------- do...-Functions ------------------------------ - function doTemplateVar(&$item) { - //currently we do nothing :-) - echo $this->getItemOption($item->itemid, 'TestCase'); - } - -} -?> \ No newline at end of file diff --git a/euc/build/testcases/NP_ItemOptionTestCase3.php b/euc/build/testcases/NP_ItemOptionTestCase3.php deleted file mode 100755 index 31aa834..0000000 --- a/euc/build/testcases/NP_ItemOptionTestCase3.php +++ /dev/null @@ -1,104 +0,0 @@ -createItemOption('TestCase3', 'TestCaseOption:TextArea', 'textarea', 'This is the default value for my textareatest'); - } - - function event_PrePluginOptionsEdit($data){ - echo 'event: PrePluginOptionsEdit
'; - echo '$data: '.$data.'
'; - echo 'context: '.$data['context'].'
'; - echo 'contextid: '.$data['contextid'].'
'; - for ($i == 0; $i < count($data['options']); $i++) { - echo 'option-name: '.$data['options'][$i]['name'].' value: '.$data['options'][$i]['value'].'
'; - } - } - - function event_PostPluginOptionsUpdate($data){ - echo 'event: PostPluginOptionsEdit'; - echo '$data: '.$data.' | context: '.$data['context'].'
'; - echo 'itemid: '.$data['itemid'].'
'; - echo 'item title: '.$data['item']['title'].'
'; - } - -// --------- do...-Functions ------------------------------ - function doTemplateVar(&$item) { - //currently we do nothing :-) - echo $this->getItemOption($item->itemid, 'TestCase3'); - } - - function doSkinVar($skinType) { - global $blog; - $mostTest = $this->getItemOptionTop('TestCase3', 15, 'asc'); - for($i=0; $i < count($mostTest); $i++) { - echo '
item: '.$mostTest[$i]['id'].': '.$mostTest[$i]['value']; - } - } - -} -?> diff --git a/euc/build/testcases/NP_ItemOptionTestCase4.php b/euc/build/testcases/NP_ItemOptionTestCase4.php deleted file mode 100755 index 70c8d71..0000000 --- a/euc/build/testcases/NP_ItemOptionTestCase4.php +++ /dev/null @@ -1,83 +0,0 @@ -createItemOption('TestCase4', 'TestCaseOption:select(numerical)', 'select', '0', '0|0|1|1|2|2|test|test;datatype=numerical'); - } - -// --------- do...-Functions ------------------------------ - function doTemplateVar(&$item) { - //currently we do nothing :-) - echo $this->getItemOption($item->itemid, 'TestCase4'); - } - - function doSkinVar($skinType) { - global $blog; - $mostTest = $this->getItemOptionTop('TestCase4', 15, 'asc'); - for($i=0; $i < count($mostTest); $i++) { - echo '
item: '.$mostTest[$i]['id'].': '.$mostTest[$i]['value']; - } - } - -} -?> diff --git a/euc/build/testcases/NP_OptionMeta_TestCase1.php b/euc/build/testcases/NP_OptionMeta_TestCase1.php deleted file mode 100755 index 214f454..0000000 --- a/euc/build/testcases/NP_OptionMeta_TestCase1.php +++ /dev/null @@ -1,94 +0,0 @@ -createOption('NumericTextOption1', 'Numeric text option', 'text', '', 'datatype=numerical'); - $this->createOption('ReadonlyTextOption1', 'Readonly text option', 'text', '', 'access=readonly'); - $this->createOption('ReadonlyNumericalTextOption1', 'Readonly, Numerical text option', 'text', '', 'access=readonly;datatype=numerical'); - $this->createOption('ReadonlyTextAreaOption1', 'Readonly textarea option', 'textarea', 'This textarea is readonly (at least it should be :-p)', 'access=readonly'); - $this->createOption('HiddenTextOption1', 'Hidden text option', 'text', 'hidden...', 'access=hidden'); - // itemoptoins - $this->createItemOption('NumericTextOption1', 'Numeric text option', 'text', '', 'datatype=numerical'); - $this->createItemOption('ReadonlyTextOption1', 'Readonly text option', 'text', '', 'access=readonly'); - $this->createItemOption('ReadonlyNumericalTextOption1', 'Readonly, Numerical text option', 'text', '', 'access=readonly;datatype=numerical'); - $this->createItemOption('ReadonlyTextAreaOption1', 'Readonly textarea option', 'textarea', 'This textarea is readonly (at least it should be :-p)', 'access=readonly'); - } -// }}} - -// -- events ------------------------------------ {{{ - function event_PrePluginOptionsUpdate(&$data) - { - /* - * this way of saving the date into the readonly option doesn't work anymore - * since readonly options aren't saved anymore automatically and thus this event is - * not triggered for a readonly option - */ - if (($this->getID() == $data['plugid']) && ($data['optionname'] == 'ReadonlyTextOption1')) { - $data['value'] = date('Y-m-d H:i:s'); - } - /* - * but we can do it by using it while this event is triggered for a non-readonly - * option (there are better events that are better suited for this task) - */ - if (($this->getID() == $data['plugid']) && ($data['optionname'] == 'NumericTextOption1')) { - $this->setOption('HiddenTextOption1', date('Y-m-d H:i:s')); - $this->setOption('ReadonlyTextOption1', date('Y-m-d H:i:s')); - } - } -// }}} -/* -jedit edit rules | http://jedit.org: powerful, open-source (gpl) texteditor -:mode=php:tabSize=4:indentSize=4:noTabs=false:encoding=UTF-8: -:folding=explicit:collapseFolds=1:wrap=none:maxLineLen=85: -*/ -} -?> diff --git a/euc/build/testcases/NP_OptionTest.php b/euc/build/testcases/NP_OptionTest.php deleted file mode 100755 index e51e1eb..0000000 --- a/euc/build/testcases/NP_OptionTest.php +++ /dev/null @@ -1,120 +0,0 @@ -Creating some options'; - - if (!$this->createBlogOption('my option', 'my description', 'text', 'initial value', 'extra')) - array_push($aErrors, 'create blog option failed'); - - if (!$this->createBlogOption('my option2', 'my description2', 'yesno', 'no')) - array_push($aErrors, 'create blog option 2 failed'); - - if (!$this->createMemberOption('my option3', 'my description3', 'yesno', 'no')) - array_push($aErrors, 'create member option failed'); - - if (!$this->createCategoryOption('my option4', 'my description4', 'yesno', 'yes')) - array_push($aErrors, 'create catgeory option failed'); - - echo '

Creating some more options

'; - // add some thingies with the same name - $this->createCategoryOption('idem', 'idemd', 'text', 'category'); - $this->createOption('idem', 'idemd', 'text', 'global'); - $this->createBlogOption('idem', 'idemd', 'text', 'blog'); - $this->createMemberOption('idem', 'idemd', 'text', 'member'); - - echo '

Checking options

'; - if ($this->getOption('idem') != 'global') - array_push($aErrors, 'get should return "global" ' . $this->getOption('idem')); - if ($this->getCategoryOption(1, 'idem') != 'category') - array_push($aErrors, 'get should return "category" ' . $this->getCategoryOption(1, 'idem')); - if ($this->getBlogOption(1, 'idem') != 'blog') - array_push($aErrors, 'get should return "blog" ' . $this->getBlogOption(1, 'idem')); - if ($this->getMemberOption(1, 'idem') != 'member') - array_push($aErrors, 'get should return "member" ' . $this->getMemberOption(1, 'idem')); - - echo '

Setting options

'; - if (!$this->setOption('idem','edit-global')) - array_push($aErrors, 'set option failed'); - if (!$this->setCategoryOption(1, 'idem', 'edit-category')) - array_push($aErrors, 'set catgeory option failed'); - if (!$this->setBlogOption(1, 'idem', 'edit-blog')) - array_push($aErrors, 'set blog option failed'); - if (!$this->setMemberOption(1, 'idem', 'edit-member')) - array_push($aErrors, 'set member option failed'); - - echo '

Checking options

'; - if ($this->getOption('idem') != 'edit-global') - array_push($aErrors, 'get should return "edit-global"'); - if ($this->getCategoryOption(1, 'idem') != 'edit-category') - array_push($aErrors, 'get should return "edit-category"'); - if ($this->getBlogOption(1, 'idem') != 'edit-blog') - array_push($aErrors, 'get should return "edit-blog"'); - if ($this->getMemberOption(1, 'idem') != 'edit-member') - array_push($aErrors, 'get should return "edit-member"'); - - if (count($aErrors) > 0); - echo ''; - - echo '
';
-		echo "All blog options:\n";
-		print_r($this->getAllBlogOptions('idem'));
-		
-		echo "\nAll category options:\n";
-		print_r($this->getAllCategoryOptions('idem'));
-
-		echo "\nAll member options:\n";
-		print_r($this->getAllMemberOptions('idem'));
-
-		echo '
'; - - } - -} -?> \ No newline at end of file diff --git a/euc/build/testcases/NP_PrePluginOptionsUpdate_TestCase1.php b/euc/build/testcases/NP_PrePluginOptionsUpdate_TestCase1.php deleted file mode 100755 index 796dab8..0000000 --- a/euc/build/testcases/NP_PrePluginOptionsUpdate_TestCase1.php +++ /dev/null @@ -1,96 +0,0 @@ -createItemOption('TestValue', 'TestOption', 'text', 'foobar', ''); - $this->createMemberOption('MemberTestOptions', 'TestOption', 'text', 'foobar-member', ''); - } - - //supported features - function supportsFeature($what) { - switch($what) { - case 'SqlTablePrefix': - return 1; - default: - return 0; - } - } - - function event_PrePluginOptionsUpdate(&$data) { - if ($this->getID() == $data['plugid']) { - //this belongs to us :-) - //echo "PrePluginOptionsUpdate: TestCase-plugin
"; - //echo "optionname: ".$data['optionname']."
"; - //echo "context: ".$data['context']."
"; - //echo "contextid: ".$data['contextid']."
"; - //echo "value: ".$data['value']."
"; - if ($data['value'] == '') { - $data['value'] = 'no-value'; - } else { - $data['value'] .= '-TEST'; - } - //echo "new value: ".$data['value']."

"; - } - - if ($data['optionname'] == 'TestValue') { - $data['value'] .= '|||'.requestVar('np_testcase_item'); - } - } - - - // function event_PrePluginOptionsEdit(&$data){ - // echo 'event: PrePluginOptionsEdit
'; - // echo '$data: '.$data.'
'; - // echo 'context: '.$data['context'].'
'; - // echo 'contextid: '.$data['contextid'].'
'; - // for ($i == 0; $i < count($data['options']); $i++) { - // echo 'option-name: '.$data['options'][$i]['name'].' value: '.$data['options'][$i]['value'].'
'; - // echo 'extra: '.$data['options'][$i]['extra'].'
'; - // // $data['options'][$i]['extra'] .= 'test'; - // // echo 'new extra: '.$data['options'][$i]['extra'].'
'; - // } - // } - - function event_PrePluginOptionsEdit(&$data) { - //echo 'PrePluginOptionsEdit '; - // if ($data['context'] == 'item') { - //foreach($data['options'] as $option) { - foreach (array_keys($data['options']) as $optionKey) { - $option = &$data['options'][$optionKey]; - // if (($option['pid'] == $this->getID)&&($option['name'] == 'TestValue')) { - if (($option['name'] == 'TestValue') && ($option['pid'] == $this->getID())) { - $option['extra'] .= ' '; - //echo 'Extra: '.$option['extra'].'
'; - } - // } - } - } -} -?> diff --git a/euc/build/testcases/helppagetestcase1/help.php b/euc/build/testcases/helppagetestcase1/help.php deleted file mode 100755 index f0fb76d..0000000 --- a/euc/build/testcases/helppagetestcase1/help.php +++ /dev/null @@ -1,13 +0,0 @@ -

Plugin overview

-

The only purpose of this plugin is to show how the plugin helppages work

-

Installation

-

If you can read this you correctly installed the plugin :-)

-

SkinVars

-

Because this plugin is only a testcase it doesn't has any skinvars/templatevars but suppose it would have: -

-

Support and Bug reports

-

For additional support and/or bug reports please use this forum thread: http://forum.nucleuscms.org/viewtopic.php?t=4137

-

Version History

-

diff --git a/euc/build/testcases/plugindeptestcases/NP_DepA.php b/euc/build/testcases/plugindeptestcases/NP_DepA.php deleted file mode 100755 index 254d44a..0000000 --- a/euc/build/testcases/plugindeptestcases/NP_DepA.php +++ /dev/null @@ -1,25 +0,0 @@ - diff --git a/euc/build/testcases/plugindeptestcases/NP_DepB.php b/euc/build/testcases/plugindeptestcases/NP_DepB.php deleted file mode 100755 index 7c97803..0000000 --- a/euc/build/testcases/plugindeptestcases/NP_DepB.php +++ /dev/null @@ -1,25 +0,0 @@ - diff --git a/euc/build/testcases/plugindeptestcases/NP_DepC.php b/euc/build/testcases/plugindeptestcases/NP_DepC.php deleted file mode 100755 index d0e9289..0000000 --- a/euc/build/testcases/plugindeptestcases/NP_DepC.php +++ /dev/null @@ -1,25 +0,0 @@ - diff --git a/euc/build/testcases/plugindeptestcases/testcases.txt b/euc/build/testcases/plugindeptestcases/testcases.txt deleted file mode 100755 index 83cc15a..0000000 --- a/euc/build/testcases/plugindeptestcases/testcases.txt +++ /dev/null @@ -1,19 +0,0 @@ -Note for testcases: - -DepA depends on DepB -DepC depends on DepA and DepB - -Test sequences: - -install -1) DepA, DepB - failed -2) DepB, DepA - success -3) DepC - failed -4) DepB, DepC - failed -5) DepB, DepA, DepC - success - -uninstall -1) install DepB, DepA uninstall DepB - failed -2) install DepB, DepA, DepC uninstall DepC - failed -3) install DepB, DepA, DepC uninstall DepB - failed -4) install DepB, DepA, DepC uninstall DepA - failed diff --git a/euc/build/testcases/urllinking.txt b/euc/build/testcases/urllinking.txt deleted file mode 100755 index 5d55737..0000000 --- a/euc/build/testcases/urllinking.txt +++ /dev/null @@ -1,22 +0,0 @@ -Testcases for auto-url linking in comments: - -http://www.nucleuscms.org/ should be linked -www.nucleuscms.org should be linked -Previous sentence.www.nucleuscms.org should be linked -Previous sentence.http://www.nucleuscms.org should be linked -awww... that hurts. Should not be linked -http://ftp.nucleuscms.org/ should NOT be an FTP link -ftp://www.nucleuscms.org/ should be linked as FTP -ftp.nucleuscms.org should be linked -Previous sentence.ftp.nucleuscms.org should be linked -Previous sentence.ftp://ftp.nucleuscms.org should be linked -naftp.ha should not be linked -mailto:someone@example.org -> Linked -someone@example.org -> not linked -http://www.example.org/?foo=x&bar=y => ampersand entity ok? -<<>> => < & > should not be included in link -&http://www.blaat.com&& => neither should & -https://www.bla.com/ -https://bla.com/ -blogger help => should become blogger help -https://www.bla.com/, => the comma should not be linked \ No newline at end of file diff --git a/euc/build/testcases/xmlrpc-metaWeblog-editPost.php b/euc/build/testcases/xmlrpc-metaWeblog-editPost.php deleted file mode 100755 index 70e3849..0000000 --- a/euc/build/testcases/xmlrpc-metaWeblog-editPost.php +++ /dev/null @@ -1,48 +0,0 @@ - new xmlrpcval('Just a test','string'), - 'title' => new xmlrpcval('Edit Post Test', 'string') -/* 'categories' => new xmlrpcval(array(new xmlrpcval('General','string')), 'array')*/ - ),'struct'), - new xmlrpcval(1, 'boolean'), // publish - ) - ); - - $c=new xmlrpc_client($serverPath, $serverHost, $serverPort); - $c->setDebug(1); - $r=$c->send($f); - $v=$r->value(); - - - if (!$r->faultCode()) { - echo 'success!'; - } else { - print "Fault: "; - print "Code: " . $r->faultCode() . - " Reason '" .$r->faultString()."'
"; - } - - - -?> \ No newline at end of file diff --git a/euc/build/testcases/xmlrpc-metaWeblog-getRecentPosts.php b/euc/build/testcases/xmlrpc-metaWeblog-getRecentPosts.php deleted file mode 100755 index 60fdc5e..0000000 --- a/euc/build/testcases/xmlrpc-metaWeblog-getRecentPosts.php +++ /dev/null @@ -1,43 +0,0 @@ -setDebug(1); - $r=$c->send($f); - $v=$r->value(); - - - if (!$r->faultCode()) { - echo 'success!'; - } else { - print "Fault: "; - print "Code: " . $r->faultCode() . - " Reason '" .$r->faultString()."'
"; - } - - - -?> \ No newline at end of file diff --git a/euc/build/testcases/xmlrpc-metaWeblog-newMediaObject.php b/euc/build/testcases/xmlrpc-metaWeblog-newMediaObject.php deleted file mode 100755 index 75519de..0000000 --- a/euc/build/testcases/xmlrpc-metaWeblog-newMediaObject.php +++ /dev/null @@ -1,55 +0,0 @@ - new xmlrpcval('myImage.gif', 'string'), - 'type' => new xmlrpcval('image/gif', 'string'), - 'bits' => new xmlrpcval($data, 'base64') - ), - 'struct' - ) - ) - ); - - - $c=new xmlrpc_client($serverPath, $serverHost, $serverPort); - $c->setDebug(1); - $r=$c->send($f); - $v=$r->value(); - - - if (!$r->faultCode()) { - echo 'succes!'; - } else { - print "Fault: "; - print "Code: " . $r->faultCode() . - " Reason '" .$r->faultString()."'
"; - } - - - -?> \ No newline at end of file diff --git a/euc/build/testcases/xmlrpc-metaWeblog-newPost.php b/euc/build/testcases/xmlrpc-metaWeblog-newPost.php deleted file mode 100755 index 6bbd961..0000000 --- a/euc/build/testcases/xmlrpc-metaWeblog-newPost.php +++ /dev/null @@ -1,48 +0,0 @@ - new xmlrpcval('Just a test','string'), - 'title' => new xmlrpcval('Edit Post Test', 'string'), - 'categories' => new xmlrpcval(array(), 'array') - ),'struct'), - new xmlrpcval(1, 'boolean'), // publish - ) - ); - - $c=new xmlrpc_client($serverPath, $serverHost, $serverPort); - $c->setDebug(1); - $r=$c->send($f); - $v=$r->value(); - - - if (!$r->faultCode()) { - echo 'success!'; - } else { - print "Fault: "; - print "Code: " . $r->faultCode() . - " Reason '" .$r->faultString()."'
"; - } - - - -?> \ No newline at end of file diff --git a/euc/build/testcases/xmlrpc-mt-getPostCategories.php b/euc/build/testcases/xmlrpc-mt-getPostCategories.php deleted file mode 100755 index 4936429..0000000 --- a/euc/build/testcases/xmlrpc-mt-getPostCategories.php +++ /dev/null @@ -1,42 +0,0 @@ -setDebug(1); - $r=$c->send($f); - $v=$r->value(); - - - if (!$r->faultCode()) { - echo 'succes!'; - } else { - print "Fault: "; - print "Code: " . $r->faultCode() . - " Reason '" .$r->faultString()."'
"; - } - - - -?> \ No newline at end of file diff --git a/euc/build/testcases/xmlrpc-mt-getRecentPostTitles.php b/euc/build/testcases/xmlrpc-mt-getRecentPostTitles.php deleted file mode 100755 index a58d4ca..0000000 --- a/euc/build/testcases/xmlrpc-mt-getRecentPostTitles.php +++ /dev/null @@ -1,43 +0,0 @@ -setDebug(1); - $r=$c->send($f); - $v=$r->value(); - - - if (!$r->faultCode()) { - echo 'succes!'; - } else { - print "Fault: "; - print "Code: " . $r->faultCode() . - " Reason '" .$r->faultString()."'
"; - } - - - -?> \ No newline at end of file diff --git a/euc/build/testcases/xmlrpc-mt-getTrackbackPings.php b/euc/build/testcases/xmlrpc-mt-getTrackbackPings.php deleted file mode 100755 index 2e8fa20..0000000 --- a/euc/build/testcases/xmlrpc-mt-getTrackbackPings.php +++ /dev/null @@ -1,40 +0,0 @@ -setDebug(1); - $r=$c->send($f); - $v=$r->value(); - - - if (!$r->faultCode()) { - echo 'succes!'; - } else { - print "Fault: "; - print "Code: " . $r->faultCode() . - " Reason '" .$r->faultString()."'
"; - } - - - -?> \ No newline at end of file diff --git a/euc/build/testcases/xmlrpc-mt-setPostCategories.php b/euc/build/testcases/xmlrpc-mt-setPostCategories.php deleted file mode 100755 index b00dd67..0000000 --- a/euc/build/testcases/xmlrpc-mt-setPostCategories.php +++ /dev/null @@ -1,68 +0,0 @@ - new xmlrpcval('Test','string') - ), - 'struct' - ) -/* , - new xmlrpcval( - array( -// 'isPrimary' => new xmlrpcval(1, 'boolean'), - 'categoryId' => new xmlrpcval('newcat1','string') - ), - 'struct' - ), - new xmlrpcval( - array( - 'categoryId' => new xmlrpcval('General','string') - ), - 'struct' - ) -*/ - ), - 'array' - ) - ) - ); - - echo 'ready'; - $c=new xmlrpc_client($serverPath, $serverHost, $serverPort); - $c->setDebug(1); - $r=$c->send($f); - $v=$r->value(); - - - if (!$r->faultCode()) { - echo 'succes!'; - } else { - print "Fault: "; - print "Code: " . $r->faultCode() . - " Reason '" .$r->faultString()."'
"; - } - - - -?> \ No newline at end of file -- 2.11.0