Home
last modified time | relevance | path

Searched refs:anyTimes (Results 1 – 16 of 16) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DForwardingMapTest.java256 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/
DContextPathTest.java91 .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()
DVarargsFilterDispatchIntegrationTest.java63 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()
DFilterDispatchIntegrationTest.java93 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()
DServletDispatchIntegrationTest.java87 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()
DFilterDefinitionTest.java46 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()
DInjectedFilterPipelineTest.java91 .anyTimes(); in testDispatchThruInjectedGuiceFilter()
92 expect(request.getContextPath()).andReturn("").anyTimes(); in testDispatchThruInjectedGuiceFilter()
121 .anyTimes(); in testDispatchThruInjectedGuiceFilter()
122 expect(request.getContextPath()).andReturn("").anyTimes(); in testDispatchThruInjectedGuiceFilter()
DVarargsServletDispatchIntegrationTest.java82 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipelineServlets()
125 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testVarargsSkipDispatchRequestToManagedPipelineServlets()
170 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipelineWithFilter()
DMultiModuleDispatchIntegrationTest.java73 expect(requestMock.getRequestURI()).andReturn("/index.html").anyTimes(); in testDispatchRequestToManagedPipeline()
74 expect(requestMock.getContextPath()).andReturn("").anyTimes(); in testDispatchRequestToManagedPipeline()
DFilterPipelineTest.java71 expect(request.getRequestURI()).andReturn("/public/login.jsp").anyTimes(); in testDispatchThruGuiceFilter()
72 expect(request.getContextPath()).andReturn("").anyTimes(); in testDispatchThruGuiceFilter()
DContinuingRequestIntegrationTest.java134 expect(request.getContextPath()).andReturn("").anyTimes(); in testRequestContinuesInOtherThread()
178 expect(request.getContextPath()).andReturn("").anyTimes(); in testRequestContinuationDiesInHttpRequestThread()
DServletDefinitionPathsTest.java195 expect(request.getServletPath()).andReturn(servletPath).anyTimes(); in pathInfoWithServletStyleMatching()
306 expect(request.getServletPath()).andReturn(servletPath).anyTimes(); in pathInfoWithRegexMatching()
DServletDefinitionTest.java56 expect(injector.getInstance(Key.get(HttpServlet.class))).andReturn(mockServlet).anyTimes(); in testServletInitAndConfig()
/external/easymock/src/org/easymock/
DIExpectationSetters.java150 IExpectationSetters<T> anyTimes(); in anyTimes() method
DMockControl.java643 setter.anyTimes(); in callWithConvertedRange()
/external/easymock/src/org/easymock/internal/
DMocksControl.java254 public IExpectationSetters<Object> anyTimes() { in anyTimes() method in MocksControl