HomeSort by relevance Sort by last modified time
    Searched refs:mockName (Results 1 - 10 of 10) sorted by null

  /external/mockito/src/org/mockito/internal/util/
MockNameImpl.java 7 import org.mockito.mock.MockName;
11 public class MockNameImpl implements MockName, Serializable {
14 private final String mockName;
18 public MockNameImpl(String mockName, Class classToMock) {
19 if (mockName == null) {
20 this.mockName = toInstanceName(classToMock);
23 this.mockName = mockName;
27 public MockNameImpl(String mockName) {
28 this.mockName = mockName;
    [all...]
MockUtil.java 15 import org.mockito.mock.MockName;
83 public MockName getMockName(Object mock) {
88 MockName mockName = getMockName(mock);
90 if (mockName.isDefault() && getMockHandler(mock).getMockSettings() instanceof CreationSettings) {
  /external/mockito/src/org/mockito/internal/creation/settings/
CreationSettings.java 9 import org.mockito.mock.MockName;
29 protected MockName mockName;
43 this.mockName = copy.mockName;
79 public MockName getMockName() {
80 return mockName;
83 public CreationSettings<T> setMockName(MockName mockName) {
84 this.mockName = mockName
    [all...]
  /external/easymock/src/org/easymock/internal/
Invocation.java 147 String mockName = mock.toString();
149 if (toStringIsDefined(mock) && isJavaIdentifier(mockName)) {
150 return mockName + "." + methodName;
190 public static boolean isJavaIdentifier(String mockName) {
191 if (mockName.length() == 0 || mockName.indexOf(' ') > -1
192 || !Character.isJavaIdentifierStart(mockName.charAt(0))) {
195 for (char c : mockName.substring(1).toCharArray()) {
  /libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/
CharsetTest.java 423 final String mockName = "mockChar1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.:-_";
424 MockCharset c = new MockCharset(mockName, new String[] { "mock" });
425 assertEquals(mockName, c.name());
426 assertEquals(mockName, c.displayName());
427 assertEquals(mockName, c.displayName(Locale.getDefault()));
524 final String mockName = "mockChar1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.:-_";
525 MockCharset c = new MockCharset("mockChar", new String[] { "mock", mockName, "mock2" });
529 assertTrue(c.aliases().contains(mockName));
540 final String mockName = "mockChar1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.:-_";
542 "mock", mockName, "mock", "mockChar", "mock", "mock2" })
    [all...]
  /external/mockito/src/org/mockito/internal/creation/
MockSettingsImpl.java 17 import org.mockito.mock.MockName;
53 public MockName getMockName() {
54 return mockName;
  /prebuilts/tools/common/easymock-tools/
easymock-3.1.jar 
  /prebuilts/tools/common/m2/internal/org/easymock/easymock/3.1/
easymock-3.1.jar 
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 
  /external/robolectric/lib/test/
mockito-core-1.8.5.jar 

Completed in 319 milliseconds