BUGFIX: Replaced deprecated DataObjectSet use with ArrayLists in SSViewerTest

This commit is contained in:
Hamish Friedlander 2012-02-17 12:01:09 +13:00
parent 91f4ba15f1
commit 156d2226fc

View File

@ -140,7 +140,7 @@ SS
function testCurrentScopeLoopWith() { function testCurrentScopeLoopWith() {
// Data to run the loop tests on - one sequence of three items, each with a subitem // Data to run the loop tests on - one sequence of three items, each with a subitem
$data = new ArrayData(array( $data = new ArrayData(array(
'Foo' => new DataObjectSet(array( 'Foo' => new ArrayList(array(
'Subocean' => new ArrayData(array( 'Subocean' => new ArrayData(array(
'Name' => 'Higher' 'Name' => 'Higher'
)), )),
@ -514,7 +514,7 @@ after')
function testSSViewerBasicIteratorSupport() { function testSSViewerBasicIteratorSupport() {
$data = new ArrayData(array( $data = new ArrayData(array(
'Set' => new DataObjectSet(array( 'Set' => new ArrayList(array(
new SSViewerTest_Page("1"), new SSViewerTest_Page("1"),
new SSViewerTest_Page("2"), new SSViewerTest_Page("2"),
new SSViewerTest_Page("3"), new SSViewerTest_Page("3"),