saveAs( OUTPUT_FILE_WITH_EMPTY_PROPS ); assertTrue( compareTextFile( GOLDEN_FILE_WITH_EMPTY_PROPS, OUTPUT_FILE_WITH_EMPTY_PROPS ) );
save(  ); assertTrue( compareTextFile( GOLDEN_FILE_WITH_EMPTY_PROPS ) );
	public void testUpdateROMDataSetWithODADataSet( ) throws Exception	{		openDesign( INPUT_FILE_WITH_EMPTY_PROPS );		OdaDataSetHandle setHandle = (OdaDataSetHandle) designHandle				.findDataSet( "myDataSet1" ); //$NON-NLS-1$		DataSetDesign sourceDesign = createDataSetDesign( );		new ModelOdaAdapter( ).updateDataSetHandle( sourceDesign, setHandle,				true );		assertTrue( designHandle.getCommandStack( ).canUndo( ) );		assertFalse( designHandle.getCommandStack( ).canRedo( ) );		designHandle.getCommandStack( ).undo( );		assertFalse( designHandle.getCommandStack( ).canUndo( ) );		assertTrue( designHandle.getCommandStack( ).canRedo( ) );		saveAs( OUTPUT_FILE_WITH_EMPTY_PROPS );		assertTrue( compareTextFile( GOLDEN_FILE_WITH_EMPTY_PROPS,				OUTPUT_FILE_WITH_EMPTY_PROPS ) );		designHandle.getCommandStack( ).redo( );		saveAs( OUTPUT_FILE1_WITH_EMPTY_PROPS );		assertTrue( compareTextFile( GOLDEN_FILE1_WITH_EMPTY_PROPS,				OUTPUT_FILE1_WITH_EMPTY_PROPS ) );		openDesign( INPUT_FILE_WITH_LIB );		// the source is in the library, so no change.		setHandle = (OdaDataSetHandle) designHandle.findDataSet( "myDataSet1" ); //$NON-NLS-1$		new ModelOdaAdapter( ).updateDataSetHandle( sourceDesign, setHandle,				false );		assertEquals( "Library Data Source One", setHandle.getDataSource( ) //$NON-NLS-1$				.getDisplayName( ) );	}