Package de.berndsteindorff.junittca.model

Examples of de.berndsteindorff.junittca.model.UserConfiguration


    Class<?> class1 = DummyTest.class;
    Class<?> class2 = DummyTest.class;

    assertEquals(class1, class2);

    List<ClassFile> done = fcl.findClassesInClassPath(new UserConfiguration());
    Collections.sort(done);

    assertEquals(expTestClasses.size(), done.size());
    assertEquals(expTestClasses, done);
  }
View Full Code Here


        CLASSPATH_TESTPROJEKT + DIRSEP));

    FileClassLoader2 fcl = new FileClassLoader2(CLASSPATH + PATHSEP
        + CLASSPATH_TESTPROJEKT);

    List<ClassFile> done = fcl.findClassesInClassPath(new UserConfiguration());
    Collections.sort(done);

    assertEquals(10, done.size());
    assertEquals(expTestClasses, done);
  }
View Full Code Here

    logger.info("noTestClassFoundInClassPath");
    File file = new File(Const.PATH_DB + "temp");
    file.mkdir();
    FileClassLoader2 fcl = new FileClassLoader2(PATH_DB + "temp");
    try {
      fcl.findClassesInClassPath(new UserConfiguration());
      fail("Es wurden doch Test-Klassen in " + PATH_DB + "temp gefunden");
    } catch (ClassNotFoundException e) {
      assertEquals(
          "Es gibt keine Klasse im Klassenpfad, welche eine Test-Methode enthält.\nKlassenpfad: "
              + Const.PATH_DB + "temp/", e.getMessage());
View Full Code Here

TOP

Related Classes of de.berndsteindorff.junittca.model.UserConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.