/external/guava/guava-tests/test/com/google/common/collect/ |
D | ForwardingMapTest.java | 256 expect(map.containsKey(anyObject())).andReturn(false).anyTimes(); 257 expect(map.get(anyObject())).andReturn(null).anyTimes(); 258 expect(map.isEmpty()).andReturn(true).anyTimes(); 259 expect(map.remove(anyObject())).andReturn(null).anyTimes(); 260 expect(map.size()).andReturn(0).anyTimes(); 263 .anyTimes(); 265 expectLastCall().anyTimes(); 292 Iterators.<Entry<String, Boolean>>emptyIterator()).anyTimes(); 296 expect(map.containsKey(anyObject())).andReturn(false).anyTimes(); 297 expect(map.isEmpty()).andReturn(true).anyTimes(); [all …]
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ContextPathTest.java | 91 .anyTimes(); in setUp() 92 expect(filterConfig.getServletContext()).andReturn(servletContext).anyTimes(); in setUp() 125 expect(req.getMethod()).andReturn("GET").anyTimes(); in testSimple() 126 expect(req.getRequestURI()).andReturn("/bar/foo").anyTimes(); in testSimple() 127 expect(req.getServletPath()).andReturn("/bar/foo").anyTimes(); in testSimple() 128 expect(req.getContextPath()).andReturn("").anyTimes(); in testSimple() 254 expect(req.getMethod()).andReturn("GET").anyTimes(); in runTest() 255 expect(req.getRequestURI()).andReturn(requestURI).anyTimes(); in runTest() 256 expect(req.getServletPath()).andReturn(servletPath).anyTimes(); in runTest() 257 expect(req.getContextPath()).andReturn(contextPath).anyTimes(); in runTest()
|
D | VarargsFilterDispatchIntegrationTest.java | 63 expect(requestMock.getRequestURI()).andReturn("/index.html").anyTimes(); in testDispatchRequestToManagedPipeline() 64 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipeline() 105 expect(requestMock.getRequestURI()).andReturn("/index.xhtml").anyTimes(); in testDispatchThatNoFiltersFire() 106 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchThatNoFiltersFire() 148 expect(requestMock.getRequestURI()).andReturn("/index").anyTimes(); in testDispatchFilterPipelineWithRegexMatching() 149 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchFilterPipelineWithRegexMatching()
|
D | FilterDispatchIntegrationTest.java | 93 expect(requestMock.getRequestURI()).andReturn("/index.html").anyTimes(); in testDispatchRequestToManagedPipeline() 94 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipeline() 100 expect(responseMock.isCommitted()).andReturn(false).anyTimes(); in testDispatchRequestToManagedPipeline() 102 expectLastCall().anyTimes(); in testDispatchRequestToManagedPipeline() 151 expect(requestMock.getRequestURI()).andReturn("/index.xhtml").anyTimes(); in testDispatchThatNoFiltersFire() 152 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchThatNoFiltersFire() 195 expect(requestMock.getRequestURI()).andReturn("/index").anyTimes(); in testDispatchFilterPipelineWithRegexMatching() 196 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchFilterPipelineWithRegexMatching() 267 expect(requestMock.getRequestURI()).andReturn(value).anyTimes(); in runRequestForPath() 268 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in runRequestForPath()
|
D | ServletDispatchIntegrationTest.java | 87 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipelineServlets() 136 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipelineWithFilter() 260 expect(requestMock.getRequestURI()).andReturn("/").anyTimes(); in testForwardUsingRequestDispatcher() 261 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testForwardUsingRequestDispatcher() 299 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testQueryInRequestUri_regex() 335 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testQueryInRequestUri()
|
D | FilterDefinitionTest.java | 46 expect(injector.getInstance(Key.get(Filter.class))).andReturn(mockFilter).anyTimes(); in testFilterInitAndConfig() 100 expect(injector.getInstance(Key.get(Filter.class))).andReturn(mockFilter).anyTimes(); in testFilterCreateDispatchDestroy() 103 expect(request.getContextPath()).andReturn("").anyTimes(); in testFilterCreateDispatchDestroy() 163 expect(injector.getInstance(Key.get(Filter.class))).andReturn(mockFilter).anyTimes(); in testFilterCreateDispatchDestroySupressChain() 166 expect(request.getContextPath()).andReturn("").anyTimes(); in testFilterCreateDispatchDestroySupressChain() 230 expect(injector.getInstance(Key.get(Filter.class))).andReturn(mockFilter).anyTimes(); in testGetFilterIfMatching() 267 expect(injector.getInstance(Key.get(Filter.class))).andReturn(mockFilter).anyTimes(); in testGetFilterIfMatchingNotMatching()
|
D | InjectedFilterPipelineTest.java | 91 .anyTimes(); in testDispatchThruInjectedGuiceFilter() 92 expect(request.getContextPath()).andReturn("").anyTimes(); in testDispatchThruInjectedGuiceFilter() 121 .anyTimes(); in testDispatchThruInjectedGuiceFilter() 122 expect(request.getContextPath()).andReturn("").anyTimes(); in testDispatchThruInjectedGuiceFilter()
|
D | VarargsServletDispatchIntegrationTest.java | 82 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipelineServlets() 125 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testVarargsSkipDispatchRequestToManagedPipelineServlets() 170 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipelineWithFilter()
|
D | MultiModuleDispatchIntegrationTest.java | 73 expect(requestMock.getRequestURI()).andReturn("/index.html").anyTimes(); in testDispatchRequestToManagedPipeline() 74 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipeline()
|
D | FilterPipelineTest.java | 71 expect(request.getRequestURI()).andReturn("/public/login.jsp").anyTimes(); in testDispatchThruGuiceFilter() 72 expect(request.getContextPath()).andReturn("").anyTimes(); in testDispatchThruGuiceFilter()
|
D | ContinuingRequestIntegrationTest.java | 134 expect(request.getContextPath()).andReturn("").anyTimes(); in testRequestContinuesInOtherThread() 178 expect(request.getContextPath()).andReturn("").anyTimes(); in testRequestContinuationDiesInHttpRequestThread()
|
D | ServletDefinitionPathsTest.java | 195 expect(request.getServletPath()).andReturn(servletPath).anyTimes(); in pathInfoWithServletStyleMatching() 306 expect(request.getServletPath()).andReturn(servletPath).anyTimes(); in pathInfoWithRegexMatching()
|
D | ServletDefinitionTest.java | 56 expect(injector.getInstance(Key.get(HttpServlet.class))).andReturn(mockServlet).anyTimes(); in testServletInitAndConfig()
|
/external/easymock/src/org/easymock/ |
D | IExpectationSetters.java | 150 IExpectationSetters<T> anyTimes(); in anyTimes() method
|
D | MockControl.java | 643 setter.anyTimes(); in callWithConvertedRange()
|
/external/easymock/src/org/easymock/internal/ |
D | MocksControl.java | 254 public IExpectationSetters<Object> anyTimes() { in anyTimes() method in MocksControl
|