/external/json-schema-validator/src/test/java/com/networknt/schema/ |
D | DisallowUnknownJsonMetaSchemaFactoryTest.java | 18 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 41 assertDoesNotThrow(() -> factory.getSchema(DRAFT_202012_SCHEMA)); in defaultHandling() 42 assertDoesNotThrow(() -> factory.getSchema(DRAFT_7_SCHEMA)); in defaultHandling() 49 assertDoesNotThrow(() -> factory.getSchema(DRAFT_202012_SCHEMA)); in draft202012() 57 assertDoesNotThrow(() -> factory.getSchema(DRAFT_7_SCHEMA)); in draft7()
|
D | DefaultJsonSchemaIdValidatorTest.java | 18 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 51 …assertDoesNotThrow(() -> JsonSchemaFactory.getInstance(VersionFlag.V202012).getSchema(schema, conf… in givenFragmentWithNoContextShouldNotThrowInvalidSchemaException() 60 …assertDoesNotThrow(() -> JsonSchemaFactory.getInstance(VersionFlag.V202012).getSchema(schema, conf… in givenSlashWithNoContextShouldNotThrowInvalidSchemaException() 67 assertDoesNotThrow(() -> JsonSchemaFactory.getInstance(VersionFlag.V202012) in givenRelativeIdWithClasspathBaseShouldNotThrowInvalidSchemaException()
|
D | Issue940Test.java | 18 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 35 assertDoesNotThrow(() -> jsonSchema.initializeValidators()); in shouldNotThrowException()
|
D | Issue604Test.java | 6 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 16 assertDoesNotThrow(() -> { in failure() method
|
D | Issue939Test.java | 18 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 52 assertDoesNotThrow(() -> jsonSchema.initializeValidators()); in shouldNotThrowException()
|
D | Issue665Test.java | 18 Assertions.assertDoesNotThrow(schema::initializeValidators); in testUrnUriAsLocalRef() 38 Assertions.assertDoesNotThrow(schema::initializeValidators); in testUrnUriAsLocalRef_ExternalURN()
|
/external/rust/beto-rust/nearby/connections/ukey2/ukey2_jni/java/src/test/java/com/google/security/cryptauth/lib/securegcm/ukey2/ |
D | TestUkey2Protocol.kt | 28 import org.junit.jupiter.api.assertDoesNotThrow 42 assertDoesNotThrow { in testHandshake() 55 assertDoesNotThrow { in testSendReceiveMessage() 75 assertDoesNotThrow { in testSaveRestoreSession() 98 assertDoesNotThrow { in testSaveRestoreBadSession() 117 assertDoesNotThrow { in tryReuseHandshakeContext() 134 assertDoesNotThrow { in testSendReceiveMessageWithAssociatedData() 156 assertDoesNotThrow { in testVerificationString() 187 assertDoesNotThrow { in testGcm() 208 assertDoesNotThrow { in testGcmServer_cbcClient() [all …]
|
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/ |
D | SystemPropertiesTest.java | 20 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 33 assertDoesNotThrow(SystemProperties::getAwtToolkit); in testGetAwtToolkit() 53 assertDoesNotThrow(SystemProperties::getJavaAwtGraphicsenv); in testGetJavaAwtGraphicsenv() 63 assertDoesNotThrow(SystemProperties::getJavaAwtPrinterjob); in testGetJavaAwtPrinterjob() 226 assertDoesNotThrow(SystemProperties::getUserCountry); in testGetUserCountry() 251 assertDoesNotThrow(SystemProperties::getUserTimezone); in testGetUserTimezone()
|
/external/ow2-asm/asm-analysis/src/test/java/org/objectweb/asm/tree/analysis/ |
D | AnalyzerWithSimpleVerifierTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 139 assertDoesNotThrow(analyze); in testAnalyze_mergeStackFrames() 140 assertDoesNotThrow(() -> MethodNodeBuilder.buildClassWithMethod(methodNode).newInstance()); in testAnalyze_mergeStackFrames() 162 assertDoesNotThrow(() -> analyzer.analyze(classNode.name, methodNode)); in testAnalyze_simpleVerifier() 193 assertDoesNotThrow(analyze); in testIsAssignableFrom_interface() 194 assertDoesNotThrow(() -> MethodNodeBuilder.buildClassWithMethod(methodNode).newInstance()); in testIsAssignableFrom_interface()
|
D | AnalyzerWithSourceInterpreterTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 50 assertDoesNotThrow(() -> new SourceInterpreter()); in testConstructor() 68 assertDoesNotThrow(() -> analyzer.analyze(classNode.name, methodNode)); in testAnalyze_sourceInterpreter()
|
D | AnalyzerTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 424 assertDoesNotThrow(() -> MethodNodeBuilder.buildClassWithMethod(methodNode).newInstance()); in testAnalyze_basicTryFinally() 492 assertDoesNotThrow(() -> MethodNodeBuilder.buildClassWithMethod(methodNode).newInstance()); in testAnalyze_ifElseInFinally() 565 assertDoesNotThrow(() -> MethodNodeBuilder.buildClassWithMethod(methodNode).newInstance()); in testAnalyze_simpleNestedFinally() 591 assertDoesNotThrow(() -> MethodNodeBuilder.buildClassWithMethod(methodNode).newInstance()); in testAnalyze_nestedSubroutines() 654 assertDoesNotThrow(() -> MethodNodeBuilder.buildClassWithMethod(methodNode).newInstance()); in testAnalyze_subroutineWithNoRet() 691 assertDoesNotThrow(() -> MethodNodeBuilder.buildClassWithMethod(methodNode).newInstance()); in testAnalyze_subroutineWithNoRet2() 732 assertDoesNotThrow(() -> MethodNodeBuilder.buildClassWithMethod(methodNode).newInstance()); in testAnalyze_subroutineLocalsAccess() 800 assertDoesNotThrow(() -> MethodNodeBuilder.buildClassWithMethod(methodNode).newInstance()); in testAnalyze_implicitExit() 889 assertDoesNotThrow(() -> MethodNodeBuilder.buildClassWithMethod(methodNode).newInstance()); in testAnalyze_implicitExitToAnotherSubroutine() [all …]
|
/external/ow2-asm/asm-commons/src/test/java/org/objectweb/asm/commons/ |
D | AdviceAdapterTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 97 assertDoesNotThrow(() -> buildClassWithMethod(outputMethod).newInstance()); in testAllMethods_simpleConstructor() 136 assertDoesNotThrow(() -> buildClassWithMethod(outputMethod).newInstance()); in testAllMethods_constructorWithTwoSuperInitInTwoBranches() 179 assertDoesNotThrow(() -> buildClassWithMethod(outputMethod).newInstance()); in testAllMethods_constructorWithTwoSuperInitInTwoSwitchBranches() 217 assertDoesNotThrow(() -> buildClassWithMethod(outputMethod).newInstance()); in testAllMethods_constructorWithSuperInitsInNormalAndHandlerBranches() 260 assertDoesNotThrow(() -> buildClassWithMethod(outputMethod).newInstance()); in testAllMethods_constructorWithUninitThisInTwoBranches() 288 assertDoesNotThrow(() -> buildClassWithMethod(outputMethod).newInstance()); in testAllMethods_constructorWithDupX1() 316 assertDoesNotThrow(() -> buildClassWithMethod(outputMethod).newInstance()); in testAllMethods_constructorWithDupX2() 344 assertDoesNotThrow(() -> buildClassWithMethod(outputMethod).newInstance()); in testAllMethods_constructorWithDup2() 374 assertDoesNotThrow(() -> buildClassWithMethod(outputMethod).newInstance()); in testAllMethods_constructorWithDup2X1() [all …]
|
D | LocalVariablesSorterTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 64 assertDoesNotThrow(() -> new LocalVariablesSorter(Opcodes.ACC_PUBLIC, "()V", methodNode)); in testConstructor() 77 assertDoesNotThrow(visitFrame); in testVisitFrame_emptyFrame() 207 assertDoesNotThrow(accept); in testAllMethods_precompiledClass() 212 assertDoesNotThrow(newInstance); in testAllMethods_precompiledClass() 227 assertDoesNotThrow(() -> new ClassFile(classWriter.toByteArray()).newInstance()); in testAllMethods_issue317586()
|
D | TryCatchBlockSorterTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 53 assertDoesNotThrow( in testConstructor() 91 assertDoesNotThrow(() -> classFile.newInstance()); in testAllMethods_precompileClass()
|
D | AnalyzerAdapterTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 60 assertDoesNotThrow( in testConstructor() 74 assertDoesNotThrow(visitFrame); in testVisitFrame_emptyFrame() 115 assertDoesNotThrow(accept); in testAllMethods_precompiledClass() 120 assertDoesNotThrow(newInstance); in testAllMethods_precompiledClass()
|
/external/ow2-asm/asm-util/src/test/java/org/objectweb/asm/util/ |
D | CheckModuleAdapterTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 47 assertDoesNotThrow(() -> new CheckModuleAdapter(null, /* open = */ false)); in testConstructor() 106 assertDoesNotThrow(visitRequire); in testVisitRequire_javaBaseTransitiveOrStaticPhaseAreIgnoredUnderJvms9() 115 assertDoesNotThrow(visitExport); in testVisitExport_nullArray() 124 assertDoesNotThrow(visitOpen); in testVisitOpen_nullArray()
|
/external/ow2-asm/asm/src/test/java/org/objectweb/asm/signature/ |
D | SignatureReaderTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 59 assertDoesNotThrow(acceptVisitor); in testAccept_validClassOrMethodSignature() 71 assertDoesNotThrow(acceptVisitor); in testAccept_validFieldSignature()
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/ |
D | IOUtilsTest.java | 20 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 318 assertDoesNotThrow(() -> IOUtils.close((Closeable) null)); in testClose() 319 assertDoesNotThrow(() -> IOUtils.close(new StringReader("s"))); in testClose() 326 assertDoesNotThrow(() -> IOUtils.close(nullCloseable, null)); // null consumer in testCloseConsumer() 327 assertDoesNotThrow(() -> IOUtils.close(new StringReader("s"), null)); // null consumer in testCloseConsumer() 328 …assertDoesNotThrow(() -> IOUtils.close(new ThrowOnCloseReader(new StringReader("s")), null)); // n… in testCloseConsumer() 331 assertDoesNotThrow(() -> IOUtils.close(nullCloseable, nullConsumer)); in testCloseConsumer() 332 assertDoesNotThrow(() -> IOUtils.close(new StringReader("s"), nullConsumer)); in testCloseConsumer() 333 …assertDoesNotThrow(() -> IOUtils.close(new ThrowOnCloseReader(new StringReader("s")), nullConsumer… in testCloseConsumer() 336 assertDoesNotThrow(() -> IOUtils.close(nullCloseable, silentConsumer)); in testCloseConsumer() [all …]
|
/external/ow2-asm/asm/src/test/java/org/objectweb/asm/ |
D | ClassWriterComputeMaxsTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 150 assertDoesNotThrow(() -> new ClassFile(classFile).newInstance()); in testVisitMaxs_basic() 228 assertDoesNotThrow(() -> new ClassFile(classFile).newInstance()); in testVisitMaxs_ifElseInFinally() 313 assertDoesNotThrow(() -> new ClassFile(classFile).newInstance()); in testVisitMaxs_simpleNestedFinally() 378 assertDoesNotThrow(() -> new ClassFile(classFile).newInstance()); in testVisitMaxs_subroutineWithNoRet() 416 assertDoesNotThrow(() -> new ClassFile(classFile).newInstance()); in testVisitMaxs_subroutineWithNoRet2() 494 assertDoesNotThrow(() -> new ClassFile(classFile).newInstance()); in testVisitMaxs_implicitExit() 597 assertDoesNotThrow(() -> new ClassFile(classFile).newInstance()); in testVisitMaxs_implicitExitToAnotherSubroutine() 629 assertDoesNotThrow(() -> new ClassFile(classFile).newInstance()); in testVisitMaxs_implicitExitToAnotherSubroutine2() 676 assertDoesNotThrow(() -> new ClassFile(classFile).newInstance()); in testVisitMaxs_interleavedCode() [all …]
|
D | RecordComponentVisitorTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 49 assertDoesNotThrow(constructor); in testConstructor_validApi()
|
D | FieldVisitorTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 49 assertDoesNotThrow(constructor); in testConstructor_validApi()
|
D | ModuleVisitorTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 49 assertDoesNotThrow(constructor); in testConstructor_validApi()
|
D | AnnotationVisitorTest.java | 30 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 54 assertDoesNotThrow(constructor); in testConstructor_validApi() 100 assertDoesNotThrow(removeAnnotations); in testReadAndWrite_removeOrDeleteAnnotations() 101 assertDoesNotThrow(deleteAnnotations); in testReadAndWrite_removeOrDeleteAnnotations()
|
/external/aws-sdk-java-v2/core/auth/src/test/java/software/amazon/awssdk/auth/signer/ |
D | AwsS3V4SignerTest.java | 19 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 171 assertDoesNotThrow(() -> in signWithParams_doesNotFailWithEncodedCharacters() 198 assertDoesNotThrow(() -> signer.sign(request, attributes)); in signWithExecutionAttributes_doesNotFailWithEncodedCharacters() 212 assertDoesNotThrow(() -> in presignWithParams_doesNotFailWithEncodedCharacters() 239 assertDoesNotThrow(() -> signer.presign(request, attributes)); in presignWithExecutionAttributes_doesNotFailWithEncodedCharacters()
|
/external/json-schema-validator/src/test/java/com/networknt/schema/resource/ |
D | UriSchemaLoaderTest.java | 18 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 58 assertDoesNotThrow(() -> schemaLoader.getSchema(AbsoluteIri.of("https://私の団体も.jp/"))); in shouldNotThrowAbsoluteIri()
|