| 
Groovy 1.7.9 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.mock.interceptor.LooseExpectation
class LooseExpectation extends Object
Expects demanded call cardinalities to match demanded ranges. The calls are allowed to be out of the recorded sequence. If a method is demanded multiple times, the ranges are filled by order of recording.
| Property Summary | |
|---|---|
        List | 
        
            fCalls
             | 
        
        Demand | 
        
            fDemand
             | 
        
| Constructor Summary | |
            LooseExpectation(Demand demand)
             | 
        |
| Method Summary | |
|---|---|
            boolean
         | 
        
            isEligible(String name, int i)
             | 
        
            Closure
         | 
        
            match(String name)
            Match the requested method name against eligible demands.  | 
        
            void
         | 
        
            verify()
            verify all calls are in expected range  | 
        
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll | 
| Property Detail | 
|---|
List fCalls
Demand fDemand
| Constructor Detail | 
|---|
LooseExpectation(Demand demand)
| Method Detail | 
|---|
boolean isEligible(String name, int i)
Closure match(String name)
void verify()
Copyright © 2003-2010 The Codehaus. All rights reserved.