Home | History | Annotate | Download | only in testrunner

Lines Matching defs:EasyMock

22 import org.easymock.EasyMock;
46 mMockDevice = EasyMock.createMock(IDevice.class);
47 EasyMock.expect(mMockDevice.getSerialNumber()).andStubReturn("serial");
48 mMockListener = EasyMock.createNiceMock(ITestRunListener.class);
56 String expectedCmd = EasyMock.eq(String.format("am instrument -w -r %s/%s", TEST_PACKAGE,
66 String expectedCmd = EasyMock.contains("-e log true");
77 String expectedCmd = EasyMock.contains(String.format("-e class %s#%s", className,
88 String expectedCmd = EasyMock.contains(String.format("-e package %s", packageName));
99 String expectedCmd = EasyMock.contains(String.format("-e %s %s", extraArgName,
109 mMockDevice.executeShellCommand((String)EasyMock.anyObject(), (IShellOutputReceiver)
110 EasyMock.anyObject(), EasyMock.eq(0));
111 EasyMock.expectLastCall().andThrow(new IOException());
114 mMockListener.testRunFailed((String)EasyMock.anyObject());
115 mMockListener.testRunEnded(EasyMock.anyLong(), EasyMock.eq(Collections.EMPTY_MAP));
117 EasyMock.replay(mMockDevice, mMockListener);
124 EasyMock.verify(mMockDevice, mMockListener);
133 EasyMock.anyObject(), EasyMock.eq(0));
134 EasyMock.replay(mMockDevice);
136 EasyMock.verify(mMockDevice);