Example #1
0
 @org.junit.Test
 public void testUnmanagedClasspath() {
   List<Object> list1 = WrapUtil.toList("a", new Object());
   assertSame(test, test.unmanagedClasspath(list1.toArray(new Object[list1.size()])));
   assertEquals(list1, test.getUnmanagedClasspath());
   List list2 = WrapUtil.toList(WrapUtil.toList("b", "c"));
   test.unmanagedClasspath(list2.toArray(new Object[list2.size()]));
   assertEquals(GUtil.addLists(list1, GUtil.flatten(list2)), test.getUnmanagedClasspath());
 }
Example #2
0
 @org.junit.Test
 public void testInit() {
   assertNotNull(test.getTestFramework());
   assertNotNull(test.existingDirsFilter);
   assertNotNull(test.classpathConverter);
   assertNull(test.getTestClassesDir());
   assertNull(test.getConfiguration());
   assertNull(test.getTestResultsDir());
   assertNull(test.getTestReportDir());
   assertNull(test.getIncludes());
   assertNull(test.getExcludes());
   assertNull(test.getUnmanagedClasspath());
   assert test.isStopAtFailuresOrErrors();
 }