Home
last modified time | relevance | path

Searched refs:build (Results 1 – 25 of 67) 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()
274 assertEquals("en", b.build().getLanguage()); in test_Builder_setLanguage()
305 assertEquals("", b.build().getLanguage()); in test_Builder_setLanguage()
310 assertEquals("", b.build().getLanguage()); in test_Builder_setLanguage()
318 assertEquals("US", b.build().getCountry()); in test_Builder_setRegion()
347 assertEquals("", b.build().getCountry()); in test_Builder_setRegion()
352 assertEquals("", b.build().getCountry()); in test_Builder_setRegion()
361 assertEquals("vArIaNt_VaRiAnT_VARIANT", b.build().getVariant()); in test_Builder_setVariant()
387 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/util/
DZoneInfoDBTest.java103 byte[] data = new ZoneInfoTestHelper.TzDataBuilder().initializeToValid().build(); in testLoadTzData_validTestData()
120 byte[] data = builder.build(); in testLoadTzData_invalidOffsets()
136 byte[] data = builder.build(); in testLoadTzData_zoneTabOutsideFile()
153 byte[] data = builder.build(); in testLoadTzData_nonDivisibleIndex()
164 new ZoneInfoTestHelper.ZicDataBuilder().initializeToValid().build(); in testLoadTzData_badId()
167 checkInvalidDataDetected(builder.build()); in testLoadTzData_badId()
175 new ZoneInfoTestHelper.ZicDataBuilder().initializeToValid().build(); in testLoadTzData_badIdOrder()
179 checkInvalidDataDetected(builder.build()); in testLoadTzData_badIdOrder()
187 new ZoneInfoTestHelper.ZicDataBuilder().initializeToValid().build(); in testLoadTzData_duplicateId()
191 checkInvalidDataDetected(builder.build()); in testLoadTzData_duplicateId()
[all …]
DZoneInfoTest.java357 assertNotNull(createZoneInfo(getName(), System.currentTimeMillis(), builder.build())); in testReadTimeZone_valid()
366 createZoneInfo(getName(), System.currentTimeMillis(), builder.build()); in testReadTimeZone_badMagic()
379 byte[] bytes = builder.build(); in testReadTimeZone_TooManyTypes()
395 byte[] bytes = builder.build(); in testReadTimeZone_TooManyTransitions()
411 byte[] bytes = builder.build(); in testReadTimeZone_NegativeTypes()
427 byte[] bytes = builder.build(); in testReadTimeZone_NegativeTransitions()
451 byte[] bytes = builder.build(); in testReadTimeZone_TransitionsNotSorted()
475 byte[] bytes = builder.build(); in testReadTimeZone_InvalidTypeIndex()
499 byte[] bytes = builder.build(); in testReadTimeZone_InvalidIsDst()
566 return createZoneInfo(name, currentTimeMillis, builder.build()); in createZoneInfo()
/libcore/ojluni/src/main/java/java/util/stream/
DNode.java131 return nodeBuilder.build(); in truncate()
197 Node<T> build(); in build() method
204 Node.OfInt build(); in build() method
212 Node.OfLong build(); in build() method
220 Node.OfDouble build(); in build() method
366 return nodeBuilder.build(); in truncate()
439 return nodeBuilder.build(); in truncate()
514 return nodeBuilder.build(); in truncate()
DStreamOpFlag.java412 Map<Type, Integer> build() { in build() method in StreamOpFlag.MaskBuilder
447 this.maskTable = maskBuilder.build(); in StreamOpFlag()
/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/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/java/libcore/javax/net/ssl/
DX509KeyManagerTest.java52 .build(); in test_ChooseClientAlias_KeyType()
55 .build(); in test_ChooseClientAlias_KeyType()
/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/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/luni/src/test/java/libcore/java/security/cert/
DCertPathValidatorTest.java67 BasicOCSPResp resp = basicBuilder.build( in generateOCSPResponse()
68 new JcaContentSignerBuilder("SHA1withRSA").build(caKey), null, new Date()); in generateOCSPResponse()
71 return builder.build(OCSPRespBuilder.SUCCESSFUL, resp); in generateOCSPResponse()
DX509CertSelectorTest.java141 .build(); in newCertWithSubjectAltNameIpAddress()
151 .build(); in newCertWithNameConstraint()
/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/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/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/tzdata/testing/src/main/libcore/tzdata/testing/
DZoneInfoTestHelper.java121 public byte[] build() { in build() method in ZoneInfoTestHelper.ZicDataBuilder
215 addZicData("Europe/Elbonia", new ZicDataBuilder().initializeToValid().build()); in initializeToValid()
225 public byte[] build() { in build() method in ZoneInfoTestHelper.TzDataBuilder
/libcore/tzdata/tools2/
DcreateIcuUpdateResources.sh74 RES_DIR=data/out/build/icudt${ICU_VERSION}l
/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