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
* @see TestCase#setUp()
	 */
	protected void setUp( ) throws Exception
	{
		super.setUp( );
		openDesign( "ScalarParameterParseTest.xml" );  	
	}
	/**
	 * Test the write for user-defined properties.
	 * 
	 * @throws Exception
	 */
	public void testWrite( ) throws Exception
	{
		SlotHandle params = designHandle.getParameters( );
		ScalarParameterHandle handle1 = (ScalarParameterHandle) params.get( 0 );
		assertTrue( handle1.isHidden( ) );
		handle1.setHidden( true );
		assertTrue( handle1.isHidden( ) );
		handle1.setValidate( "new validation test" ); 
		handle1.setDataType( DesignChoiceConstants.PARAM_TYPE_DATETIME );
		assertEquals( DesignChoiceConstants.PARAM_TYPE_DATETIME, handle1
				.getDataType( ) );
		handle1.setConcealValue( true );
		assertTrue( handle1.isConcealValue( ) );
		handle1.setDefaultValue( "new default value" ); 
		assertEquals( "new default value", handle1.getDefaultValue( ) ); 
		handle1.setIsRequired( false );
		assertFalse( handle1.isRequired( ) );
		handle1.setDistinct( false );