OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TestUtil
(Results
26 - 50
of
156
) sorted by null
1
2
3
4
5
6
7
/external/protobuf/java/src/test/java/com/google/protobuf/
ParserTest.java
62
TestUtil
.getAllSet().getParserForType());
123
assertRoundTripEquals(
TestUtil
.getAllSet());
182
assertRoundTripEquals(
TestUtil
.getAllExtensionsSet(),
183
TestUtil
.getExtensionRegistry());
184
assertRoundTripEquals(
TestUtil
.getAllLiteExtensionsSet(),
185
TestUtil
.getExtensionRegistryLite());
189
assertRoundTripEquals(
TestUtil
.getPackedSet());
190
assertRoundTripEquals(
TestUtil
.getPackedExtensionsSet(),
191
TestUtil
.getExtensionRegistry());
192
assertRoundTripEquals(
TestUtil
.getLitePackedExtensionsSet()
[
all
...]
RepeatedFieldBuilderTest.java
51
TestUtil
.MockBuilderParent mockParent = new
TestUtil
.MockBuilderParent();
72
TestUtil
.MockBuilderParent mockParent = new
TestUtil
.MockBuilderParent();
101
TestUtil
.MockBuilderParent mockParent = new
TestUtil
.MockBuilderParent();
143
TestUtil
.MockBuilderParent mockParent = new
TestUtil
.MockBuilderParent();
TextFormatTest.java
68
private static String allFieldsSetText =
TestUtil
.readTextFromFile(
70
private static String allExtensionsSetText =
TestUtil
.readTextFromFile(
133
String javaText = TextFormat.printToString(
TestUtil
.getAllSet());
145
String javaText = TextFormat.printToString(
TestUtil
.getAllSetBuilder());
157
String javaText = TextFormat.printToString(
TestUtil
.getAllExtensionsSet());
320
TestUtil
.assertAllFieldsSet(builder.build());
326
TestUtil
.assertAllFieldsSet(builder.build());
332
TestUtil
.getExtensionRegistry(),
334
TestUtil
.assertAllExtensionsSet(builder.build());
456
TextFormat.merge(text,
TestUtil
.getExtensionRegistry(), builder)
[
all
...]
UnknownFieldSetTest.java
55
allFields =
TestUtil
.getAllSet();
230
TestUtil
.assertAllFieldsSet(destination);
323
TestAllExtensions.parseFrom(data,
TestUtil
.getExtensionRegistry());
456
TestUtil
.assertAllFieldsSet(message);
461
TestAllExtensions allExtensions =
TestUtil
.getAllExtensionsSet();
467
TestAllExtensions.parseFrom(data,
TestUtil
.getExtensionRegistry());
468
TestUtil
.assertAllExtensionsSet(message);
473
TestPackedTypes allPackedFields =
TestUtil
.getPackedSet();
479
TestPackedTypes.parseFrom(data,
TestUtil
.getExtensionRegistry());
480
TestUtil
.assertPackedFieldsSet(message)
[
all
...]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
WithTestDefaultsRunner.java
3
import static com.xtremelabs.robolectric.util.
TestUtil
.resourceFile;
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
TestUtil.java
11
public final class
TestUtil
{
12
private
TestUtil
() {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
TestUtil.java
17
package com.android.providers.contacts.
testutil
;
28
public class
TestUtil
{
29
private static String TAG =
TestUtil
.class.getSimpleName();
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
CollatorTest.java
27
if (
TestUtil
.isExcluded(loc)) {
36
if (
TestUtil
.isICUExtendedLocale(loc)) {
44
Locale iculoc =
TestUtil
.toICUExtendedLocale(loc);
85
Locale iculoc =
TestUtil
.toICUExtendedLocale(loc);
137
ULocale uloc0 = new ULocale("de_DE_" +
TestUtil
.ICU_VARIANT + "@collation=phonebook");
BreakIteratorTest.java
29
if (
TestUtil
.isExcluded(loc)) {
67
if (
TestUtil
.isICUExtendedLocale(loc)) {
76
Locale iculoc =
TestUtil
.toICUExtendedLocale(loc);
166
Locale iculoc =
TestUtil
.toICUExtendedLocale(loc);
DateFormatTest.java
30
if (
TestUtil
.isExcluded(loc)) {
46
if (
TestUtil
.isICUExtendedLocale(loc)) {
54
Locale iculoc =
TestUtil
.toICUExtendedLocale(loc);
132
Locale iculoc =
TestUtil
.toICUExtendedLocale(loc);
186
DateFormat dfmtIcu = DateFormat.getDateInstance(DateFormat.FULL,
TestUtil
.toICUExtendedLocale(thTHTH));
202
ULocale uloc0 = new ULocale("en_US_" +
TestUtil
.ICU_VARIANT + "@calendar=buddhist");
DecimalFormatSymbolsTest.java
26
if (
TestUtil
.isExcluded(loc)) {
35
if (
TestUtil
.isICUExtendedLocale(loc)) {
43
Locale iculoc =
TestUtil
.toICUExtendedLocale(loc);
71
Locale iculoc =
TestUtil
.toICUExtendedLocale(loc);
112
DecimalFormatSymbols decfs = DecimalFormatSymbols.getInstance(
TestUtil
.toICUExtendedLocale(new Locale("de", "DE")));
163
ULocale uloc0 = new ULocale("en_US_" +
TestUtil
.ICU_VARIANT + "@numbers=Arab;currency=EUR");
/external/okhttp/okio/okio/src/test/java/okio/
RealBufferedSinkTest.java
22
import static okio.
TestUtil
.repeat;
226
Buffer write1 = new Buffer().writeUtf8(
TestUtil
.repeat('a', Segment.SIZE));
227
Buffer write2 = new Buffer().writeUtf8(
TestUtil
.repeat('b', Segment.SIZE));
228
Buffer write3 = new Buffer().writeUtf8(
TestUtil
.repeat('c', Segment.SIZE));
231
+
TestUtil
.repeat('a', Segment.SIZE)
232
+
TestUtil
.repeat('b', Segment.SIZE)
233
+
TestUtil
.repeat('c', Segment.SIZE));
RealBufferedSourceTest.java
23
import static okio.
TestUtil
.repeat;
201
Buffer write1 = new Buffer().writeUtf8(
TestUtil
.repeat('a', Segment.SIZE));
202
Buffer write2 = new Buffer().writeUtf8(
TestUtil
.repeat('b', Segment.SIZE));
203
Buffer write3 = new Buffer().writeUtf8(
TestUtil
.repeat('c', Segment.SIZE));
206
+
TestUtil
.repeat('a', Segment.SIZE)
207
+
TestUtil
.repeat('b', Segment.SIZE)
208
+
TestUtil
.repeat('c', Segment.SIZE));
InflaterSourceTest.java
25
import static okio.
TestUtil
.randomBytes;
26
import static okio.
TestUtil
.repeat;
/packages/apps/Camera2/tests/src/com/android/camera/stress/
VideoCapture.java
20
import com.android.camera.stress.
TestUtil
;
51
private
TestUtil
testUtil
= new
TestUtil
();
59
testUtil
.prepareOutputFile();
65
testUtil
.closeOutputFile();
73
testUtil
.writeReportHeader(reportTag, total_num_of_videos);
81
testUtil
.writeResult(i);
/packages/apps/Camera2/tests_camera/src/com/android/camera/stress/
VideoCapture.java
20
import com.android.camera.stress.
TestUtil
;
51
private
TestUtil
testUtil
= new
TestUtil
();
59
testUtil
.prepareOutputFile();
65
testUtil
.closeOutputFile();
74
testUtil
.writeReportHeader(reportTag, total_num_of_videos);
82
testUtil
.writeResult(i);
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
VideoCapture.java
21
import com.android.camera.stress.
TestUtil
;
53
private
TestUtil
testUtil
= new
TestUtil
();
61
testUtil
.prepareOutputFile();
67
testUtil
.closeOutputFile();
76
testUtil
.writeReportHeader(reportTag, total_num_of_videos);
84
testUtil
.writeResult(i);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
IntegerResourceLoaderTest.java
3
import static com.xtremelabs.robolectric.util.
TestUtil
.resourceFile;
AttrResourceLoaderTest.java
11
import static com.xtremelabs.robolectric.util.
TestUtil
.getSystemResourceDir;
12
import static com.xtremelabs.robolectric.util.
TestUtil
.resourceFile;
StringArrayResourceLoaderTest.java
10
import static com.xtremelabs.robolectric.util.
TestUtil
.getSystemResourceDir;
11
import static com.xtremelabs.robolectric.util.
TestUtil
.resourceFile;
ColorResourceLoaderTest.java
8
import static com.xtremelabs.robolectric.util.
TestUtil
.getSystemResourceDir;
9
import static com.xtremelabs.robolectric.util.
TestUtil
.resourceFile;
/external/protobuf/src/google/protobuf/
dynamic_message_unittest.cc
124
TestUtil
::ReflectionTester reflection_tester(descriptor_);
133
TestUtil
::ReflectionTester reflection_tester(descriptor_);
142
TestUtil
::ReflectionTester reflection_tester(extensions_descriptor_);
151
TestUtil
::ReflectionTester reflection_tester(packed_descriptor_);
209
TestUtil
::ReflectionTester reflection_tester(oneof_descriptor_);
221
TestUtil
::ReflectionTester reflection_tester(descriptor_);
wire_format_unittest.cc
83
TestUtil
::SetAllFields(&source);
92
TestUtil
::ExpectAllFieldsSet(dest);
100
TestUtil
::SetAllExtensions(&source);
109
TestUtil
::ExpectAllExtensionsSet(dest);
117
TestUtil
::SetPackedFields(&source);
126
TestUtil
::ExpectPackedFieldsSet(dest);
132
TestUtil
::SetUnpackedFields(&source);
142
TestUtil
::ExpectPackedFieldsSet(dest);
148
TestUtil
::SetPackedFields(&source);
158
TestUtil
::ExpectUnpackedFieldsSet(dest)
[
all
...]
/external/protobuf/src/google/protobuf/compiler/cpp/
cpp_unittest.cc
138
TestUtil
::ExpectClear(message);
210
TestUtil
::SetAllFields(&message);
211
TestUtil
::ExpectAllFieldsSet(message);
213
TestUtil
::ModifyRepeatedFields(&message);
214
TestUtil
::ExpectRepeatedFieldsModified(message);
328
TestUtil
::SetAllFields(&message);
330
TestUtil
::ExpectClear(message);
364
TestUtil
::SetAllFields(&message);
378
TestUtil
::ExpectAllFieldsSet(message);
401
TestUtil
::SetAllFields(&message1)
[
all
...]
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
TestUtil.java
33
final class
TestUtil
{
34
private
TestUtil
() {}
Completed in 1083 milliseconds
1
2
3
4
5
6
7