Project

General

Profile

Revision d9b720ac

IDd9b720ac6a4e4394aa89df816478c0a2d20e2545
Parent bb8caa72
Child 91e5776b

Added by Katja Luther over 2 years ago

delete system.out.println from test

View differences:

cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/TaxonNodeServiceImplTest.java
574 574
    	TaxonNaturalComparator comparator = new TaxonNaturalComparator();
575 575
    	List<TaxonNode> allNodes = new ArrayList<>(classification.getAllNodes());
576 576
    	Collections.sort(allNodes, comparator);
577
    	System.out.println("---Before sorting---");
578
    	for (TaxonNode node: allNodes){
579
    	    System.out.println(node.getTaxon().getTitleCache());
580
    	}
577

  
581 578
    	Assert.assertEquals(allNodes.get(0).getTaxon(), abies );
582 579
    	Assert.assertEquals(allNodes.get(2).getTaxon(), abiesBalsamea );
583 580
    	Assert.assertEquals(allNodes.get(1).getTaxon(), abiesAlba );
......
587 584

  
588 585
       allNodes = new ArrayList<>(classification.getAllNodes());
589 586
        Collections.sort(allNodes, comparator);
590
        System.out.println("\n---After sorting---");
591
        for (TaxonNode node: allNodes){
592
            System.out.println(node.getTaxon().getTitleCache());
593
        }
587

  
594 588
        Assert.assertEquals(allNodes.get(0).getTaxon(), abies );
595 589
        Assert.assertEquals(allNodes.get(1).getTaxon(), abiesBalsamea );
596 590
        Assert.assertEquals(allNodes.get(2).getTaxon(), abiesAlba );

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)