Home
last modified time | relevance | path

Searched refs:golden (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/util/
DSerializationTester.java32 private final String golden; field in SerializationTester
35 public SerializationTester(T value, String golden) { in SerializationTester() argument
36 this.golden = golden; in SerializationTester()
57 if (golden == null || golden.length() == 0) { in test()
63 T deserialized = (T) deserialize(HexEncoding.decode(golden)); in test()
/libcore/luni/src/test/java/libcore/java/util/
DListOfTest.java43 String golden = "ACED00057372001F6A6176612E7574696C2E436F6C6C656374696F6E7324456D7074794C69" in serializationCompatibility_empty() local
45 new SerializationTester<>(List.<String>of(), golden).test(); in serializationCompatibility_empty()
49 String golden = "ACED0005737200266A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F646966" in serializationCompatibility_oneElement() local
56 new SerializationTester<>(List.of("one"), golden).test(); in serializationCompatibility_oneElement()
60 String golden = "ACED0005737200266A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F646966" in serializationCompatibility_manyElements() local
71 new SerializationTester<>(List.of(12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0), golden).test(); in serializationCompatibility_manyElements()
DSetOfTest.java40 String golden = "ACED00057372001E6A6176612E7574696C2E436F6C6C656374696F6E7324456D7074795365" in of_serializationCompatibility_empty() local
42 new SerializationTester<>(Set.<String>of(), golden).test(); in of_serializationCompatibility_empty()
46 String golden = "ACED0005737200256A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F646966" in of_serializationCompatibility_oneElement() local
52 new SerializationTester<>(Set.of("one"), golden).test(); in of_serializationCompatibility_oneElement()
56 String golden = "ACED0005737200256A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F646966" in of_serializationCompatibility_manyElements() local
66 new SerializationTester<>(Set.of(12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0), golden).test(); in of_serializationCompatibility_manyElements()
/libcore/luni/src/test/java/libcore/java/lang/
DThrowableTest.java353 private void assertSerialized(final Throwable throwable, String golden) { in assertSerialized() argument
354 new SerializationTester<Throwable>(throwable, golden) { in assertSerialized() argument