assertEquals("findToc should return root","",tocNode.getDisplayString());
assertEquals("findToc should return null",null,tocNode.getDisplayString());
	public void testReportDocumentAbnormal(){/*		String designName="report_document.rptdesign",reportDocName="report_document";		String plug_path=EngineCase.PLUGIN_PATH;		String file_path=EngineCase.RESOURCE_BUNDLE.getString("CASE_INPUT")					+System.getProperty("file.separator");		String document_path=EngineCase.RESOURCE_BUNDLE.getString("CASE_OUTPUT")		+System.getProperty("file.separator");				String report_design=plug_path+file_path+designName;		String report_document=plug_path+document_path+reportDocName;		*/		String path=getBaseFolder()+System.getProperty("file.separator");		String report_design=path+INPUT_FOLDER+System.getProperty("file.separator")+"report_document.rptdesign";		String report_document=path+OUTPUT_FOLDER+System.getProperty("file.separator")+"report_document";		/*		String report_design="D:/TEMP/workspace3.1/org.eclipse.birt.report.tests.engine/input/report_document.rptdesign";		String report_document="D:/TEMP/workspace3.1/org.eclipse.birt.report.tests.engine/output/report_document";*/				try{			createReportDocument(report_design,report_document);			IDocArchiveReader archive=new FileArchiveReader(report_document);			IReportDocument reportDoc=engine.openReportDocument(report_document);						//check findToc			TOCNode tocNode;			tocNode=(TOCNode)reportDoc.findTOC(null);			assertEquals("findToc should return root","",tocNode.getDisplayString());			tocNode=(TOCNode)reportDoc.findTOC("");			assertNull("1.findToc should return null toc node",tocNode);			tocNode=(TOCNode)reportDoc.findTOC("1");			assertNull("2.findToc should return null toc node",tocNode);			tocNode=(TOCNode)reportDoc.findTOC("\":)_+^&*%$#@!~<>");			assertNull("3.findToc should return null toc node",tocNode);						//check getChildren			List children;			children=reportDoc.getChildren(null);			assertNotNull(children);			assertEquals("getChildren should return root node's children",1,children.size());			children=reportDoc.getChildren("");			assertNull("1.getChildren should return null",children);			children=reportDoc.getChildren("1");			assertNull("2.getChildren should return null",children);			children=reportDoc.getChildren("\":)_+^&*%$#@!~<>??");			assertNull("3.getChildren should return null",children);						//check getPageNumber(instanceID)			//TODO:						//check getPageNumber(bookmarks)			long pageNum;			String bookmark=null;			pageNum=reportDoc.getPageNumber(bookmark);			assertEquals("1.getPageNumber should return -1",-1,pageNum);			bookmark="";			pageNum=reportDoc.getPageNumber(bookmark);			assertEquals("2.getPageNumber should return -1",-1,pageNum);			bookmark="\":)_+^&*%$#@!~<>??";			pageNum=reportDoc.getPageNumber(bookmark);			assertEquals("3.getPageNumber should return -1",-1,pageNum);		}catch(Exception e){			e.printStackTrace();		}	}