Clover Coverage Report - FEST Swing 1.2
Coverage timestamp: Tue Jun 1 2010 15:19:25 PDT
../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
1   27   1   1
0   12   1   1
1     1  
1    
33.3% of code in this file is excluded from these metrics.
 
  ContainerComponentsQuery       Line # 19 1 33.3% 1 0 100% 1.0
 
No Tests
 
1    package org.fest.swing.hierarchy;
2   
3    import static org.fest.util.Collections.list;
4   
5    import java.awt.Component;
6    import java.awt.Container;
7    import java.util.List;
8   
9    import org.fest.swing.annotation.RunsInCurrentThread;
10   
11    /**
12    * Understands an action that returns all the components in a given <code>{@link Container}</code> in a
13    * <code>{@link List}</code>.
14    * @see Container#getComponents()
15    *
16    * @author Alex Ruiz
17    * @author Yvonne Wang
18    */
 
19    final class ContainerComponentsQuery {
20   
 
21  106839 toggle @RunsInCurrentThread
22    static List<Component> componentsOf(Container container) {
23  106839 return list(container.getComponents());
24    }
25   
 
26    toggle private ContainerComponentsQuery() {}
27    }