Home
last modified time | relevance | path

Searched refs:formatErrorMessage (Results 1 – 10 of 10) sorted by relevance

/external/connectedappssdk/tests/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DCrossProfileTest.java33 …port static com.google.android.enterprise.connectedapps.processor.TestUtilities.formatErrorMessage;
141 .hadErrorContaining(formatErrorMessage(UNSUPPORTED_RETURN_TYPE_ERROR, annotationStrings)) in crossProfileMethodWithUnsupportedReturnType_hasError()
166 .hadErrorContaining(formatErrorMessage(UNSUPPORTED_RETURN_TYPE_ERROR, annotationStrings)) in crossProfileMethodWithContextReturnType_hasError()
190 .hadErrorContaining(formatErrorMessage(UNSUPPORTED_RETURN_TYPE_ERROR, annotationStrings)) in crossProfileMethodWithUnsupportedReturnTypeArray_hasError()
214 .hadErrorContaining(formatErrorMessage(UNSUPPORTED_RETURN_TYPE_ERROR, annotationStrings)) in crossProfileMethodWithUnsupportedReturnTypeInGeneric_hasError()
239 .hadErrorContaining(formatErrorMessage(UNSUPPORTED_RETURN_TYPE_ERROR, annotationStrings)) in crossProfileMethodWithContextReturnTypeInGeneric_hasError()
341 .hadErrorContaining(formatErrorMessage(UNSUPPORTED_RETURN_TYPE_ERROR, annotationStrings)) in crossProfileMethodWithCrossProfileCallbackInterfaceReturnType_hasError()
368 .hadErrorContaining(formatErrorMessage(UNSUPPORTED_RETURN_TYPE_ERROR, annotationStrings)) in crossProfileMethodWithCrossProfileCallbackInterfaceArrayReturnType_hasError()
412 .hadErrorContaining(formatErrorMessage(UNSUPPORTED_PARAMETER_TYPE_ERROR, annotationStrings)) in crossProfileMethodWithUnsupportedParameterType_hasError()
435 .hadErrorContaining(formatErrorMessage(UNSUPPORTED_PARAMETER_TYPE_ERROR, annotationStrings)) in crossProfileMethodWithUnsupportedArrayParameterType_hasError()
[all …]
DCrossProfileProviderTest.java20 …port static com.google.android.enterprise.connectedapps.processor.TestUtilities.formatErrorMessage;
108 formatErrorMessage(PROVIDING_NON_CROSS_PROFILE_TYPE_ERROR, annotationStrings)) in providesANotCrossProfileType_hasError()
157 .hadErrorContaining(formatErrorMessage(PROVIDER_INCORRECT_ARGS_ERROR, annotationStrings)) in takesNonContextArgument_hasError()
183 .hadErrorContaining(formatErrorMessage(PROVIDER_INCORRECT_ARGS_ERROR, annotationStrings)) in takesMultipleContextArguments_hasError()
207 .hadErrorContaining(formatErrorMessage(STATIC_PROVIDER_ERROR, annotationStrings)) in isStaticMethod_hasError()
235 .hadErrorContaining(formatErrorMessage(MULTIPLE_PROVIDERS_ERROR, annotationStrings)) in providesSameTypeTwice_hasError()
271 .hadErrorContaining(formatErrorMessage(MULTIPLE_PROVIDERS_ERROR, annotationStrings)) in providesSameTypeTwiceInDifferentProviders_hasError()
274 .hadErrorContaining(formatErrorMessage(MULTIPLE_PROVIDERS_ERROR, annotationStrings)) in providesSameTypeTwiceInDifferentProviders_hasError()
306 .hadErrorContaining(formatErrorMessage(MULTIPLE_PROVIDERS_ERROR, annotationStrings)) in providesSameTypeTwiceInStaticAndNonStaticProviders_hasError()
309 .hadErrorContaining(formatErrorMessage(MULTIPLE_PROVIDERS_ERROR, annotationStrings)) in providesSameTypeTwiceInStaticAndNonStaticProviders_hasError()
[all …]
DCrossProfileCallbackTest.java28 …port static com.google.android.enterprise.connectedapps.processor.TestUtilities.formatErrorMessage;
116 formatErrorMessage(CALLBACK_INTERFACE_DEFAULT_PACKAGE_ERROR, annotationStrings)) in crossProfileCallbackInterface_defaultPackage_hasError()
135 .hadErrorContaining(formatErrorMessage(NOT_INTERFACE_ERROR, annotationStrings)) in crossProfileCallbackInterface_notInterface_hasError()
153 .hadErrorContaining(formatErrorMessage(NO_METHODS_ERROR, annotationStrings)) in crossProfileCallbackInterface_noMethods_hasError()
173 .hadErrorContaining(formatErrorMessage(NOT_ONE_METHOD_ERROR, annotationStrings)) in crossProfileCallbackInterface_simple_moreThanOneMethod_hasError()
211 .hadErrorContaining(formatErrorMessage(DEFAULT_METHOD_ERROR, annotationStrings)) in crossProfileCallbackInterface_defaultMethod_hasError()
231 .hadErrorContaining(formatErrorMessage(STATIC_METHOD_ERROR, annotationStrings)) in crossProfileCallbackInterface_staticMethod_hasError()
250 .hadErrorContaining(formatErrorMessage(NOT_VOID_ERROR, annotationStrings)) in crossProfileCallbackInterface_nonVoidReturnType_hasError()
269 .hadErrorContaining(formatErrorMessage(MORE_THAN_ONE_PARAMETER_ERROR, annotationStrings)) in multipleSupportedParameters_simple_hasError()
350 .hadErrorContaining(formatErrorMessage(UNSUPPORTED_PARAMETER_TYPE_ERROR, annotationStrings)) in crossProfileCallbackInterfaceMethodWithUnsupportedParameterTypeInGeneric_isUsed_hasError()
[all …]
DCrossProfileProviderClassTest.java21 …port static com.google.android.enterprise.connectedapps.processor.TestUtilities.formatErrorMessage;
107 .hadErrorContaining(formatErrorMessage(INVALID_CONSTRUCTORS_ERROR, annotationStrings)) in hasNonPublicNoArgsConstructor_hasError()
133 .hadErrorContaining(formatErrorMessage(INVALID_CONSTRUCTORS_ERROR, annotationStrings)) in hasNoNoArgsConstructor_hasError()
187 .hadErrorContaining(formatErrorMessage(INVALID_CONSTRUCTORS_ERROR, annotationStrings)) in hasMoreThanOnePublicConstructor_errors()
245 formatErrorMessage(PROVIDER_CLASS_DIFFERENT_CONNECTOR_ERROR, annotationStrings)) in hasCrossProfileTypesWithDifferentConnectors_hasError()
287 .hadErrorContaining(formatErrorMessage(STATICTYPES_ERROR, annotationStrings)) in staticTypes_referencesNonStaticType_hasError()
DCrossProfileTypeTest.java23 …port static com.google.android.enterprise.connectedapps.processor.TestUtilities.formatErrorMessage;
94 .hadErrorContaining(formatErrorMessage(DEFAULT_PACKAGE_ERROR, annotationStrings)) in crossProfileType_inDefaultPackage_hasError()
115 .hadErrorContaining(formatErrorMessage(NON_PUBLIC_CLASS_ERROR, annotationStrings)) in crossProfileType_inNonPublicClass_hasError()
360 .hadErrorContaining(formatErrorMessage(NOT_STATIC_ERROR, annotationStrings)) in isStaticContainsNonStaticMethods_hasError()
DCrossProfileTestTest.java23 …port static com.google.android.enterprise.connectedapps.processor.TestUtilities.formatErrorMessage;
94 .hadErrorContaining(formatErrorMessage(NOT_A_CONFIGURATION_ERROR, annotationStrings)) in crossProfileTest_referencesNonConfigurationClass_hasError()
DProcessorCrossProfileConfigurationTest.java24 …port static com.google.android.enterprise.connectedapps.processor.TestUtilities.formatErrorMessage;
328 formatErrorMessage(CONFIGURATION_DIFFERENT_CONNECTOR_ERROR, annotationStrings)) in hasCrossProfileTypeWithDifferentConnectors_hasError()
DTestUtilities.java594 public static String formatErrorMessage(String errorMessage, AnnotationNames annotationNames) { in formatErrorMessage() method in TestUtilities
/external/icu/icu4c/source/test/intltest/
Dtsmthred.cpp292 static void formatErrorMessage(UErrorCode &realStatus, const UnicodeString& pattern, const Locale& … in formatErrorMessage() function
625 formatErrorMessage(status,patternToCheck,messageLocale,statusToCheck, in run()
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...