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

1 2 3 4 56 7 8 91011>>

  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
FieldPositionTest.java 42 assertSame("Constructor failed to set field attribute!",
55 assertSame("Constructor failed to set field attribute!",
63 assertSame("Constructor failed to set field attribute!",
70 assertSame("Constructor failed to set field attribute!",
  /libcore/dom/src/test/java/org/w3c/domts/level1/core/
elementreplaceattributewithself.java 72 assertSame("replacedAttr", streetAttr, replacedAttr);
hc_elementreplaceattributewithself.java 73 assertSame("replacedAttr", streetAttr, replacedAttr);
  /libcore/luni/src/test/java/libcore/java/lang/annotation/
AnnotationTypeMismatchExceptionTest.java 29 assertSame(m, ex.element());
  /libcore/luni/src/test/java/libcore/java/util/
EventObjectTest.java 35 assertSame(source, new EventObject(source).getSource());
  /libcore/luni/src/test/java/libcore/java/util/jar/
OldJarExceptionTest.java 34 assertSame(ex.getMessage(), ex2.getMessage());
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SelectionManagerTest.java 80 assertSame(rootView, manager.getSelections().get(0).getViewInfo());
90 assertSame(rootView.getChildren().get(1), manager.getSelections().get(0).getViewInfo());
113 assertSame(rootView.getChildren().get(0), manager.getSelections().get(0).getViewInfo());
118 assertSame(rootView, manager.getSelections().get(0).getViewInfo());
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ClassTest.java 98 assertSame("Class for name failed for java.lang.Object",
100 assertSame("Class for name failed for [[Ljava.lang.Object;",
103 assertSame("Class for name failed for [I",
221 assertSame("int array does not have int component type", int.class, int[].class
223 assertSame("Object array does not have Object component type", Object.class,
466 assertSame("Normal class has bogus superclass", InputStream.class,
468 assertSame("Array class has bogus superclass", Object.class, FileInputStream[].class
548 assertSame("new Throwable instance was not a throwable",
605 assertSame(c1, a1.getComponentType());
606 assertSame(a1, a2.getComponentType())
    [all...]
EnumTest.java 123 assertSame(Sample.CURLY, Sample.valueOf("CURLY"));
124 assertSame(Sample.LARRY, Sample.valueOf("LARRY"));
125 assertSame(moe, Sample.valueOf("MOE"));
143 assertSame(s, Sample.CURLY);
145 assertSame(larry, s);
147 assertSame(s, moe);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
AlgorithmParametersTest.java 110 assertSame(enc, params.getEncoded());
146 assertSame(enc, params.getEncoded(strFormatParam));
161 assertSame(enc, params.getEncoded(null));
231 assertSame(myParamSpec, params
277 assertSame(p, ap.getProvider());
294 assertSame(spec, paramSpec);
363 assertSame(enc, params);
433 assertSame(enc, params);
434 assertSame(strFormatParam, format);
514 assertSame(str, params.toString())
    [all...]
CodeSignerTest.java 91 assertSame(new CodeSigner(cpath, null).getSignerCertPath(), cpath);
99 assertSame(new CodeSigner(cpath, ts).getTimestamp(), ts);
SignerTest.java 92 assertSame(IdentityScope.getSystemScope(), s.getScope());
110 assertSame(privateKey, s.getPrivateKey());
SecurityTest.java 85 assertSame(p, Security.getProviders()[initNum]);
95 assertSame(p, Security.getProviders()[initNum]);
101 assertSame(p, Security.getProviders()[0]);
102 assertSame(initialSecondProviderName, // provider shifted down
126 assertSame(p, Security.getProviders()[initNum]);
176 assertSame(p, Security.getProvider(providerName));
184 assertSame(p, Security.getProvider(p.getName()));
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
StateListDrawableTest.java 142 assertSame(mStateListDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]);
145 assertSame(mStateListDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]);
148 assertSame(mStateListDrawable.getCurrent(), mDrawableContainerState.getChildren()[1]);
152 assertSame(mStateListDrawable.getCurrent(), mDrawableContainerState.getChildren()[1]);
169 assertSame(mStateListDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]);
216 assertSame(mStateListDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]);
218 assertSame(mStateListDrawable.getCurrent(), mDrawableContainerState.getChildren()[1]);
238 assertSame(mStateListDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]);
LevelListDrawableTest.java 117 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[2]);
120 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[2]);
123 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]);
147 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]);
149 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[1]);
159 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[2]);
  /cts/tests/tests/view/src/android/view/cts/
View_IdsTest.java 73 assertSame(editText, (EditText) activity.findViewById(0x1111));
77 assertSame(buttonCancel, (Button) activity.findViewById(0x9999));
  /frameworks/base/core/tests/coretests/src/android/view/
SetTagsTest.java 59 assertSame("The stored tag is inccorect", o, stored);
74 assertSame("The stored tag is inccorect", o, stored);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyPairTest.java 111 assertSame(pk, kp.getPrivate());
131 assertSame(pk, kp.getPublic());
SecurityTest.java 58 assertSame(p, Security.getProviders()[initNum]);
68 assertSame(p, Security.getProviders()[initNum]);
74 assertSame(p, Security.getProviders()[0]);
75 assertSame(initialSecondProviderName, // provider shifted down
100 assertSame(p, Security.getProviders()[initNum]);
197 assertSame(p, Security.getProvider(providerName));
205 assertSame(p, Security.getProvider(p.getName()));
  /sdk/sdkmanager/libs/sdkuilib/tests/com/android/sdkuilib/internal/repository/
UpdaterLogicTest.java 133 assertSame(p2_archive, ai2.getNewArchive());
135 assertSame(p2_archive, out.get(0).getNewArchive());
181 assertSame(p2_archive, found.getNewArchive());
183 assertSame(p2_archive, out.get(0).getNewArchive());
224 assertSame(t2_archive, ai2.getNewArchive());
226 assertSame(t2_archive, out.get(0).getNewArchive());
267 assertSame(t2_archive, ai2.getNewArchive());
269 assertSame(t2_archive, out.get(0).getNewArchive());
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
SelectionKeyTest.java 108 assertSame(o, check);
122 assertSame(o, mockSelectionKey.attachment());
129 assertSame(sc, selectionKey.channel());
132 assertSame(sc, selectionKey.channel());
317 assertSame(selector, selectionKey.selector());
319 assertSame(selector, selectionKey.selector());
  /external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
CharsetDecoderTest.java 70 assertSame(cs, decoder.charset());
82 assertSame(CodingErrorAction.REPORT, decoder.malformedInputAction());
83 assertSame(CodingErrorAction.REPORT, decoder
97 assertSame(ec.charset(), cs);
148 assertSame(CodingErrorAction.REPORT, decoder.malformedInputAction());
155 assertSame(CodingErrorAction.IGNORE, decoder.malformedInputAction());
162 assertSame(CodingErrorAction.REPORT, decoder
170 assertSame(CodingErrorAction.IGNORE, decoder
195 assertSame("a", decoder.replacement());
328 assertSame(CoderResult.UNDERFLOW, decoder.decode(in, out, true))
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
HeaderViewListAdapterTest.java 305 assertSame(data1, headerViewListAdapter.getItem(0));
306 assertSame(data2, headerViewListAdapter.getItem(1));
307 assertSame(headerViewFullAdapter.getItem(0), headerViewListAdapter.getItem(2));
308 assertSame(data3, headerViewListAdapter.getItem(3));
309 assertSame(data4, headerViewListAdapter.getItem(4));
374 assertSame(lv1, headerViewListAdapter.getView(0, null, null));
375 assertSame(lv2, headerViewListAdapter.getView(1, null, null));
381 assertSame(expected, headerViewListAdapter.getView(0, null, null));
385 assertSame(lv1, headerViewListAdapter.getView(0, null, null));
386 assertSame(lv2, headerViewListAdapter.getView(1, null, null))
    [all...]
TableLayoutTest.java 506 assertSame(child1, tableLayout.getChildAt(0));
513 assertSame(child1, tableLayout.getChildAt(0));
514 assertSame(child2, tableLayout.getChildAt(1));
522 assertSame(child1, tableLayout.getChildAt(0));
523 assertSame(child2, tableLayout.getChildAt(1));
524 assertSame(child3, tableLayout.getChildAt(2));
550 assertSame(child1, tableLayout.getChildAt(0));
557 assertSame(child2, tableLayout.getChildAt(0));
558 assertSame(child1, tableLayout.getChildAt(1));
566 assertSame(child2, tableLayout.getChildAt(0))
    [all...]
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityWindowQueryActivityTest.java 266 assertSame(button.getContentDescription(), source.getContentDescription());
269 assertSame(button.isFocusable(), source.isFocusable());
270 assertSame(button.isClickable(), source.isClickable());
271 assertSame(button.isEnabled(), source.isEnabled());
273 assertSame(button.isLongClickable(), source.isLongClickable());
274 assertSame(button.isPassword(), source.isPassword());
275 assertSame(button.isSelected(), source.isSelected());
276 assertSame(button.isCheckable(), source.isCheckable());
277 assertSame(button.isChecked(), source.isChecked());

Completed in 260 milliseconds

1 2 3 4 56 7 8 91011>>