/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package jnr.posix; | |
import jnr.posix.JavaFileStat; | |
import junit.framework.TestCase; | |
import jnr.posix.util.Platform; | |
/** | |
* | |
* @author nicksieger | |
*/ | |
public class JavaFileStatTest extends TestCase { | |
public void testSetup() { | |
JavaFileStat fs = new JavaFileStat(null, null); | |
if (Platform.IS_WINDOWS) { | |
fs.setup("c:/"); | |
} else { | |
fs.setup("/"); | |
} | |
assertFalse(fs.isSymlink()); | |
} | |
} |