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

1 2 3 4 5 6 7

  /external/jacoco/jacoco-maven-plugin.test/it/it-includes-excludes/src/main/java/org/project/
TestUtil.java 15 public class TestUtil {
17 System.out.println("Do TestUtil Stuff");
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
BugleServiceTestCase.java 23 import com.android.messaging.TestUtil;
44 TestUtil.testSetup(getContext(), this);
50 TestUtil.testTeardown(this);
  /packages/apps/Messaging/tests/src/com/android/messaging/ui/
BugleActivityInstrumentationTestCase.java 22 import com.android.messaging.TestUtil;
44 TestUtil.testSetup(getInstrumentation().getTargetContext(), this);
50 TestUtil.testTeardown(this);
BugleActivityUnitTestCase.java 23 import com.android.messaging.TestUtil;
44 TestUtil.testSetup(getInstrumentation().getTargetContext(), this);
53 TestUtil.testTeardown(this);
  /packages/apps/Messaging/tests/src/com/android/messaging/
BugleTestCase.java 40 TestUtil.testSetup(super.getContext(), this);
46 TestUtil.testTeardown(this);
  /external/protobuf/src/google/protobuf/
generated_message_reflection_unittest.cc 70 TestUtil::ReflectionTester reflection_tester(
94 TestUtil::ReflectionTester reflection_tester(
98 TestUtil::ExpectAllFieldsSet(message);
102 TestUtil::ExpectRepeatedFieldsModified(message);
131 TestUtil::ReflectionTester reflection_tester(
134 TestUtil::SetAllFields(&message);
154 TestUtil::SetAllFields(&message1);
159 TestUtil::ExpectClear(message1);
160 TestUtil::ExpectAllFieldsSet(message2);
167 TestUtil::SetAllFields(&message1)
    [all...]
reflection_ops_unittest.cc 53 TestUtil::SetAllFields(&message);
54 TestUtil::ExpectAllFieldsSet(message);
60 TestUtil::SetAllFields(&message);
64 TestUtil::ExpectAllFieldsSet(message2);
68 TestUtil::ExpectAllFieldsSet(message2);
74 TestUtil::SetAllExtensions(&message);
78 TestUtil::ExpectAllExtensionsSet(message2);
83 TestUtil::SetOneof1(&message);
85 TestUtil::ExpectOneofSet1(message2);
87 TestUtil::SetOneof2(&message)
    [all...]
extension_set_unittest.cc 65 TestUtil::ExpectExtensionsClear(message);
86 TestUtil::SetAllExtensions(&message);
87 TestUtil::ExpectAllExtensionsSet(message);
89 TestUtil::ModifyRepeatedExtensions(&message);
90 TestUtil::ExpectRepeatedExtensionsModified(message);
98 TestUtil::SetAllExtensions(&message);
100 TestUtil::ExpectExtensionsClear(message);
118 TestUtil::SetAllExtensions(&message);
119 TestUtil::ExpectAllExtensionsSet(message);
127 TestUtil::SetAllExtensions(&message)
    [all...]
  /external/glide/testutil/src/main/java/com/bumptech/glide/testutil/
TestUtil.java 1 package com.bumptech.glide.testutil;
10 public final class TestUtil {
11 private TestUtil() {
  /external/protobuf/java/src/test/java/com/google/protobuf/
LazyFieldTest.java 46 MessageLite message = TestUtil.getAllSet();
58 TestAllExtensions message = TestUtil.getAllExtensionsSet();
69 MessageLite message = TestUtil.getAllSet();
77 TestAllExtensions message = TestUtil.getAllExtensionsSet();
85 MessageLite message = TestUtil.getAllSet();
94 TestAllExtensions message = TestUtil.getAllExtensionsSet();
107 TestUtil.getExtensionRegistry(), bytes);
111 TestAllTypes.Builder builder = TestUtil.getAllSet().toBuilder();
LazyFieldLiteTest.java 47 MessageLite message = TestUtil.getAllSet();
55 TestAllExtensions message = TestUtil.getAllExtensionsSet();
63 MessageLite message = TestUtil.getAllSet();
73 TestAllExtensions message = TestUtil.getAllExtensionsSet();
83 MessageLite message = TestUtil.getAllSet();
91 TestAllExtensions message = TestUtil.getAllExtensionsSet();
99 MessageLite message = TestUtil.getAllSet();
107 TestAllExtensions message = TestUtil.getAllExtensionsSet();
119 return new LazyFieldLite(TestUtil.getExtensionRegistry(), bytes);
123 TestAllTypes.Builder builder = TestUtil.getAllSet().toBuilder()
    [all...]
WireFormatTest.java 61 TestAllTypes message = TestUtil.getAllSet();
68 TestUtil.assertAllFieldsSet(message2);
72 TestPackedTypes message = TestUtil.getPackedSet();
79 TestUtil.assertPackedFieldsSet(message2);
87 TestAllExtensions message = TestUtil.getAllExtensionsSet();
93 TestUtil.assertAllFieldsSet(message2);
99 TestPackedExtensions message = TestUtil.getPackedExtensionsSet();
102 TestPackedTypes message2 = TestUtil.getPackedSet();
113 TestPackedTypes message = TestUtil.getPackedSet();
127 TestUtil.assertPackedFieldsSet(message2)
    [all...]
AbstractMessageTest.java 183 TestUtil.ReflectionTester reflectionTester =
184 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null);
186 TestUtil.ReflectionTester extensionsReflectionTester =
187 new TestUtil.ReflectionTester(TestAllExtensions.getDescriptor(),
188 TestUtil.getExtensionRegistry());
193 TestAllTypes.newBuilder(TestUtil.getAllSet()))
195 TestUtil.assertClear((TestAllTypes) message.wrappedMessage);
201 .mergeFrom(TestUtil.getAllSet()).build();
202 TestUtil.assertAllFieldsSet((TestAllTypes) message.wrappedMessage);
206 TestAllTypes message = TestUtil.getAllSet()
    [all...]
SingleFieldBuilderTest.java 48 TestUtil.MockBuilderParent mockParent = new TestUtil.MockBuilderParent();
78 TestUtil.MockBuilderParent mockParent = new TestUtil.MockBuilderParent();
104 TestUtil.MockBuilderParent mockParent = new TestUtil.MockBuilderParent();
124 TestUtil.MockBuilderParent mockParent = new TestUtil.MockBuilderParent();
GeneratedMessageTest.java 86 TestUtil.ReflectionTester reflectionTester =
87 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null);
98 TestUtil.setAllFields(builder);
100 TestUtil.assertAllFieldsSet(message);
193 TestUtil.getAllSet().toByteString());
299 TestUtil.setAllFields(builder);
300 TestUtil.modifyRepeatedFields(builder);
302 TestUtil.assertRepeatedFieldsModified(message);
317 builder.addRepeatedBytes(TestUtil.toBytes("one"));
318 builder.addRepeatedBytes(TestUtil.toBytes("two"))
    [all...]
DynamicMessageTest.java 52 TestUtil.ReflectionTester reflectionTester =
53 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null);
55 TestUtil.ReflectionTester extensionsReflectionTester =
56 new TestUtil.ReflectionTester(TestAllExtensions.getDescriptor(),
57 TestUtil.getExtensionRegistry());
58 TestUtil.ReflectionTester packedReflectionTester =
59 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null);
155 TestAllTypes message = TestUtil.getAllSet();
175 TestUtil.assertAllFieldsSet(message2);
178 assertEquals(TestUtil.getAllSet().toByteString(), rawBytes)
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
WithCustomClassListTestRunner.java 6 import static com.xtremelabs.robolectric.util.TestUtil.resourceFile;
  /external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
LocaleNameTest.java 38 if (TestUtil.isExcluded(inLocale)) {
44 Locale inLocaleICU = TestUtil.toICUExtendedLocale(inLocale);
72 if (TestUtil.isICUExtendedLocale(inLocale)) {
102 if (TestUtil.isExcluded(inLocale)) {
108 Locale inLocaleICU = TestUtil.toICUExtendedLocale(inLocale);
127 if (TestUtil.isICUExtendedLocale(inLocale)) {
158 if (TestUtil.isExcluded(inLocale)) {
164 Locale inLocaleICU = TestUtil.toICUExtendedLocale(inLocale);
177 if (TestUtil.isICUExtendedLocale(inLocale)) {
217 if (TestUtil.isExcluded(inLocale))
    [all...]
CurrencyNameTest.java 64 if (TestUtil.isExcluded(loc)) {
81 if (TestUtil.isICUExtendedLocale(loc)) {
92 Locale locIcu = TestUtil.toICUExtendedLocale(loc);
113 if (TestUtil.isExcluded(loc)) {
137 if (TestUtil.isICUExtendedLocale(loc)) {
148 Locale locIcu = TestUtil.toICUExtendedLocale(loc);
DateFormatSymbolsTest.java 25 if (TestUtil.isExcluded(loc)) {
34 if (TestUtil.isICUExtendedLocale(loc)) {
42 Locale iculoc = TestUtil.toICUExtendedLocale(loc);
71 Locale iculoc = TestUtil.toICUExtendedLocale(loc);
127 if (!TestUtil.equals(jaa[i][j], iaa[i][j])) {
145 if (!TestUtil.equals(ja[i], ia[i])) {
162 DateFormatSymbols dfs_nnNO_ICU = DateFormatSymbols.getInstance(TestUtil.toICUExtendedLocale(nnNO));
163 DateFormatSymbols dfs_noNONY_ICU = DateFormatSymbols.getInstance(TestUtil.toICUExtendedLocale(noNONY));
187 ULocale uloc0 = new ULocale("en_US_" + TestUtil.ICU_VARIANT + "@calendar=japanese");
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiNotificationControllerTest.java 105 TestUtil.sendWifiStateChanged(mBroadcastReceiver, mContext, WifiManager.WIFI_STATE_ENABLED);
106 TestUtil.sendNetworkStateChanged(mBroadcastReceiver, mContext,
111 TestUtil.sendScanResultsAvailable(mBroadcastReceiver, mContext);
112 TestUtil.sendScanResultsAvailable(mBroadcastReceiver, mContext);
118 TestUtil.sendNetworkStateChanged(mBroadcastReceiver, mContext,
120 TestUtil.sendNetworkStateChanged(mBroadcastReceiver, mContext,
127 TestUtil.sendScanResultsAvailable(mBroadcastReceiver, mContext);
135 TestUtil.sendNetworkStateChanged(mBroadcastReceiver, mContext,
  /packages/apps/Camera2/tests/src/com/android/camera/stress/
TestUtil.java 27 public class TestUtil {
31 public TestUtil() {
  /packages/apps/Camera2/tests_camera/src/com/android/camera/stress/
TestUtil.java 27 public class TestUtil {
31 public TestUtil() {
  /packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
TestUtil.java 27 public class TestUtil {
31 public TestUtil() {
  /external/okhttp/okio/okio/src/test/java/okio/
SegmentSharingTest.java 20 import static okio.TestUtil.assertEquivalent;
26 private static final String us = TestUtil.repeat('u', Segment.SIZE / 2 - 2);
27 private static final String vs = TestUtil.repeat('v', Segment.SIZE / 2 - 1);
28 private static final String ws = TestUtil.repeat('w', Segment.SIZE / 2);
29 private static final String xs = TestUtil.repeat('x', Segment.SIZE / 2 + 1);
30 private static final String ys = TestUtil.repeat('y', Segment.SIZE / 2 + 2);
31 private static final String zs = TestUtil.repeat('z', Segment.SIZE / 2 + 3);
111 assertEquivalent(byteString, TestUtil.reserialize(byteString));
186 buffer.writeUtf8(TestUtil.repeat('_', offsetInSegment));

Completed in 1205 milliseconds

1 2 3 4 5 6 7