Home
last modified time | relevance | path

Searched refs:setThrowsExceptions (Results 1 – 25 of 26) sorted by relevance

12

/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DOutputStreamTesterTest.java58 … suite.addTest(new ByteArrayOutputStreamSinkTester(0).setThrowsExceptions(false).createTests()); in suite()
59 … suite.addTest(new ByteArrayOutputStreamSinkTester(4).setThrowsExceptions(false).createTests()); in suite()
70 suite.addTest(new PrintStreamTester().setThrowsExceptions(false).createTests()); in suite()
H A DWriterTesterTest.java56 suite.addTest(new CharArrayWriterCharSinkTester().setThrowsExceptions(false).createTests()); in suite()
57 suite.addTest(new StringWriterCharSinkTester().setThrowsExceptions(false).createTests()); in suite()
65 suite.addTest(new PrintWriterCharSinkTester().setThrowsExceptions(false).createTests()); in suite()
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/engine/ast/
H A DMethodDefinitionTest.java210 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(InterruptedException.class))) in validMethodDefinition_nonRuntimeException()
345 .setThrowsExceptions( in invalidMethodDefinition_emptyTemplatesOnMethod()
362 .setThrowsExceptions( in invalidMethodDefinition_returnTemplatesNotPresent()
390 .setThrowsExceptions( in invalidMethodDefinition_runtimeException()
580 .setThrowsExceptions(Arrays.asList(TypeNode.STRING)) in invalidMethodDefinition_invalidException()
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/engine/ast/
H A DMethodDefinition.java93 .setThrowsExceptions(Collections.emptyList()) in builder()
109 .setThrowsExceptions(Collections.emptyList()) in constructorBuilder()
141 public abstract Builder setThrowsExceptions(List<TypeNode> exceptionTypes); in setThrowsExceptions() method in MethodDefinition.Builder
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/rest/
H A DServiceClientTestClassComposer.java237 .setThrowsExceptions(Arrays.asList(FIXED_TYPESTORE.get("IOException"))) in createStartStaticServerMethod()
286 .setThrowsExceptions( in createTearDownMethod()
433 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(Exception.class))) in createStreamingRpcTestMethod()
514 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(Exception.class))) in createRpcExceptionTestMethod()
/aosp_15_r20/libcore/support/src/test/java/org/apache/harmony/testframework/
H A DWrapperTester.java52 public WrapperTester setThrowsExceptions(boolean throwsExceptions) { in setThrowsExceptions() method in WrapperTester
60 .setThrowsExceptions(throwsExceptions) in createTests()
H A DCharWrapperTester.java51 public CharWrapperTester setThrowsExceptions(boolean throwsExceptions) { in setThrowsExceptions() method in CharWrapperTester
59 .setThrowsExceptions(throwsExceptions) in createTests()
H A DSinkTester.java56 public SinkTester setThrowsExceptions(boolean throwsExceptions) { in setThrowsExceptions() method in SinkTester
H A DCharSinkTester.java55 public CharSinkTester setThrowsExceptions(boolean throwsExceptions) { in setThrowsExceptions() method in CharSinkTester
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/samplecode/
H A DSampleComposer.java144 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(Exception.class))) in composeMainMethod()
159 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(Exception.class))) in composeSampleMethod()
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/
H A DAbstractServiceSettingsClassComposer.java215 .setThrowsExceptions(Arrays.asList(FIXED_TYPESTORE.get("IOException"))) in createConstructorMethod()
325 .setThrowsExceptions(Arrays.asList(FIXED_TYPESTORE.get("IOException"))) in createCreatorMethod()
560 .setThrowsExceptions(Arrays.asList(FIXED_TYPESTORE.get("IOException"))) in createNestedBuilderConstructorMethods()
798 .setThrowsExceptions(Arrays.asList(FIXED_TYPESTORE.get("IOException"))) in createNestedBuilderClassBuildMethod()
H A DAbstractTransportServiceStubClassComposer.java498 .setThrowsExceptions( in createStaticCreatorMethods()
604 .setThrowsExceptions(Arrays.asList(ioExceptionType)) in createConstructorMethods()
1046 .setThrowsExceptions(Arrays.asList(FIXED_TYPESTORE.get("InterruptedException"))) in createStubOverrideMethods()
H A DAbstractServiceClientClassComposer.java309 .setThrowsExceptions(Arrays.asList(exceptionType)) in createStaticCreatorMethods()
329 .setThrowsExceptions(Arrays.asList(exceptionType)) in createStaticCreatorMethods()
424 .setThrowsExceptions(Arrays.asList(exceptionType)) in createConstructorMethods()
1112 .setThrowsExceptions(Arrays.asList(typeStore.get("InterruptedException")))
H A DAbstractServiceClientTestClassComposer.java714 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(Exception.class))) in createRpcTestMethod()
782 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(Exception.class))) in createUnsupportedTestMethod()
H A DAbstractServiceStubSettingsClassComposer.java1132 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(IOException.class))) in createCreateStubMethod()
1327 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(IOException.class))) in createClassConstructor()
2034 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(IOException.class))) in createNestedClassBuildMethod()
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/grpc/
H A DServiceClientTestClassComposer.java327 .setThrowsExceptions(Arrays.asList(FIXED_TYPESTORE.get("IOException"))) in createSetUpMethod()
348 .setThrowsExceptions( in createTearDownMethod()
805 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(Exception.class))) in createStreamingRpcTestMethod()
872 .setThrowsExceptions(Arrays.asList(TypeNode.withExceptionClazz(Exception.class))) in createRpcExceptionTestMethod()
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/engine/
H A DJavaCodeGeneratorTest.java542 .setThrowsExceptions(Arrays.asList(TypeNode.withReference(nonexistentShelfExceptionRef))) in createUpdateShelfMap()
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/
H A DJavaWriterVisitorTest.java2118 .setThrowsExceptions( in writeMethodDefinition_withCommentsAnnotationsAndThrows()
/aosp_15_r20/prebuilts/module_sdk/art/1/test-exports/java/
Dcore-tests-support.jarMETA-INF/ META-INF/MANIFEST.MF libcore/ libcore/java/ libcore/ ...
Dapache-harmony-tests.jarMETA-INF/ META-INF/MANIFEST.MF DefaultPkgIntf.class Proxy2Test.java package DefaultPkgIntf ...
Dlibcore-crypto-tests.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/aosp_15_r20/prebuilts/module_sdk/art/current/test-exports/java/
Dcore-tests-support.jarMETA-INF/ META-INF/MANIFEST.MF libcore/ libcore/java/ libcore/ ...
Dapache-harmony-tests.jarMETA-INF/ META-INF/MANIFEST.MF DefaultPkgIntf.class Proxy2Test.java package DefaultPkgIntf ...
Dlibcore-crypto-tests.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
Dcore-tests.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...

12