Home
last modified time | relevance | path

Searched refs:testEncoding (Results 1 – 25 of 41) sorted by relevance

12

/aosp_15_r20/libcore/luni/src/test/java/tests/security/cert/
H A DCertPathTest.java43 private static final byte[] testEncoding = new byte[] { field in CertPathTest
61 CertPath cp1 = new MyCertPath(testEncoding); in testCertPath()
63 assertTrue(Arrays.equals(testEncoding, cp1.getEncoded())); in testCertPath()
80 CertPath cp1 = new MyCertPath(testEncoding); in testHashCode()
81 CertPath cp2 = new MyCertPath(testEncoding); in testHashCode()
93 CertPath cp1 = new MyCertPath(testEncoding); in testHashCodeEqualsObject()
94 CertPath cp2 = new MyCertPath(testEncoding); in testHashCodeEqualsObject()
103 assertEquals("MyEncoding", new MyCertPath(testEncoding).getType()); in testGetType()
111 CertPath cp1 = new MyCertPath(testEncoding); in testEqualsObject01()
121 CertPath cp1 = new MyCertPath(testEncoding); in testEqualsObject02()
[all …]
H A DCertificateTest.java56 private static final byte[] testEncoding = new byte[] { (byte) 1, (byte) 2, field in CertificateTest
63 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testCertificate()
64 assertTrue(Arrays.equals(testEncoding, c1.getEncoded())); in testCertificate()
78 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testHashCode()
79 Certificate c2 = new MyCertificate("TEST_TYPE", testEncoding); in testHashCode()
93 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testHashCodeEqualsObject()
94 Certificate c2 = new MyCertificate("TEST_TYPE", testEncoding); in testHashCodeEqualsObject()
105 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testHashCodeValue()
115 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testGetType()
124 Certificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testEqualsObject01()
[all …]
H A DPKIXCertPathBuilderResultTest.java46 private static final byte[] testEncoding = new byte[] { field in PKIXCertPathBuilderResultTest
88 new MyCertPath(testEncoding), in testPKIXCertPathBuilderResult01()
111 new MyCertPath(testEncoding), in testPKIXCertPathBuilderResult02()
152 new MyCertPath(testEncoding), in testPKIXCertPathBuilderResult04()
176 new MyCertPath(testEncoding), in testPKIXCertPathBuilderResult05()
192 new MyCertPath(testEncoding), ta, TestUtils.getPolicyTree(), in test_clone()
216 CertPath cp = new MyCertPath(testEncoding); in testGetCertPath()
244 new MyCertPath(testEncoding), in testToString()
H A DCertPathCertPathRepTest.java13 private static final byte[] testEncoding = new byte[] { (byte) 1, (byte) 2, field in CertPathCertPathRepTest
29 MyCertPath cp = new MyCertPath(testEncoding); in testCertPathCertPathRep()
30 MyCertPathRep rep = cp.new MyCertPathRep("MyEncoding", testEncoding); in testCertPathCertPathRep()
31 assertEquals(testEncoding, rep.getData()); in testCertPathCertPathRep()
43 MyCertPath cp = new MyCertPath(testEncoding); in testReadResolve()
44 MyCertPathRep rep = cp.new MyCertPathRep("MyEncoding", testEncoding); in testReadResolve()
H A DCertificateCertificateRepTest.java15 private static final byte[] testEncoding = new byte[] { (byte) 1, (byte) 2, field in CertificateCertificateRepTest
32 MyCertificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testCertificateCertificateRep()
60 MyCertificate c1 = new MyCertificate("TEST_TYPE", testEncoding); in testReadResolve()
/aosp_15_r20/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyStore2Test.java71 final byte[] testEncoding = new byte[] { (byte) 1, (byte) 2, (byte) 3, field in KeyStore2Test
632 Certificate[] chain = { new MyCertificate("DSA", testEncoding), in test_deleteEntry()
633 new MyCertificate("DSA", testEncoding) }; in test_deleteEntry()
664 Certificate[] chain = { new MyCertificate(type, testEncoding), in test_getCreationDate()
665 new MyCertificate(type, testEncoding) }; in test_getCreationDate()
755 Certificate[] chain = { new MyCertificate(type, testEncoding), in test_getEntry()
756 new MyCertificate(type, testEncoding) }; in test_getEntry()
782 assertEquals(new MyCertificate(type, testEncoding), pkeActual1.getCertificate()); in test_getEntry()
792 assertEquals(new MyCertificate(type, testEncoding), pkeActual2.getCertificate()); in test_getEntry()
806 Certificate[] chain = { new MyCertificate(type, testEncoding), in test_setEntry()
[all …]
/aosp_15_r20/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/io/
H A DUnicodeInputStreamTestCase.java119 …nal UnicodeInputStream.UnicodeBOM bom, final String str, final String testEncoding, final boolean … in testRun() argument
123 byte [] testString = buildTestString(bom, str, testEncoding, skipBOM); in testRun()
130 is = createInputStream(bom, str, testEncoding); in testRun()
137 assertEquals("Wrong Encoding detected", testEncoding, uis.getEncodingFromStream()); in testRun()
140 byte [] result = readAllBytes(uis, testEncoding); in testRun()
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/io/
H A DBaseEncodingTest.java423 testEncoding(encoding, decoded, encoded); in testEncodingWithSeparators()
428 testEncoding( in testEncodingWithSeparators()
436 private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) { in testEncoding() method in BaseEncodingTest
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/io/
H A DBaseEncodingTest.java423 testEncoding(encoding, decoded, encoded); in testEncodingWithSeparators()
428 testEncoding( in testEncodingWithSeparators()
436 private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) { in testEncoding() method in BaseEncodingTest
/aosp_15_r20/external/python/pyasn1/tests/codec/ber/
Dtest_encoder.py438 def testEncoding(self): member in UniversalStringEncoderTestCase
444 def testEncoding(self): member in UniversalStringEncoderWithSchemaTestCase
451 def testEncoding(self): member in BMPStringEncoderTestCase
457 def testEncoding(self): member in BMPStringEncoderWithSchemaTestCase
464 def testEncoding(self): member in UTF8StringEncoderTestCase
470 def testEncoding(self): member in UTF8StringEncoderWithSchemaTestCase
/aosp_15_r20/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/
H A DEncodingCollectionsTest.kt24 fun testEncoding() { in <lambda>() method
/aosp_15_r20/external/conscrypt/common/src/test/java/org/conscrypt/java/security/
H A DAlgorithmParametersTestDES.java47 public void testEncoding() throws Exception { in testEncoding() method in AlgorithmParametersTestDES
H A DAlgorithmParametersTestDESede.java58 public void testEncoding() throws Exception { in testEncoding() method in AlgorithmParametersTestDESede
H A DAlgorithmParametersTestAES.java60 public void testEncoding() throws Exception { in testEncoding() method in AlgorithmParametersTestAES
H A DAlgorithmParametersTestDSA.java122 public void testEncoding() throws Exception { in testEncoding() method in AlgorithmParametersTestDSA
H A DAlgorithmParametersTestGCM.java73 public void testEncoding() throws Exception { in testEncoding() method in AlgorithmParametersTestGCM
/aosp_15_r20/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/
H A DAlgorithmParametersTestDES.java51 public void testEncoding() throws Exception { in testEncoding() method in AlgorithmParametersTestDES
H A DAlgorithmParametersTestAES.java68 public void testEncoding() throws Exception { in testEncoding() method in AlgorithmParametersTestAES
H A DAlgorithmParametersTestDESede.java67 public void testEncoding() throws Exception { in testEncoding() method in AlgorithmParametersTestDESede
H A DAlgorithmParametersTestDSA.java126 public void testEncoding() throws Exception { in testEncoding() method in AlgorithmParametersTestDSA
H A DAlgorithmParametersTestGCM.java82 public void testEncoding() throws Exception { in testEncoding() method in AlgorithmParametersTestGCM
H A DAlgorithmParametersTestEC.java69 public void testEncoding() throws Exception { in testEncoding() method in AlgorithmParametersTestEC
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPlmnActRecordTest.java78 public void testEncoding() { in testEncoding() method in PlmnActRecordTest
/aosp_15_r20/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
H A DFlatbuffersMoreDefaults.swift61 func testEncoding() { in testEncoding() function
/aosp_15_r20/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/
H A DInputStreamSourceFileLocatorTest.java74 public void testEncoding() throws IOException { in testEncoding() method in InputStreamSourceFileLocatorTest

12