FileDocCategorySizeDatePackage
LoaderUtilsTest.javaAPI DocApache Ant 1.701442Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.util

LoaderUtilsTest

public class LoaderUtilsTest extends TestCase
since
Ant 1.6

Fields Summary
Constructors Summary
public LoaderUtilsTest(String name)

        super(name);
    
Methods Summary
public voidtestGetXyzSource()

        File f1 = LoaderUtils.getClassSource(LoaderUtils.class);
        assertNotNull(f1);

        File f2 = LoaderUtils.getResourceSource(null,
                                                "org/apache/tools/ant/taskdefs/defaults.properties");
        assertNotNull(f2);

        assertEquals(f1.getAbsolutePath(), f2.getAbsolutePath());