OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MockControl
(Results
1 - 25
of
75
) sorted by null
1
2
3
/system/connectivity/shill/
mock_control.cc
23
MockControl
::
MockControl
() {}
25
MockControl
::~
MockControl
() {}
27
DeviceAdaptorInterface*
MockControl
::CreateDeviceAdaptor(Device* /*device*/) {
31
IPConfigAdaptorInterface*
MockControl
::CreateIPConfigAdaptor(
36
ManagerAdaptorInterface*
MockControl
::CreateManagerAdaptor(
41
ProfileAdaptorInterface*
MockControl
::CreateProfileAdaptor(
46
RPCTaskAdaptorInterface*
MockControl
::CreateRPCTaskAdaptor(RPCTask* /*task*/) {
50
ServiceAdaptorInterface*
MockControl
::CreateServiceAdaptor
[
all
...]
resolver_unittest.cc
85
MockControl
control;
103
MockControl
control;
115
MockControl
control;
mock_control.h
30
class
MockControl
: public ControlInterface {
32
MockControl
();
33
~
MockControl
() override;
159
DISALLOW_COPY_AND_ASSIGN(
MockControl
);
/system/connectivity/apmanager/
mock_control.cc
21
MockControl
::
MockControl
() {}
23
MockControl
::~
MockControl
() {}
25
std::unique_ptr<ConfigAdaptorInterface>
MockControl
::CreateConfigAdaptor(
30
std::unique_ptr<DeviceAdaptorInterface>
MockControl
::CreateDeviceAdaptor(
35
std::unique_ptr<ManagerAdaptorInterface>
MockControl
::CreateManagerAdaptor(
40
std::unique_ptr<ServiceAdaptorInterface>
MockControl
::CreateServiceAdaptor(
45
std::unique_ptr<FirewallProxyInterface>
MockControl
::CreateFirewallProxy(
51
std::unique_ptr<ShillProxyInterface>
MockControl
::CreateShillProxy
[
all
...]
mock_control.h
27
class
MockControl
: public ControlInterface {
29
MockControl
();
30
~
MockControl
() override;
64
DISALLOW_COPY_AND_ASSIGN(
MockControl
);
/system/connectivity/shill/cellular/
mock_modem_info.h
57
MockControl
* mock_control_interface() const {
75
std::unique_ptr<
MockControl
> mock_control_;
mock_modem_info.cc
44
mock_control_.reset(new
MockControl
());
modem_info_unittest.cc
45
MockControl
control_interface_;
/external/easymock/src/org/easymock/
MockControl.java
25
* A <code>
MockControl
</code> object controls the behavior of its associated
34
public class
MockControl
<T> implements Serializable {
42
protected
MockControl
(MocksControl ctrl, Class<T> toMock) {
49
* <code>
MockControl
</code> and its associated mock object will not check
58
public static <T>
MockControl
<T> createControl(Class<T> toMock) {
59
return new
MockControl
<T>((MocksControl) EasyMock.createControl(),
65
* <code>
MockControl
</code> and its associated mock object will check the
74
public static <T>
MockControl
<T> createStrictControl(Class<T> toMock) {
75
return new
MockControl
<T>(
81
* <code>
MockControl
</code> and its associated mock object will not check
[
all
...]
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/
ListCommandHandlerTest.java
18
import org.easymock.
MockControl
;
47
control(session).setMatcher(
MockControl
.ARRAY_MATCHER);
NlstCommandHandlerTest.java
18
import org.easymock.
MockControl
;
47
control(session).setMatcher(
MockControl
.ARRAY_MATCHER);
RetrCommandHandlerTest.java
20
import org.easymock.
MockControl
;
103
control(session).setMatcher(
MockControl
.ARRAY_MATCHER);
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/
ListCommandHandlerTest.java
18
import org.easymock.
MockControl
;
49
control(session).setMatcher(
MockControl
.ARRAY_MATCHER);
NlstCommandHandlerTest.java
18
import org.easymock.
MockControl
;
47
control(session).setMatcher(
MockControl
.ARRAY_MATCHER);
RetrCommandHandlerTest.java
19
import org.easymock.
MockControl
;
102
control(session).setMatcher(
MockControl
.ARRAY_MATCHER);
_AbstractStubCommandHandlerTest.java
22
import org.easymock.
MockControl
;
143
control(session).setDefaultMatcher(
MockControl
.ARRAY_MATCHER);
AbstractCommandHandlerTest.java
23
import org.easymock.
MockControl
;
157
control(session).setDefaultMatcher(
MockControl
.ARRAY_MATCHER);
/system/connectivity/shill/upstart/
upstart_unittest.cc
34
class FakeControl : public
MockControl
{
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/
_AbstractCommandHandlerTest.java
20
import org.easymock.
MockControl
;
109
control(session).setDefaultMatcher(
MockControl
.ARRAY_MATCHER);
_AbstractStaticReplyCommandHandlerTest.java
20
import org.easymock.
MockControl
;
141
control(session).setDefaultMatcher(
MockControl
.ARRAY_MATCHER);
AbstractCommandHandlerTestCase.java
20
import org.easymock.
MockControl
;
148
control(session).setDefaultMatcher(
MockControl
.ARRAY_MATCHER);
_AbstractTrackingCommandHandlerTest.java
20
import org.easymock.
MockControl
;
205
control(session).setDefaultMatcher(
MockControl
.ARRAY_MATCHER);
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/test/
AbstractTestCase.java
21
import org.easymock.
MockControl
;
74
MockControl
control =
MockControl
.createControl(interfaceToMock);
126
* @return the associated
MockControl
130
protected
MockControl
control(Object mock) {
132
MockControl
control = (
MockControl
) mocks.get(mock);
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/
AbstractTest.java
34
import org.easymock.
MockControl
;
74
MockControl
control =
MockControl
.createControl(interfaceToMock);
122
* @return the associated
MockControl
126
protected
MockControl
control(Object mock) {
128
MockControl
control = (
MockControl
) mocks.get(mock);
/external/easymock/src/org/easymock/internal/
LegacyMatcherProvider.java
25
import org.easymock.
MockControl
;
41
setDefaultMatcher(
MockControl
.EQUALS_MATCHER);
52
"default matcher can only be set once directly after creation of the
MockControl
"));
Completed in 1321 milliseconds
1
2
3