Bug 199862 Master page should not an inheritable property [05]
Description: Master page should not an inheritable property. Build number: 2.2.1.v20070814-0630 Steps to reproduce: 1. New a table with a label in one cell. 2. Select "Simple MasterPage" for "Master Page" of table in Property Editor. Expected result: "Master Page" of label in Property editor should be "None". Actual result: "Master Page" of label in Property is "Simple MasterPage". Error log: N/A
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/ScalarParameterParseTest.java
assertFalse( handle.distinct( ) );
		assertEquals( "##,###.##", handle.getPattern( ) ); 
		assertEquals( DesignChoiceConstants.PARAM_CONTROL_CHECK_BOX, handle
				.getControlType( ) );
		assertEquals( DesignChoiceConstants.SCALAR_PARAM_ALIGN_AUTO, handle
				.getAlignment( ) );
		assertEquals( DesignChoiceConstants.SORT_DIRECTION_DESC, handle
				.getSortDirection( ) );
		assertEquals( DesignChoiceConstants.PARAM_SORT_VALUES_VALUE, handle
				.getSortBy( ) );
		assertTrue( handle.isMustMatch( ) );
		assertTrue( handle.isFixedOrder( ) );
		StructureHandle[] choices = new StructureHandle[3];
		int count = 0;
		Iterator iter = null;
		for ( iter = handle.choiceIterator( ); iter.hasNext( ); count++ )
			choices[count] = (StructureHandle) ( iter.next( ) );
		assertEquals( 3, count );
		assertEquals( "option 1", 
				choices[0].getMember( SelectionChoice.VALUE_MEMBER ).getValue( ) );
		assertEquals( "option 1 label", 
				choices[0].getMember( SelectionChoice.LABEL_MEMBER ).getValue( ) );
		assertEquals( "key 1 for label 1", 
				choices[0]
						.getMember( SelectionChoice.LABEL_RESOURCE_KEY_MEMBER )
						.getValue( ) );
		assertEquals( "option 3", 
				choices[2].getMember( SelectionChoice.VALUE_MEMBER ).getValue( ) );
		assertNull( choices[2].getMember( SelectionChoice.LABEL_MEMBER )
				.getValue( ) );