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

📄 resourcelocatortest.java

📁 jConfig,JAVA读取XML的开源项目
💻 JAVA
字号:
/*
 * Created on Feb 26, 2003
 *
 * To change this generated comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package org.jconfig.utils;

import java.io.IOException;

import junit.framework.TestCase;

/**
 * @author terry
 *
 * To change this generated comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public class ResourceLocatorTest extends TestCase {
    
    /**
     * Constructor for ResourceLocatorTest.
     * @param arg0
     */
    public ResourceLocatorTest(String arg0) {
        super(arg0);
    }
    
    public static void main(String[] args) {
        junit.textui.TestRunner.run(ResourceLocatorTest.class);
    }
    
    /**
     * Test for void ResourceLocator()
     */
    public void testResourceLocator() throws IOException {
        ResourceLocator locator = new ResourceLocator("config.xml");
        assertNotNull(locator);
        assertEquals("config.xml",locator.getName());
    }
            
        /*
         * Test for void ResourceLocator(String)
         */
    public void testResourceLocatorString() {
    }
    
    public void testFindResource() {
    }
    
    public void testGetName() {
    }
    
    public void testGetInputStream() {
    }
    
    public void testLastModified() {
    }
    
    public void testGetDirectory() {
    }
    
        /*
         * Test for String toString()
         */
    public void testToString() {
    }
    
}

⌨️ 快捷键说明

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