Home
last modified time | relevance | path

Searched refs:testRoundTrip (Results 1 – 25 of 113) sorted by relevance

12345

/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/util/
H A DTestXMLUtils.java33 private static void testRoundTrip(String str, String expectedMangled) { in testRoundTrip() method in TestXMLUtils
44 testRoundTrip("", ""); in testMangleEmptyString()
49 testRoundTrip("abcdef", "abcdef"); in testMangleVanillaString()
54 testRoundTrip("a\\bcdef", "a\\005c;bcdef"); in testMangleStringWithBackSlash()
55 testRoundTrip("\\\\", "\\005c;\\005c;"); in testMangleStringWithBackSlash()
60 testRoundTrip("a\u0001bcdef", "a\\0001;bcdef"); in testMangleStringWithForbiddenCodePoint()
61 testRoundTrip("a\u0002\ud800bcdef", "a\\0002;\\d800;bcdef"); in testMangleStringWithForbiddenCodePoint()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/text/Format/DateFormat/
H A DNonGregorianFormatTest.java131 testRoundTrip(calendarLocale); in test()
139 testRoundTrip(calendarLocale); in test()
145 private static void testRoundTrip(Locale calendarLocale) { in testRoundTrip() method in NonGregorianFormatTest
152 testRoundTrip(df, new Date(t)); in testRoundTrip()
155 testRoundTrip(df, new Date(1989-1900, AUGUST, 9)); in testRoundTrip()
158 testRoundTrip(df, new Date(2005-1900, JUNE, 13)); in testRoundTrip()
161 private static void testRoundTrip(DateFormat df, Date orig) { in testRoundTrip() method in NonGregorianFormatTest
/dports/graphics/krita/krita-4.4.8/plugins/color/lcms2engine/tests/
H A DTestLcmsRGBP2020PQColorSpace.cpp42 void testRoundTrip(const KoColorSpace *srcCS, const KoColorSpace *dstCS, SourceType sourceIsPQ) in testRoundTrip() function
107 void testRoundTrip(const KoID &linearColorDepth, const KoID &pqColorDepth, SourceType sourceIsPQ) in testRoundTrip() function
119 testRoundTrip(srcCS, dstCS, sourceIsPQ); in testRoundTrip()
144 testRoundTrip(src, dst, HDR); in test()
150 testRoundTrip(src, dst, HDR_PQ); in test()
171 testRoundTrip(srcCS, dstCS, HDR_PQ); in testInternalConversions()
183 testRoundTrip(srcCS, dstCS, SDR); in testConvertToCmyk()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/text/Format/DateFormat/
H A DNonGregorianFormatTest.java131 testRoundTrip(calendarLocale); in test()
139 testRoundTrip(calendarLocale); in test()
145 private static void testRoundTrip(Locale calendarLocale) { in testRoundTrip() method in NonGregorianFormatTest
152 testRoundTrip(df, new Date(t)); in testRoundTrip()
155 testRoundTrip(df, new Date(1989-1900, AUGUST, 9)); in testRoundTrip()
158 testRoundTrip(df, new Date(2005-1900, JUNE, 13)); in testRoundTrip()
161 private static void testRoundTrip(DateFormat df, Date orig) { in testRoundTrip() method in NonGregorianFormatTest
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/text/Format/DateFormat/
H A DNonGregorianFormatTest.java131 testRoundTrip(calendarLocale); in test()
139 testRoundTrip(calendarLocale); in test()
145 private static void testRoundTrip(Locale calendarLocale) { in testRoundTrip() method in NonGregorianFormatTest
152 testRoundTrip(df, new Date(t)); in testRoundTrip()
155 testRoundTrip(df, new Date(1989-1900, AUGUST, 9)); in testRoundTrip()
158 testRoundTrip(df, new Date(2005-1900, JUNE, 13)); in testRoundTrip()
161 private static void testRoundTrip(DateFormat df, Date orig) { in testRoundTrip() method in NonGregorianFormatTest
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/text/Format/DateFormat/
H A DNonGregorianFormatTest.java131 testRoundTrip(calendarLocale); in test()
139 testRoundTrip(calendarLocale); in test()
145 private static void testRoundTrip(Locale calendarLocale) { in testRoundTrip() method in NonGregorianFormatTest
152 testRoundTrip(df, new Date(t)); in testRoundTrip()
155 testRoundTrip(df, new Date(1989-1900, AUGUST, 9)); in testRoundTrip()
158 testRoundTrip(df, new Date(2005-1900, JUNE, 13)); in testRoundTrip()
161 private static void testRoundTrip(DateFormat df, Date orig) { in testRoundTrip() method in NonGregorianFormatTest
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/text/Format/DateFormat/
H A DNonGregorianFormatTest.java131 testRoundTrip(calendarLocale); in test()
139 testRoundTrip(calendarLocale); in test()
145 private static void testRoundTrip(Locale calendarLocale) { in testRoundTrip() method in NonGregorianFormatTest
152 testRoundTrip(df, new Date(t)); in testRoundTrip()
155 testRoundTrip(df, new Date(1989-1900, AUGUST, 9)); in testRoundTrip()
158 testRoundTrip(df, new Date(2005-1900, JUNE, 13)); in testRoundTrip()
161 private static void testRoundTrip(DateFormat df, Date orig) { in testRoundTrip() method in NonGregorianFormatTest
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/text/Format/DateFormat/
H A DNonGregorianFormatTest.java131 testRoundTrip(calendarLocale); in test()
139 testRoundTrip(calendarLocale); in test()
145 private static void testRoundTrip(Locale calendarLocale) { in testRoundTrip() method in NonGregorianFormatTest
152 testRoundTrip(df, new Date(t)); in testRoundTrip()
155 testRoundTrip(df, new Date(1989-1900, AUGUST, 9)); in testRoundTrip()
158 testRoundTrip(df, new Date(2005-1900, JUNE, 13)); in testRoundTrip()
161 private static void testRoundTrip(DateFormat df, Date orig) { in testRoundTrip() method in NonGregorianFormatTest
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/text/Format/DateFormat/
H A DNonGregorianFormatTest.java131 testRoundTrip(calendarLocale); in test()
139 testRoundTrip(calendarLocale); in test()
145 private static void testRoundTrip(Locale calendarLocale) { in testRoundTrip() method in NonGregorianFormatTest
152 testRoundTrip(df, new Date(t)); in testRoundTrip()
155 testRoundTrip(df, new Date(1989-1900, AUGUST, 9)); in testRoundTrip()
158 testRoundTrip(df, new Date(2005-1900, JUNE, 13)); in testRoundTrip()
161 private static void testRoundTrip(DateFormat df, Date orig) { in testRoundTrip() method in NonGregorianFormatTest
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/text/Format/DateFormat/
H A DNonGregorianFormatTest.java131 testRoundTrip(calendarLocale); in test()
139 testRoundTrip(calendarLocale); in test()
145 private static void testRoundTrip(Locale calendarLocale) { in testRoundTrip() method in NonGregorianFormatTest
152 testRoundTrip(df, new Date(t)); in testRoundTrip()
155 testRoundTrip(df, new Date(1989-1900, AUGUST, 9)); in testRoundTrip()
158 testRoundTrip(df, new Date(2005-1900, JUNE, 13)); in testRoundTrip()
161 private static void testRoundTrip(DateFormat df, Date orig) { in testRoundTrip() method in NonGregorianFormatTest
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/java/text/Format/DateFormat/
H A DNonGregorianFormatTest.java126 testRoundTrip(calendarLocale); in test()
134 testRoundTrip(calendarLocale); in test()
139 private static void testRoundTrip(Locale calendarLocale) { in testRoundTrip() method in NonGregorianFormatTest
146 testRoundTrip(df, new Date(t)); in testRoundTrip()
149 testRoundTrip(df, new Date(1989-1900, AUGUST, 9)); in testRoundTrip()
152 testRoundTrip(df, new Date(2005-1900, JUNE, 13)); in testRoundTrip()
155 private static void testRoundTrip(DateFormat df, Date orig) { in testRoundTrip() method in NonGregorianFormatTest
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/java/text/Format/DateFormat/
H A DNonGregorianFormatTest.java126 testRoundTrip(calendarLocale); in test()
134 testRoundTrip(calendarLocale); in test()
139 private static void testRoundTrip(Locale calendarLocale) { in testRoundTrip() method in NonGregorianFormatTest
146 testRoundTrip(df, new Date(t)); in testRoundTrip()
149 testRoundTrip(df, new Date(1989-1900, AUGUST, 9)); in testRoundTrip()
152 testRoundTrip(df, new Date(2005-1900, JUNE, 13)); in testRoundTrip()
155 private static void testRoundTrip(DateFormat df, Date orig) { in testRoundTrip() method in NonGregorianFormatTest
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/rpc/
H A Dreply_builder_test.cpp49 void testRoundTrip(rpc::ReplyBuilderInterface& replyBuilder, bool unifiedBodyAndMetadata);
53 testRoundTrip<rpc::LegacyReply>(r, true); in TEST()
58 testRoundTrip<rpc::CommandReply>(r, false); in TEST()
63 testRoundTrip<rpc::OpMsgReply>(r, true); in TEST()
174 void testRoundTrip(rpc::ReplyBuilderInterface& replyBuilder, bool unifiedBodyAndMetadata) { in testRoundTrip() function
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/dsnet/compress/internal/tool/fuzz/xflate_meta/
H A Dxflate_meta.go20 testRoundTrip(mdata)
23 testRoundTrip(data)
67 func testRoundTrip(want []byte) { func
/dports/security/vault/vault-1.8.2/vendor/github.com/dsnet/compress/internal/tool/fuzz/xflate_meta/
H A Dxflate_meta.go20 testRoundTrip(mdata)
23 testRoundTrip(data)
67 func testRoundTrip(want []byte) { func
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/dsnet/compress/internal/tool/fuzz/xflate_meta/
H A Dxflate_meta.go20 testRoundTrip(mdata)
23 testRoundTrip(data)
67 func testRoundTrip(want []byte) { func
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/dsnet/compress/internal/tool/fuzz/xflate_meta/
H A Dxflate_meta.go20 testRoundTrip(mdata)
23 testRoundTrip(data)
67 func testRoundTrip(want []byte) { func
/dports/security/obfs4proxy-tor/obfs4proxy-0.0.11/vendor/github.com/dsnet/compress/internal/tool/fuzz/xflate_meta/
H A Dxflate_meta.go20 testRoundTrip(mdata)
23 testRoundTrip(data)
67 func testRoundTrip(want []byte) { func
/dports/sysutils/jest/jest-f76bc46/vendor/github.com/dsnet/compress/internal/tool/fuzz/xflate_meta/
H A Dxflate_meta.go20 testRoundTrip(mdata)
23 testRoundTrip(data)
67 func testRoundTrip(want []byte) { func
/dports/devel/bit/bit-1.1.2/vendor/github.com/dsnet/compress/internal/tool/fuzz/xflate_meta/
H A Dxflate_meta.go20 testRoundTrip(mdata)
23 testRoundTrip(data)
67 func testRoundTrip(want []byte) { func
/dports/devel/llvm80/llvm-8.0.1.src/unittests/ProfileData/
H A DSampleProfTest.cpp61 void testRoundTrip(SampleProfileFormat Format, bool Remap) { in testRoundTrip() function
206 testRoundTrip(SampleProfileFormat::SPF_Text, false); in TEST_F()
210 testRoundTrip(SampleProfileFormat::SPF_Binary, false); in TEST_F()
214 testRoundTrip(SampleProfileFormat::SPF_Compact_Binary, false); in TEST_F()
218 testRoundTrip(SampleProfileFormat::SPF_Text, true); in TEST_F()
222 testRoundTrip(SampleProfileFormat::SPF_Binary, true); in TEST_F()
/dports/net-im/libsignal-client/libsignal-client-0.9.6/swift/Tests/SignalClientTests/
H A DPublicAPITests.swift293 …private func testRoundTrip<Handle>(_ initial: Handle, serialize: (Handle) -> [UInt8], deserialize:…
301 testRoundTrip(keyPair, serialize: { $0.serialize() }, deserialize: { try .init(bytes: $0) }) in testSerializationRoundTrip()
302testRoundTrip(keyPair.publicKey, serialize: { $0.serialize() }, deserialize: { try .init($0) }) in testSerializationRoundTrip()
303testRoundTrip(keyPair.privateKey, serialize: { $0.serialize() }, deserialize: { try .init($0) }) in testSerializationRoundTrip()
304testRoundTrip(keyPair.identityKey, serialize: { $0.serialize() }, deserialize: { try .init(bytes: … in testSerializationRoundTrip()
307testRoundTrip(preKeyRecord, serialize: { $0.serialize() }, deserialize: { try .init(bytes: $0) }) in testSerializationRoundTrip()
315testRoundTrip(signedPreKeyRecord, serialize: { $0.serialize() }, deserialize: { try .init(bytes: $… in testSerializationRoundTrip()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/unittests/ProfileData/
H A DSampleProfTest.cpp139 void testRoundTrip(SampleProfileFormat Format, bool Remap, bool UseMD5) { in testRoundTrip() function
365 testRoundTrip(SampleProfileFormat::SPF_Text, false, false); in TEST_F()
369 testRoundTrip(SampleProfileFormat::SPF_Binary, false, false); in TEST_F()
373 testRoundTrip(SampleProfileFormat::SPF_Compact_Binary, false, true); in TEST_F()
377 testRoundTrip(SampleProfileFormat::SPF_Ext_Binary, false, false); in TEST_F()
381 testRoundTrip(SampleProfileFormat::SPF_Ext_Binary, false, true); in TEST_F()
385 testRoundTrip(SampleProfileFormat::SPF_Text, true, false); in TEST_F()
389 testRoundTrip(SampleProfileFormat::SPF_Binary, true, false); in TEST_F()
393 testRoundTrip(SampleProfileFormat::SPF_Ext_Binary, true, false); in TEST_F()
/dports/devel/llvm11/llvm-11.0.1.src/unittests/ProfileData/
H A DSampleProfTest.cpp139 void testRoundTrip(SampleProfileFormat Format, bool Remap, bool UseMD5) { in testRoundTrip() function
365 testRoundTrip(SampleProfileFormat::SPF_Text, false, false); in TEST_F()
369 testRoundTrip(SampleProfileFormat::SPF_Binary, false, false); in TEST_F()
373 testRoundTrip(SampleProfileFormat::SPF_Compact_Binary, false, true); in TEST_F()
377 testRoundTrip(SampleProfileFormat::SPF_Ext_Binary, false, false); in TEST_F()
381 testRoundTrip(SampleProfileFormat::SPF_Ext_Binary, false, true); in TEST_F()
385 testRoundTrip(SampleProfileFormat::SPF_Text, true, false); in TEST_F()
389 testRoundTrip(SampleProfileFormat::SPF_Binary, true, false); in TEST_F()
393 testRoundTrip(SampleProfileFormat::SPF_Ext_Binary, true, false); in TEST_F()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/unittests/ProfileData/
H A DSampleProfTest.cpp137 void testRoundTrip(SampleProfileFormat Format, bool Remap, bool UseMD5) { in testRoundTrip() function
401 testRoundTrip(SampleProfileFormat::SPF_Text, false, false); in TEST_F()
405 testRoundTrip(SampleProfileFormat::SPF_Binary, false, false); in TEST_F()
409 testRoundTrip(SampleProfileFormat::SPF_Compact_Binary, false, true); in TEST_F()
413 testRoundTrip(SampleProfileFormat::SPF_Ext_Binary, false, false); in TEST_F()
417 testRoundTrip(SampleProfileFormat::SPF_Ext_Binary, false, true); in TEST_F()
421 testRoundTrip(SampleProfileFormat::SPF_Text, true, false); in TEST_F()
425 testRoundTrip(SampleProfileFormat::SPF_Binary, true, false); in TEST_F()
429 testRoundTrip(SampleProfileFormat::SPF_Ext_Binary, true, false); in TEST_F()

12345