HomeSort by relevance Sort by last modified time
    Searched refs:assertSame (Results 1 - 25 of 496) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/test/etc/loading-test-jar/
TestMethods.java 46 public static void assertSame(Object expected, Object actual) {
56 public static void assertSame(int expected, int actual) {
94 assertSame("blort", Target.blort());
102 assertSame(22, Target.staticVariable);
110 assertSame("zorch", target.zorch());
119 assertSame(10098, target.instanceVariable);
132 assertSame("Muffins are tasty!\n", s.intern());
150 assertSame("frotz", Target2.frotz());
158 assertSame(220, Target2.staticIgram);
166 assertSame("fizmo", target.fizmo())
    [all...]
  /external/apache-harmony/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
ElementTypeTest.java 36 assertSame(ElementType.ANNOTATION_TYPE, ElementType
38 assertSame(ElementType.CONSTRUCTOR, ElementType.valueOf("CONSTRUCTOR"));
39 assertSame(ElementType.FIELD, ElementType.valueOf("FIELD"));
40 assertSame(ElementType.LOCAL_VARIABLE, ElementType
42 assertSame(ElementType.METHOD, ElementType.valueOf("METHOD"));
43 assertSame(ElementType.PACKAGE, ElementType.valueOf("PACKAGE"));
44 assertSame(ElementType.PARAMETER, ElementType.valueOf("PARAMETER"));
45 assertSame(ElementType.TYPE, ElementType.valueOf("TYPE"));
RetentionPolicyTest.java 35 assertSame(RetentionPolicy.CLASS, RetentionPolicy
37 assertSame(RetentionPolicy.RUNTIME, RetentionPolicy
39 assertSame(RetentionPolicy.SOURCE, RetentionPolicy
  /libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
ElementTypeTest.java 28 assertSame(ElementType.ANNOTATION_TYPE, ElementType.valueOf("ANNOTATION_TYPE"));
29 assertSame(ElementType.CONSTRUCTOR, ElementType.valueOf("CONSTRUCTOR"));
30 assertSame(ElementType.FIELD, ElementType.valueOf("FIELD"));
31 assertSame(ElementType.LOCAL_VARIABLE, ElementType.valueOf("LOCAL_VARIABLE"));
32 assertSame(ElementType.METHOD, ElementType.valueOf("METHOD"));
33 assertSame(ElementType.PACKAGE, ElementType.valueOf("PACKAGE"));
34 assertSame(ElementType.PARAMETER, ElementType.valueOf("PARAMETER"));
35 assertSame(ElementType.TYPE, ElementType.valueOf("TYPE"));
  /external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
PreferenceChangeEventTest.java 46 assertSame(Preferences.userRoot(), event.getNode());
47 assertSame(Preferences.userRoot(), event.getSource());
52 assertSame(Preferences.userRoot(), event.getNode());
53 assertSame(Preferences.userRoot(), event.getSource());
58 assertSame(Preferences.userRoot(), event.getNode());
59 assertSame(Preferences.userRoot(), event.getSource());
64 assertSame(Preferences.userRoot(), event.getNode());
65 assertSame(Preferences.userRoot(), event.getSource());
73 assertSame(Preferences.userRoot(), event.getNode());
74 assertSame(Preferences.userRoot(), event.getSource())
    [all...]
NodeChangeEventTest.java 37 assertSame(Preferences.systemRoot(), event.getParent());
38 assertSame(Preferences.userRoot(), event.getChild());
39 assertSame(Preferences.systemRoot(), event.getSource());
50 assertSame(Preferences.systemRoot(), event.getParent());
52 assertSame(Preferences.systemRoot(), event.getSource());
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
LoggerTest.java 108 assertSame(Logger.global, Logger.getLogger("global"));
109 assertSame(Logger.global, LogManager.getLogManager()
247 assertSame(log, Logger.getLogger("testGetLogger_Normal_ANewLogger"));
249 assertSame(log, LogManager.getLogManager().getLogger(
255 assertSame(Level.ALL, log.getLevel());
280 assertSame(log, Logger
283 assertSame(log, LogManager.getLogManager().getLogger(
316 assertSame(log, LogManager.getLogManager().getLogger(""));
320 assertSame(Level.INFO, log.getLevel());
352 assertSame(log.getParent(), pLog)
    [all...]
LevelTest.java 112 assertSame(Level.SEVERE, Level.parse("SEVERE"));
113 assertSame(Level.WARNING, Level.parse("WARNING"));
114 assertSame(Level.INFO, Level.parse("INFO"));
115 assertSame(Level.CONFIG, Level.parse("CONFIG"));
116 assertSame(Level.FINE, Level.parse("FINE"));
117 assertSame(Level.FINER, Level.parse("FINER"));
118 assertSame(Level.FINEST, Level.parse("FINEST"));
119 assertSame(Level.OFF, Level.parse("OFF"));
120 assertSame(Level.ALL, Level.parse("ALL"));
151 assertSame(Level.SEVERE, Level.parse("SEVERE"))
    [all...]
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
MipmapDrawableTest.java 72 assertSame(medium, mDrawableContainerState.getChildren()[0]);
75 assertSame(small, mDrawableContainerState.getChildren()[0]);
76 assertSame(medium, mDrawableContainerState.getChildren()[1]);
79 assertSame(small, mDrawableContainerState.getChildren()[0]);
80 assertSame(medium, mDrawableContainerState.getChildren()[1]);
81 assertSame(large, mDrawableContainerState.getChildren()[2]);
84 assertSame(small, mDrawableContainerState.getChildren()[0]);
85 assertSame(small, mDrawableContainerState.getChildren()[1]);
86 assertSame(medium, mDrawableContainerState.getChildren()[2]);
87 assertSame(large, mDrawableContainerState.getChildren()[3])
    [all...]
  /external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
PropertyChangeEventTest.java 42 assertSame(src, event.getSource());
44 assertSame(oldValue, event.getOldValue());
45 assertSame(newValue, event.getNewValue());
56 assertSame(src, event.getSource());
58 assertSame(null, event.getOldValue());
59 assertSame(null, event.getNewValue());
73 assertSame(src, event.getSource());
75 assertSame(oldValue, event.getOldValue());
76 assertSame(newValue, event.getNewValue());
107 assertSame(src, event.getSource())
    [all...]
PropertyChangeListenerProxyTest.java 47 assertSame(listener, proxy.getListener());
52 assertSame(newevent, event);
54 assertSame(name, proxy.getPropertyName());
64 assertSame(listener, proxy.getListener());
65 assertSame(name, proxy.getPropertyName());
68 assertSame(name, proxy.getPropertyName());
70 assertSame(newevent, event);
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/
DestroyFailedExceptionTest.java 48 assertSame(message, new DestroyFailedException(message).getMessage());
51 assertSame(message, new DestroyFailedException(message).getMessage());
RefreshFailedExceptionTest.java 48 assertSame(message, new RefreshFailedException(message).getMessage());
51 assertSame(message, new RefreshFailedException(message).getMessage());
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/login/
AccountExceptionTest.java 48 assertSame(message, new AccountException(message).getMessage());
51 assertSame(message, new AccountException(message).getMessage());
AccountExpiredExceptionTest.java 48 assertSame(message, new AccountExpiredException(message).getMessage());
51 assertSame(message, new AccountExpiredException(message).getMessage());
AccountLockedExceptionTest.java 48 assertSame(message, new AccountLockedException(message).getMessage());
51 assertSame(message, new AccountLockedException(message).getMessage());
AccountNotFoundExceptionTest.java 48 assertSame(message, new AccountNotFoundException(message).getMessage());
51 assertSame(message, new AccountNotFoundException(message).getMessage());
CredentialExceptionTest.java 48 assertSame(message, new CredentialException(message).getMessage());
51 assertSame(message, new CredentialException(message).getMessage());
CredentialExpiredExceptionTest.java 49 assertSame(message, new CredentialExpiredException(message)
53 assertSame(message, new CredentialExpiredException(message)
CredentialNotFoundExceptionTest.java 48 assertSame(message, new CredentialNotFoundException(message)
52 assertSame(message, new CredentialNotFoundException(message)
FailedLoginExceptionTest.java 48 assertSame(message, new FailedLoginException(message).getMessage());
51 assertSame(message, new FailedLoginException(message).getMessage());
LoginExceptionTest.java 48 assertSame(message, new LoginException(message).getMessage());
51 assertSame(message, new LoginException(message).getMessage());
  /libcore/luni/src/test/java/libcore/java/lang/
BooleanTest.java 21 assertSame(Boolean.TRUE, Boolean.valueOf(true));
26 assertSame(Boolean.FALSE, Boolean.valueOf(false));
OldInheritableThreadLocalTest.java 32 assertSame(value, parentValue);
45 assertSame(value, threadLocal.get());
46 assertSame(inheritedValue, holder[0]);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
SecurityExceptionTest.java 52 assertSame("fixture", e.getMessage());
53 assertSame(npe, e.getCause());
63 assertSame(npe, e.getCause());

Completed in 1215 milliseconds

1 2 3 4 5 6 7 8 91011>>