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
assertEquals( "dynamic", handle2.getValueType( ) ); 
		assertEquals( "ds1", handle2.getDataSetName( ) ); 
		assertEquals( "row[\"test\"]", handle2.getValueExpr( ) ); 
		handle2.setValueType( DesignChoiceConstants.PARAM_VALUE_TYPE_STATIC );
		handle2.setDataSetName( null );
		handle2.setValueExpr( null );
		handle2.setPromptText( "new Text" ); 
		handle2.setListlimit( 300 );
		save( );
		assertTrue( compareFile( "ScalarParameterParseTest_golden.xml" ) ); 
	}
	/**
	 * Test the properties for user-defined properties.
	 * 
	 * @throws Exception
	 */
	public void testProperties( ) throws Exception
	{
		SlotHandle params = designHandle.getSlot( ReportDesign.PARAMETER_SLOT );
		assertEquals( 3, params.getCount( ) );
		ScalarParameterHandle handle = (ScalarParameterHandle) params.get( 0 );
		assertEquals( "scalar para help", handle.getHelpText( ) ); 
		assertEquals( "help", handle.getHelpTextKey( ) ); 
		assertTrue( handle.isHidden( ) );
		assertEquals( DesignChoiceConstants.PARAM_TYPE_DECIMAL, handle
				.getDataType( ) );
		assertEquals( "the validation test", handle.getValidate( ) ); 
		assertFalse( handle.isConcealValue( ) );
		assertEquals( "State", handle.getDefaultValue( ) ); 
		assertTrue( handle.isRequired( ) );