Home
last modified time | relevance | path

Searched refs:build (Results 1 – 25 of 66) sorted by relevance

123

/libcore/luni/src/test/java/libcore/java/util/
DCalendarBuilderTest.java40 assertEquals(expected, builder.build()); in test_default_values()
53 assertEquals(expected, builder.build()); in test_setCalendarType_iso8601()
90 assertEquals(expected, builder.build()); in test_setDate()
100 assertEquals(expected, builder.build()); in test_setTimeOfDay()
103 assertEquals(expected, builder.build()); in test_setTimeOfDay()
113 assertEquals(expected, builder.build()); in test_setWeekDate()
122 builder.build(); in test_setLenient()
130 assertEquals(expected, builder.build()); in test_setLenient()
139 assertEquals(expected, builder.build()); in test_setLocale()
150 assertEquals(expected, builder.build()); in test_setLocale_thTH()
[all …]
DLocaleTest.java51 Locale localeWithoutExtension = b.build(); in test_extension_builder()
53 Locale locale = b.build(); in test_extension_builder()
317 assertEquals("en", b.build().getLanguage()); in test_Builder_setLanguage()
348 assertEquals("", b.build().getLanguage()); in test_Builder_setLanguage()
353 assertEquals("", b.build().getLanguage()); in test_Builder_setLanguage()
361 assertEquals("US", b.build().getCountry()); in test_Builder_setRegion()
390 assertEquals("", b.build().getCountry()); in test_Builder_setRegion()
395 assertEquals("", b.build().getCountry()); in test_Builder_setRegion()
404 assertEquals("vArIaNt_VaRiAnT_VARIANT", b.build().getVariant()); in test_Builder_setVariant()
430 assertEquals("0ABC", b.build().getVariant()); in test_Builder_setVariant()
[all …]
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamBuilderTest.java95 sb.build(); in testAfterBuilding()
99 checkISE(() -> sb.build()); in testAfterBuilding()
107 return sb.build(); in testStreamBuilder()
116 return sb.build(); in testStreamBuilder()
157 sb.build(); in testIntAfterBuilding()
161 checkISE(() -> sb.build()); in testIntAfterBuilding()
169 return sb.build(); in testIntStreamBuilder()
178 return sb.build(); in testIntStreamBuilder()
219 sb.build(); in testLongAfterBuilding()
223 checkISE(() -> sb.build()); in testLongAfterBuilding()
[all …]
/libcore/luni/src/test/java/libcore/libcore/timezone/
DZoneInfoDBTest.java107 byte[] data = new ZoneInfoTestHelper.TzDataBuilder().initializeToValid().build(); in testLoadTzData_validTestData()
124 byte[] data = builder.build(); in testLoadTzData_invalidOffsets()
140 byte[] data = builder.build(); in testLoadTzData_zoneTabOutsideFile()
157 byte[] data = builder.build(); in testLoadTzData_nonDivisibleIndex()
168 new ZoneInfoTestHelper.ZicDataBuilder().initializeToValid().build(); in testLoadTzData_badId()
171 checkInvalidDataDetected(builder.build()); in testLoadTzData_badId()
179 new ZoneInfoTestHelper.ZicDataBuilder().initializeToValid().build(); in testLoadTzData_badIdOrder()
183 checkInvalidDataDetected(builder.build()); in testLoadTzData_badIdOrder()
191 new ZoneInfoTestHelper.ZicDataBuilder().initializeToValid().build(); in testLoadTzData_duplicateId()
195 checkInvalidDataDetected(builder.build()); in testLoadTzData_duplicateId()
[all …]
/libcore/ojluni/src/main/java/java/util/stream/
DNode.java132 return nodeBuilder.build(); in truncate()
198 Node<T> build(); in build() method
205 Node.OfInt build(); in build() method
213 Node.OfLong build(); in build() method
221 Node.OfDouble build(); in build() method
367 return nodeBuilder.build(); in truncate()
440 return nodeBuilder.build(); in truncate()
515 return nodeBuilder.build(); in truncate()
DStreamOpFlag.java413 Map<Type, Integer> build() { in build() method in StreamOpFlag.MaskBuilder
448 this.maskTable = maskBuilder.build(); in StreamOpFlag()
DStreams.java383 public Stream<T> build() { in build() method in Streams.StreamBuilderImpl
474 public IntStream build() { in build() method in Streams.IntStreamBuilderImpl
565 public LongStream build() { in build() method in Streams.LongStreamBuilderImpl
656 public DoubleStream build() { in build() method in Streams.DoubleStreamBuilderImpl
/libcore/luni/src/test/etc/loading-test2-jar/
DREADME.txt5 The Android build system doesn't support dynamically producing
7 build.sh in this directory, which copies resulting files into the luni
/libcore/luni/src/test/etc/loading-test-jar/
DREADME.txt5 The Android build system doesn't support dynamically producing
7 build.sh in this directory, which copies resulting files into the luni
/libcore/luni/src/test/java/libcore/libcore/util/
DZoneInfoTest.java498 assertNotNull(createZoneInfo(getName(), Instant.now(), builder.build())); in testReadTimeZone_valid()
507 createZoneInfo(getName(), Instant.now(), builder.build()); in testReadTimeZone_badMagic()
520 byte[] bytes = builder.build(); in testReadTimeZone_TooManyTypes()
536 byte[] bytes = builder.build(); in testReadTimeZone_TooManyTransitions()
552 byte[] bytes = builder.build(); in testReadTimeZone_NegativeTypes()
568 byte[] bytes = builder.build(); in testReadTimeZone_NegativeTransitions()
592 byte[] bytes = builder.build(); in testReadTimeZone_TransitionsNotSorted()
616 byte[] bytes = builder.build(); in testReadTimeZone_InvalidTypeIndex()
640 byte[] bytes = builder.build(); in testReadTimeZone_InvalidIsDst()
748 return createZoneInfo(name, currentTime, builder.build()); in createZoneInfo()
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java211 .build(); in initCerts()
220 .build(); in initCerts()
228 .build(); in initCerts()
235 .build(); in initCerts()
243 .build(); in initCerts()
250 .build(); in initCerts()
256 .build(); in initCerts()
261 .build(); in initCerts()
268 .build(); in initCerts()
473 public TestKeyStore build() { in build() method in TestKeyStore.Builder
[all …]
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTestSuite.java61 abstract public void build(DOMTestSink sink); in build() method in DOMTestSuite
DJUnitTestSuiteAdapter.java28 test.build(this); in JUnitTestSuiteAdapter()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DNodeBuilderTest.java80 Node<Integer> n = nb.build(); in testIteration()
125 Node.OfInt n = nb.build(); in testIntIteration()
175 Node.OfLong n = nb.build(); in testLongIteration()
225 Node.OfDouble n = nb.build(); in testDoubleIteration()
/libcore/luni/src/test/java/libcore/java/security/cert/
DCertPathValidatorTest.java87 BasicOCSPResp resp = basicBuilder.build( in generateOCSPResponse()
88 new JcaContentSignerBuilder("SHA1withRSA").build(caKey), null, new Date()); in generateOCSPResponse()
91 return builder.build(OCSPRespBuilder.SUCCESSFUL, resp); in generateOCSPResponse()
DX509CertSelectorTest.java141 .build(); in newCertWithSubjectAltNameIpAddress()
151 .build(); in newCertWithNameConstraint()
/libcore/
DAndroid.bp1 build = [
/libcore/luni/src/test/java/tests/security/cert/
DCertPathBuilder1Test.java312 certPB[i].build(null); in testCertPathBuilder11()
327 CertPathBuilderResult result = builder.build(params); in testBuild()
355 certPB.build(null); in testCertPathBuilder12()
363 certPB.build(null); in testCertPathBuilder12()
DCertPathBuilder2Test.java83 certBuild.build(null); in checkResult()
87 CertPathBuilderResult cpbResult = certBuild.build(null); in checkResult()
/libcore/luni/src/test/java/libcore/build/
DDuplicateBridgeMethodsTest.java17 package libcore.build;
/libcore/luni/src/test/java/tests/security/
DCertPathBuilderTest.java46 CertPathBuilderResult builderResult = pathBuilder.build(params); in testCertPathBuilder()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DMissingClassesTest.java31 .build(); in setUp()
DProxyTest.java45 ClassLoader loaderA = new ClassLoaderBuilder().withPrivateCopy(prefix).build(); in testClassLoaderMustSeeImplementedInterfaces()
46 ClassLoader loaderB = new ClassLoaderBuilder().withPrivateCopy(prefix).build(); in testClassLoaderMustSeeImplementedInterfaces()
58 ClassLoader loaderA = new ClassLoaderBuilder().withPrivateCopy(prefix).build(); in testClassLoaderDoesNotNeedToSeeInvocationHandlerLoader()
59 ClassLoader loaderB = new ClassLoaderBuilder().withPrivateCopy(prefix).build(); in testClassLoaderDoesNotNeedToSeeInvocationHandlerLoader()
/libcore/ojluni/src/test/java/security/cert/
DAKISerialNumberTest.java138 CertPathBuilderResult res = cpb.build(params); in main()
/libcore/luni/src/test/java/libcore/java/nio/file/attribute/
DAclEntryTest.java45 .build(); in testGetters()

123