⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 composetestcase.java

📁 xbrlapi的源码
💻 JAVA
字号:
package org.xbrlapi.data.dom.tests;import org.w3c.dom.Document;import org.xbrlapi.utilities.XBRLException;/** * Test the XBRLAPI Store composition algorithm. * @author Geoffrey Shuetrim (geoff@galexy.net) */public class ComposeTestCase extends BaseTestCase {	private final String STARTING_POINT = "test.data.small.schema";		protected void setUp() throws Exception {		super.setUp();		loader.discover(this.getURL(STARTING_POINT));			}	protected void tearDown() throws Exception {		super.tearDown();	}	public ComposeTestCase(String arg0) {		super(arg0);	}		/**	 * Test the composition of a Store.	 */	public void testCompose() {		try {			Document d = store.formCompositeDocument();			assertEquals("dts",d.getDocumentElement().getLocalName());					} catch (XBRLException e) {			e.printStackTrace();			fail("Unexpected exception thrown.");		}	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -