Home
last modified time | relevance | path

Searched full:subject (Results 1 – 25 of 27483) sorted by relevance

12345678910>>...1100

/aosp_15_r20/external/dagger2/javatests/dagger/internal/codegen/
H A DInjectConstructorFactoryGeneratorTest.java75 subject -> { in injectOnPrivateConstructor()
76 subject.hasErrorCount(1); in injectOnPrivateConstructor()
77 subject.hasErrorContaining( in injectOnPrivateConstructor()
99 subject -> { in injectConstructorOnInnerClass()
100 subject.hasErrorCount(1); in injectConstructorOnInnerClass()
101 subject.hasErrorContaining( in injectConstructorOnInnerClass()
122 subject -> { in injectConstructorOnAbstractClass()
123 subject.hasErrorCount(1); in injectConstructorOnAbstractClass()
124 subject.hasErrorContaining( in injectConstructorOnAbstractClass()
144 subject -> { in injectConstructorOnGenericClass()
[all …]
H A DMembersInjectionValidationTest.java48 subject -> { in membersInjectDependsOnUnboundedType()
49 subject.hasErrorCount(1); in membersInjectDependsOnUnboundedType()
50 subject.hasErrorContaining( in membersInjectDependsOnUnboundedType()
73 subject -> { in membersInjectPrimitive()
74 subject.hasErrorCount(1); in membersInjectPrimitive()
75 subject.hasErrorContaining("Cannot inject members into int") in membersInjectPrimitive()
96 subject -> { in membersInjectArray()
97 subject.hasErrorCount(1); in membersInjectArray()
98 subject.hasErrorContaining("Cannot inject members into java.lang.Object[]") in membersInjectArray()
120 subject -> { in membersInjectorOfArray()
[all …]
H A DModuleFactoryGeneratorTest.java129 subject -> { in modulesWithTypeParamsMustBeAbstract()
130 subject.hasErrorCount(1); in modulesWithTypeParamsMustBeAbstract()
131 subject.hasErrorContaining("Modules with type parameters must be abstract") in modulesWithTypeParamsMustBeAbstract()
217 subject -> { in validatesIncludedModules()
218 subject.hasErrorCount(2); in validatesIncludedModules()
222 subject.hasErrorContaining( in validatesIncludedModules()
225 subject.hasErrorContaining( in validatesIncludedModules()
248 subject -> { in singleProvidesMethodNoArgs()
249 subject.hasErrorCount(0); in singleProvidesMethodNoArgs()
250 subject.generatedSource( in singleProvidesMethodNoArgs()
[all …]
H A DComponentProcessorTest.java122 subject -> { in doubleBindingFromResolvedModules()
123 subject.hasErrorCount(1); in doubleBindingFromResolvedModules()
124 subject.hasErrorContaining("List<Integer> is bound multiple times"); in doubleBindingFromResolvedModules()
125 subject.hasErrorContaining( in doubleBindingFromResolvedModules()
127 subject.hasErrorContaining( in doubleBindingFromResolvedModules()
162 subject -> in privateNestedClassWithWarningThatIsAnErrorInComponent()
166 subject.hasErrorContaining( in privateNestedClassWithWarningThatIsAnErrorInComponent()
197 subject -> { in simpleComponent()
198 subject.hasErrorCount(0); in simpleComponent()
199 subject.generatedSource(goldenFileRule.goldenSource("test/DaggerSimpleComponent")); in simpleComponent()
[all …]
H A DMembersInjectionTest.java84 subject -> { in injectKotlinProtectField_fails()
85 subject.hasErrorCount(1); in injectKotlinProtectField_fails()
86 subject.hasErrorContaining( in injectKotlinProtectField_fails()
127 .compile(subject -> subject.hasErrorCount(0)); in injectJavaProtectField_succeeds()
164 subject -> { in parentClass_noInjectedMembers()
165 subject.hasErrorCount(0); in parentClass_noInjectedMembers()
166 subject.generatedSource(goldenFileRule.goldenSource("test/DaggerTestComponent")); in parentClass_noInjectedMembers()
217 subject -> { in parentClass_injectedMembersInSupertype()
218 subject.hasErrorCount(0); in parentClass_injectedMembersInSupertype()
219 subject.generatedSource(goldenFileRule.goldenSource("test/DaggerTestComponent")); in parentClass_injectedMembersInSupertype()
[all …]
H A DFullBindingGraphValidationTest.java82 subject -> { in moduleWithErrors_validationTypeNone()
83 subject.hasErrorCount(0); in moduleWithErrors_validationTypeNone()
84 subject.hasWarningCount(0); in moduleWithErrors_validationTypeNone()
93 subject -> { in moduleWithErrors_validationTypeError()
94 subject.hasErrorCount(1); in moduleWithErrors_validationTypeError()
95 subject.hasErrorContainingMatch(MODULE_WITH_ERRORS_MESSAGE.pattern()) in moduleWithErrors_validationTypeError()
106 subject -> { in moduleWithErrors_validationTypeWarning()
107 subject.hasErrorCount(0); in moduleWithErrors_validationTypeWarning()
108 subject.hasWarningCount(1); in moduleWithErrors_validationTypeWarning()
109 subject.hasWarningContainingMatch(MODULE_WITH_ERRORS_MESSAGE.pattern()) in moduleWithErrors_validationTypeWarning()
[all …]
H A DSubcomponentCreatorValidationTest.java79 subject -> { in testRefSubcomponentAndSubCreatorFails()
80 subject.hasErrorCount(1); in testRefSubcomponentAndSubCreatorFails()
81 subject.hasErrorContaining( in testRefSubcomponentAndSubCreatorFails()
120 subject -> { in testRefSubCreatorTwiceFails()
121 subject.hasErrorCount(1); in testRefSubCreatorTwiceFails()
122 subject.hasErrorContaining( in testRefSubCreatorTwiceFails()
165 subject -> { in testMoreThanOneCreatorFails()
166 subject.hasErrorCount(1); in testMoreThanOneCreatorFails()
167 subject.hasErrorContaining( in testMoreThanOneCreatorFails()
207 subject -> { in testMoreThanOneCreatorFails_differentTypes()
[all …]
H A DComponentCreatorTest.java110 subject -> { in testEmptyCreator()
111 subject.hasErrorCount(0); in testEmptyCreator()
112 subject.generatedSource(goldenFileRule.goldenSource("test/DaggerSimpleComponent")); in testEmptyCreator()
152 subject -> { in testCanInstantiateModulesUserCannotSet()
153 subject.hasErrorCount(0); in testCanInstantiateModulesUserCannotSet()
154 subject.generatedSource(goldenFileRule.goldenSource("test/DaggerTestComponent")); in testCanInstantiateModulesUserCannotSet()
184 subject -> { in testMoreThanOneCreatorOfSameTypeFails()
185 subject.hasErrorCount(1); in testMoreThanOneCreatorOfSameTypeFails()
186 subject.hasErrorContaining( in testMoreThanOneCreatorOfSameTypeFails()
219 subject -> { in testBothBuilderAndFactoryFails()
[all …]
H A DMapMultibindingValidationTest.java73 subject -> { in duplicateMapKeys_UnwrappedMapKey()
74 subject.hasErrorCount(1); in duplicateMapKeys_UnwrappedMapKey()
75 subject.hasErrorContaining( in duplicateMapKeys_UnwrappedMapKey()
77 subject.hasErrorContaining("provideObjectForAKey()"); in duplicateMapKeys_UnwrappedMapKey()
78 subject.hasErrorContaining("provideObjectForAKeyAgain()"); in duplicateMapKeys_UnwrappedMapKey()
88 subject -> { in duplicateMapKeys_UnwrappedMapKey()
89 subject.hasErrorCount(1); in duplicateMapKeys_UnwrappedMapKey()
90 subject.hasErrorContaining( in duplicateMapKeys_UnwrappedMapKey()
94 subject.hasErrorContaining("provideObjectForAKey()"); in duplicateMapKeys_UnwrappedMapKey()
95 subject.hasErrorContaining("provideObjectForAKeyAgain()"); in duplicateMapKeys_UnwrappedMapKey()
[all …]
H A DAssistedFactoryErrorsTest.java54 subject -> { in testFactoryNotAbstract()
55 subject.hasErrorCount(1); in testFactoryNotAbstract()
56 subject.hasErrorContaining( in testFactoryNotAbstract()
86 subject -> { in testNestedFactoryNotStatic()
87 subject.hasErrorCount(1); in testNestedFactoryNotStatic()
88 subject.hasErrorContaining("Nested @AssistedFactory-annotated types must be static."); in testNestedFactoryNotStatic()
106 subject -> { in testFactoryMissingAbstractMethod()
107 subject.hasErrorCount(1); in testFactoryMissingAbstractMethod()
108 subject.hasErrorContaining( in testFactoryMissingAbstractMethod()
155 subject -> { in testFactoryReturnsNonDeclaredType()
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/repository/home/qi/directive/
Dkwd.hpp285 …template <typename Subject, typename KeywordType, typename LoopIter , typename NoCase, typename Di…
286 …struct kwd_parser : spirit::qi::unary_parser<kwd_parser<Subject, KeywordType, LoopIter , NoCase, D…
290 typedef Subject subject_type;
306 Subject, Context, Iterator>::type
312 kwd_parser(Subject const& subject in kwd_parser()
315 : subject(subject), iter(iter), keyword(keyword) {} in kwd_parser()
318 kwd_parser(Subject const& subject in kwd_parser()
321 : subject(subject), iter(iter), keyword(keyword,encoding) {} in kwd_parser()
324 // Call the subject parser on a non container attribute
331 return subject.parse(first,last,context,skipper,attr); in parse_impl()
[all …]
/aosp_15_r20/libcore/ojluni/src/main/java/javax/security/auth/
H A DSubject.java8 * particular file as subject to the "Classpath" exception as provided
45 * <p> A {@code Subject} represents a grouping of related information
47 * Such information includes the Subject's identities as well as
53 * within the {@code Subject}. Principals simply bind names to a
54 * {@code Subject}. For example, a {@code Subject} that happens
57 * to the {@code Subject}, and another which binds,
59 * to the {@code Subject}. Both Principals refer to the same
60 * {@code Subject} even though each has a different name.
62 * <p> A {@code Subject} may also own security-related attributes,
71 * <p> To retrieve all the Principals associated with a {@code Subject},
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/27/libcore/ojluni/src/main/java/javax/security/auth/
DSubject.java8 * particular file as subject to the "Classpath" exception as provided
45 * <p> A {@code Subject} represents a grouping of related information
47 * Such information includes the Subject's identities as well as
53 * within the {@code Subject}. Principals simply bind names to a
54 * {@code Subject}. For example, a {@code Subject} that happens
57 * to the {@code Subject}, and another which binds,
59 * to the {@code Subject}. Both Principals refer to the same
60 * {@code Subject} even though each has a different name.
62 * <p> A {@code Subject} may also own security-related attributes,
71 * <p> To retrieve all the Principals associated with a {@code Subject},
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/javax/security/auth/
DSubject.java8 * particular file as subject to the "Classpath" exception as provided
45 * <p> A {@code Subject} represents a grouping of related information
47 * Such information includes the Subject's identities as well as
53 * within the {@code Subject}. Principals simply bind names to a
54 * {@code Subject}. For example, a {@code Subject} that happens
57 * to the {@code Subject}, and another which binds,
59 * to the {@code Subject}. Both Principals refer to the same
60 * {@code Subject} even though each has a different name.
62 * <p> A {@code Subject} may also own security-related attributes,
71 * <p> To retrieve all the Principals associated with a {@code Subject},
[all …]
/aosp_15_r20/external/bazelbuild-rules_testing/tests/
H A Dtruth_tests.bzl60 subject = fake_env.expect.that_target(
64 subject.contains_flag_values([
74 subject.contains_flag_values([
95 subject.contains_none_of_flag_values([
105 subject.contains_none_of_flag_values([
150 subject = truth.expect(fake_env).that_bool(True)
151 subject.not_equals(True)
158 subject.not_equals(None)
165 subject.not_equals(False)
172 subject.is_in([True, False])
[all …]
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
H A DSubjectTest.java21 import javax.security.auth.Subject;
37 * Tests for <code>Subject</code> class constructors and methods.
43 * javax.security.auth.Subject#Subject()
47 Subject s = new Subject(); in test_Constructor_01()
59 new Subject(false /* readOnly */, in test_Constructor_failsWithNullArguments()
68 new Subject(false , new HashSet<Principal>(), null, new HashSet<Object>()); in test_Constructor_failsWithNullArguments()
74 new Subject(false , new HashSet<Principal>(), new HashSet<Object>(), null); in test_Constructor_failsWithNullArguments()
81 * javax.security.auth.Subject#doAs(Subject subject, PrivilegedAction action)
84 Subject subj = new Subject(); in test_doAs_01()
89 Object obj = Subject.doAs(null, pa); in test_doAs_01()
[all …]
/aosp_15_r20/external/googleapis/google/ads/googleads/v15/enums/
H A Dlead_form_field_user_input_type.proto107 // This field is subject to a limit of 5 qualifying questions per form and
113 // This field is subject to a limit of 5 qualifying questions per form and
119 // This field is subject to a limit of 5 qualifying questions per form and
125 // This field is subject to a limit of 5 qualifying questions per form and
131 // This field is subject to a limit of 5 qualifying questions per form and
137 // This field is subject to a limit of 5 qualifying questions per form and
143 // This field is subject to a limit of 5 qualifying questions per form and
149 // This field is subject to a limit of 5 qualifying questions per form and
155 // This field is subject to a limit of 5 qualifying questions per form and
161 // This field is subject to a limit of 5 qualifying questions per form and
[all …]
/aosp_15_r20/external/googleapis/google/ads/googleads/v14/enums/
H A Dlead_form_field_user_input_type.proto107 // This field is subject to a limit of 5 qualifying questions per form and
113 // This field is subject to a limit of 5 qualifying questions per form and
119 // This field is subject to a limit of 5 qualifying questions per form and
125 // This field is subject to a limit of 5 qualifying questions per form and
131 // This field is subject to a limit of 5 qualifying questions per form and
137 // This field is subject to a limit of 5 qualifying questions per form and
143 // This field is subject to a limit of 5 qualifying questions per form and
149 // This field is subject to a limit of 5 qualifying questions per form and
155 // This field is subject to a limit of 5 qualifying questions per form and
161 // This field is subject to a limit of 5 qualifying questions per form and
[all …]
/aosp_15_r20/external/googleapis/google/ads/googleads/v16/enums/
H A Dlead_form_field_user_input_type.proto107 // This field is subject to a limit of 5 qualifying questions per form and
113 // This field is subject to a limit of 5 qualifying questions per form and
119 // This field is subject to a limit of 5 qualifying questions per form and
125 // This field is subject to a limit of 5 qualifying questions per form and
131 // This field is subject to a limit of 5 qualifying questions per form and
137 // This field is subject to a limit of 5 qualifying questions per form and
143 // This field is subject to a limit of 5 qualifying questions per form and
149 // This field is subject to a limit of 5 qualifying questions per form and
155 // This field is subject to a limit of 5 qualifying questions per form and
161 // This field is subject to a limit of 5 qualifying questions per form and
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
H A DPinInputViewModelTest.kt12 import com.google.common.truth.Subject in <lambda>()
13 import com.google.common.truth.Subject.Factory in <lambda>()
68 val subject = pinInput("C1") in <lambda>() constant
69 assertThat(subject.append(2)).matches("C12") in <lambda>()
74 val subject = pinInput("C12C34C") in <lambda>() constant
75 assertThat(subject.append(5)).matches("C34C5") in <lambda>()
80 val subject = pinInput("C12") in <lambda>() constant
81 assertThat(subject.deleteLast()).matches("C1") in <lambda>()
86 val subject = empty() in <lambda>() constant
87 assertThat(subject.deleteLast()).isSameInstanceAs(subject) in <lambda>()
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/karma/directive/
Drepeat.hpp137 template <typename Subject, typename LoopIter, typename Strict
147 // Failing subject generators are just skipped. This allows to in generate_subject()
151 bool r = !f(subject); in generate_subject()
163 return !f(subject); in generate_subject()
172 return !f(subject); in generate_subject()
176 typedef Subject subject_type;
180 // Build a std::vector from the subject's attribute. Note
182 // subject's attribute is an unused_type.
186 typename traits::attribute_of<Subject, Context, Iterator>::type
190 base_repeat_generator(Subject const& subject, LoopIter const& iter) in base_repeat_generator()
[all …]
/aosp_15_r20/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/report/
H A DScubaExportStrategyTest.kt62 val subject = ExportToScubaStrategy(GoldenPathManager(context, pathConfig = PathConfig())) in getPathOnDeviceFor_emptyPathConfig_filenameIncludesPathElement() constant
64 assertThat(subject.getPathOnDeviceFor(IMAGE_ACTUAL).name) in getPathOnDeviceFor_emptyPathConfig_filenameIncludesPathElement()
66 assertThat(subject.getPathOnDeviceFor(IMAGE_EXPECTED).name) in getPathOnDeviceFor_emptyPathConfig_filenameIncludesPathElement()
68 assertThat(subject.getPathOnDeviceFor(IMAGE_DIFF).name) in getPathOnDeviceFor_emptyPathConfig_filenameIncludesPathElement()
70 assertThat(subject.getPathOnDeviceFor(RESULT_PROTO).name) in getPathOnDeviceFor_emptyPathConfig_filenameIncludesPathElement()
72 assertThat(subject.getPathOnDeviceFor(RESULT_BIN_PROTO).name) in getPathOnDeviceFor_emptyPathConfig_filenameIncludesPathElement()
79 val subject = ExportToScubaStrategy(GoldenPathManager(context, pathConfig = pathConfig)) in getPathOnDeviceFor_directoryElement_filenameIncludesPathElement() constant
81 assertThat(subject.getPathOnDeviceFor(IMAGE_ACTUAL).name) in getPathOnDeviceFor_directoryElement_filenameIncludesPathElement()
83 assertThat(subject.getPathOnDeviceFor(IMAGE_EXPECTED).name) in getPathOnDeviceFor_directoryElement_filenameIncludesPathElement()
85 assertThat(subject.getPathOnDeviceFor(IMAGE_DIFF).name) in getPathOnDeviceFor_directoryElement_filenameIncludesPathElement()
[all …]
/aosp_15_r20/external/dagger2/javatests/dagger/android/processor/
H A DAndroidMapKeyValidatorTest.java82 subject -> { in rawFactoryType()
83 subject.compilationDidFail(); in rawFactoryType()
84 subject.hasErrorContaining( in rawFactoryType()
111 compile(module, FOO_ACTIVITY).compile(subject -> subject.hasErrorCount(0)); in wildCardFactoryType()
124 subject -> { in rawBuilderType()
125 subject.compilationDidFail(); in rawBuilderType()
126 subject.hasErrorContaining( in rawBuilderType()
143 subject -> { in bindsToBuilderNotFactory()
144 subject.compilationDidFail(); in bindsToBuilderNotFactory()
145 subject.hasErrorContaining( in bindsToBuilderNotFactory()
[all …]
/aosp_15_r20/external/dagger2/javatests/dagger/hilt/android/processor/internal/viewmodel/
H A DViewModelProcessorTest.kt52 .compile { subject -> subject.hasErrorCount(0) } in <lambda>() method
78 .compile { subject -> in <lambda>() method
79 subject.compilationDidFail() in <lambda>()
80 subject.hasErrorCount(1) in <lambda>()
81 subject.hasErrorContainingMatch( in <lambda>()
114 .compile { subject -> in <lambda>() method
115 subject.compilationDidFail() in <lambda>()
116 subject.hasErrorCount(1) in <lambda>()
117 subject.hasErrorContaining( in <lambda>()
157 .compile { subject -> in <lambda>() method
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/karma/operator/
Dkleene.hpp44 template <typename Subject, typename Strict, typename Derived>
48 // Ignore return value in relaxed mode (failing subject generators
54 bool r = !f(subject); in generate_subject()
63 return !f(subject); in generate_subject()
72 return !f(subject); in generate_subject()
78 // return !f(subject);
82 typedef Subject subject_type;
85 // Build a std::vector from the subject's attribute. Note
87 // subject's attribute is an unused_type.
91 typename traits::attribute_of<Subject, Context, Iterator>::type
[all …]

12345678910>>...1100