Exemplo n.º 1
0
 private void printResultSummary(
     Object fixture, ResultSummary resultSummary, String additionalInformation) {
   synchronized (System.out) {
     if (additionalInformation != null) {
       System.out.print(additionalInformation);
     }
     resultSummary.print(System.out, fixture);
     resultSummary.assertIsSatisfied(fixture);
   }
 }
 @Ignore
 @Test
 public void run() throws Exception {
   ResultSummary resultSummary =
       new ConcordionBuilder()
           .build()
           .process(
               new Resource(
                   "/specification/notification/subscription/forum/ForumSubscriptionScenariosNewEntry.html"),
               this);
   resultSummary.print(System.out, this);
   resultSummary.assertIsSatisfied(this);
 }
 @Test
 public void runScenario() throws Throwable {
   BasicConfigurator.configure();
   LogManager.getRootLogger().setLevel(Level.INFO);
   try {
     final Concordion concordion = createConcordion();
     final ResultSummary resultSummary = concordion.process(this);
     resultSummary.print(System.out, this);
     resultSummary.assertIsSatisfied(this);
   } finally {
     copyCustomCssIfDefined();
   }
 }