Esempio n. 1
0
        public virtual void TestJar()
        {
            //picking a class that is for sure in a JAR in the classpath
            string jar = JarFinder.GetJar(typeof(LogFactory));

            Assert.True(new FilePath(jar).Exists());
        }
Esempio n. 2
0
        public virtual void TestExpandedClasspath()
        {
            //picking a class that is for sure in a directory in the classpath
            //in this case the JAR is created on the fly
            string jar = JarFinder.GetJar(typeof(TestJarFinder));

            Assert.True(new FilePath(jar).Exists());
        }