mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 19:29:56 +09:00
Added support for selecting a subset of the columns specified in the XML query file.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8614 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8b9468a165
commit
e7fe19db1f
5 changed files with 71 additions and 39 deletions
|
|
@ -7,7 +7,7 @@
|
|||
$args->site_srl = 0;
|
||||
$output = executeQuery('module.getMidInfo', $args);
|
||||
$this->assertNotNull($output);
|
||||
$this->assertNotNull($output->data);
|
||||
$this->assertNotNull($output->data, $output->message);
|
||||
$this->assertEquals($output->data->module_srl, 111);
|
||||
}
|
||||
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
$args->site_srl = 0;
|
||||
$output = executeQuery('module.getSiteInfo', $args);
|
||||
$this->assertTrue(is_a($output, 'Object'));
|
||||
$this->assertEquals(0, $output->error);
|
||||
$this->assertEquals(0, $output->error, $output->message);
|
||||
}
|
||||
|
||||
function test_document_getDocumentList_pagination(){
|
||||
|
|
@ -29,5 +29,22 @@
|
|||
$output = executeQuery('document.getDocumentList', $args);
|
||||
$this->assertEquals(0, $output->error, $output->message);
|
||||
}
|
||||
}
|
||||
|
||||
function test_syndication_getDocumentList(){
|
||||
$args->module_srl = NULL;
|
||||
$args->exclude_module_srl = NULL;
|
||||
$args->category_srl = NULL;
|
||||
$args->sort_index = 'list_order';
|
||||
$args->order_type = 'asc';
|
||||
$args->page = 5;
|
||||
$args->list_count = 30;
|
||||
$args->page_count = 10;
|
||||
$args->start_date = NULL;
|
||||
$args->end_date = NULL;
|
||||
$args->member_srl = NULL;
|
||||
$output = executeQuery('document.getDocumentList', $args);
|
||||
|
||||
$this->assertTrue(is_int($output->page), $output->message);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue