• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 1607 for branches/3.0-Beta2/components/client/test/ome/adapters/pojos/utests/PojosTest.java

Show
Ignore:
Timestamp:
06/08/07 20:15:22 (18 months ago)
Author:
david
Message:

code cleanup ticket #383

Files:
1 modified

  • branches/3.0-Beta2/components/client/test/ome/adapters/pojos/utests/PojosTest.java (modified) (5 diffs)

Legend:

Unmodified
Added
Removed
  • branches/3.0-Beta2/components/client/test/ome/adapters/pojos/utests/PojosTest.java

    r1375 r1607  
    77package ome.adapters.pojos.utests; 
    88 
     9import org.apache.commons.logging.Log; 
     10import org.apache.commons.logging.LogFactory; 
    911import org.testng.annotations.*; 
    1012 
    … …  
    4244 
    4345public class PojosTest extends TestCase { 
     46 
     47    private static Log log = LogFactory.getLog(PojosTest.class); 
     48     
    4449    IObject[] all; 
    4550 
    … …  
    114119        assertFalse(pd.getDatasets().size() == 0); 
    115120        assertFalse(pd.getDatasets().iterator().next().getClass() == Dataset.class); 
    116         System.out.println(pd); 
     121        if (log.isDebugEnabled()) { 
     122            log.debug(pd); 
     123        } 
    117124    } 
    118125 
    … …  
    162169        Set d_links = new HashSet(test.collectProjectLinks(null)); 
    163170 
    164         System.out.println(p_links); 
    165         System.out.println(d_links); 
     171        if (log.isDebugEnabled()) { 
     172            log.debug(p_links); 
     173            log.debug(d_links); 
     174        } 
    166175 
    167176        assertTrue(p_links.containsAll(d_links)); 
    … …  
    174183        Set i2_links = new HashSet(test2.collectDatasetLinks(null)); 
    175184 
    176         System.out.println(d2_links); 
    177         System.out.println(i2_links); 
     185        if (log.isDebugEnabled()) { 
     186            log.debug(d2_links); 
     187            log.debug(i2_links); 
     188        } 
     189 
    178190 
    179191        assertTrue(d2_links.containsAll(i2_links)); 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/