/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/unittest/test/testmock/ |
H A D | testwith.py | 9 something = sentinel.Something variable 19 with patch('%s.something' % __name__, sentinel.Something2): 20 self.assertEqual(something, sentinel.Something2, "unpatched") 21 self.assertEqual(something, sentinel.Something) 26 with patch('%s.something' % __name__, sentinel.Something2): 27 self.assertEqual(something, sentinel.Something2, "unpatched") 29 self.assertEqual(something, sentinel.Something) 33 with patch('%s.something' % __name__) as mock_something: 34 self.assertEqual(something, mock_something, "unpatched") 37 self.assertEqual(something, sentinel.Something) [all …]
|
H A D | testpatch.py | 42 something = sentinel.Something variable 98 class Something(object): class 101 @patch.object(Something, 'attribute', sentinel.Patched) 103 self.assertEqual(Something.attribute, sentinel.Patched, "unpatched") 106 self.assertEqual(Something.attribute, sentinel.Original, 110 msg = "'Something' must be the actual object to be patched, not a str" 112 patch.object('Something', 'do_something') 115 class Something(object): class 118 @patch.object(Something, 'attribute', None) 120 self.assertIsNone(Something.attribute, "unpatched") [all …]
|
H A D | testmock.py | 31 class Something(object): class 47 def something(a): pass function 240 spec = ["something"] 242 mock(sentinel.Something, something=sentinel.SomethingElse) 243 something = mock.something 244 mock.something() 272 self.assertEqual(mock._mock_children, {'something': something}, 274 self.assertEqual(mock.something, something, 276 self.assertFalse(mock.something.called, "child not reset") 423 mock = Mock(spec=Something().meth) [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testwith.py | 9 something = sentinel.Something variable 19 with patch('%s.something' % __name__, sentinel.Something2): 20 self.assertEqual(something, sentinel.Something2, "unpatched") 21 self.assertEqual(something, sentinel.Something) 26 with patch('%s.something' % __name__, sentinel.Something2): 27 self.assertEqual(something, sentinel.Something2, "unpatched") 29 self.assertEqual(something, sentinel.Something) 33 with patch('%s.something' % __name__) as mock_something: 34 self.assertEqual(something, mock_something, "unpatched") 37 self.assertEqual(something, sentinel.Something) [all …]
|
D | testpatch.py | 42 something = sentinel.Something variable 98 class Something(object): class 101 @patch.object(Something, 'attribute', sentinel.Patched) 103 self.assertEqual(Something.attribute, sentinel.Patched, "unpatched") 106 self.assertEqual(Something.attribute, sentinel.Original, 110 msg = "'Something' must be the actual object to be patched, not a str" 112 patch.object('Something', 'do_something') 115 class Something(object): class 118 @patch.object(Something, 'attribute', None) 120 self.assertIsNone(Something.attribute, "unpatched") [all …]
|
D | testmock.py | 31 class Something(object): class 47 def something(a): pass function 240 spec = ["something"] 242 mock(sentinel.Something, something=sentinel.SomethingElse) 243 something = mock.something 244 mock.something() 272 self.assertEqual(mock._mock_children, {'something': something}, 274 self.assertEqual(mock.something, something, 276 self.assertFalse(mock.something.called, "child not reset") 423 mock = Mock(spec=Something().meth) [all …]
|
/aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/ |
H A D | hlsl.basic.geom.out | 12 0:16 'OutputStream' ( out structure{ temp float myfloat, temp int something}) 16 0:19 'Vert' ( temp structure{ temp float myfloat, temp int something}) 35 0:20 something: direct index for structure ( temp int) 36 0:20 'Vert' ( temp structure{ temp float myfloat, temp int something}) 49 0:22 'Vert' ( temp structure{ temp float myfloat, temp int something}) 53 0:? 'OutputStream.something' (layout( location=1) out int) 54 0:22 something: direct index for structure ( temp int) 55 0:22 'Vert' ( temp structure{ temp float myfloat, temp int something}) 64 0:23 'Vert' ( temp structure{ temp float myfloat, temp int something}) 68 0:? 'OutputStream.something' (layout( location=1) out int) [all …]
|
/aosp_15_r20/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.basic.geom.out | 12 0:16 'OutputStream' ( out structure{ temp float myfloat, temp int something}) 16 0:19 'Vert' ( temp structure{ temp float myfloat, temp int something}) 35 0:20 something: direct index for structure ( temp int) 36 0:20 'Vert' ( temp structure{ temp float myfloat, temp int something}) 49 0:22 'Vert' ( temp structure{ temp float myfloat, temp int something}) 53 0:? 'OutputStream.something' (layout( location=1) out int) 54 0:22 something: direct index for structure ( temp int) 55 0:22 'Vert' ( temp structure{ temp float myfloat, temp int something}) 64 0:23 'Vert' ( temp structure{ temp float myfloat, temp int something}) 68 0:? 'OutputStream.something' (layout( location=1) out int) [all …]
|
/aosp_15_r20/external/dagger2/javatests/dagger/internal/codegen/bindinggraphvalidation/ |
H A D | PackageNameCompressorTest.java | 32 String input = "Something is wrong with foo.bar.baz.Foo class!"; in testSimple() 33 String expectedOutput = "Something is wrong with Foo class!" in testSimple() 42 String input = "Something is wrong with foo.bar.baz.Foo and foo.bar.qux.Foo class!"; in testSameSimpleNames() 43 String expectedOutput = "Something is wrong with baz.Foo and qux.Foo class!" in testSameSimpleNames() 53 String input = "Something is wrong with foo.bar.baz.Foo.provideFoo()!"; in testMethodNames() 54 String expectedOutput = "Something is wrong with Foo.provideFoo()!" in testMethodNames() 63 String input = "Something is wrong with z.a.b.c.Foo, z.b.b.c.Foo, z.a.b.d.Foo class!"; in testMultipleLevelsOfConflicts() 64 String expectedOutput = "Something is wrong with a.b.c.Foo, b.b.c.Foo, d.Foo class!" in testMultipleLevelsOfConflicts() 77 String input = "Something is wrong with foo.bar.baz.Foo.Bar.Baz class!"; in testInnerClassesKeepOuterClassNameToo() 78 String expectedOutput = "Something is wrong with Foo.Bar.Baz class!" in testInnerClassesKeepOuterClassNameToo() [all …]
|
/aosp_15_r20/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
H A D | DeviceAdminInfoTest.java | 105 @EnsureHasDeviceOwner // We need something with a DeviceAdminReceiver 114 @EnsureHasDeviceOwner // We need something with a DeviceAdminReceiver 125 @EnsureHasDeviceOwner // We need something with a DeviceAdminReceiver 137 @EnsureHasDeviceOwner // We need something with a DeviceAdminReceiver 149 @EnsureHasDeviceOwner // We need something with a DeviceAdminReceiver 161 @EnsureHasDeviceOwner // We need something with a DeviceAdminReceiver 173 @EnsureHasDeviceOwner // We need something with a DeviceAdminReceiver 185 @EnsureHasDeviceOwner // We need something with a DeviceAdminReceiver 197 @EnsureHasDeviceOwner // We need something with a DeviceAdminReceiver 209 @EnsureHasDeviceOwner // We need something with a DeviceAdminReceiver [all …]
|
/aosp_15_r20/development/samples/SearchableDictionary/res/raw/ |
H A D | definitions.txt | 16 accommodate - v. provide with something desired or needed 25 acquire - v. come into the possession of something concrete or abstract 26 acquisition - n. something acquired or received 30 advent - n. arrival that has been awaited (especially of something momentous) 33 …n. active support of an idea or cause etc.; especially the act of pleading or arguing for something 102 benefit - n. something that aids or promotes well-being 177 conscience - n. a feeling of shame when you do something immoral 203 conviction - n. an unshakable belief in something without need for proof or evidence 209 counsel - n. something that provides direction or advice as to a decision or course of action 215 critique - n. a serious examination and judgment of something [all …]
|
/aosp_15_r20/external/pcre/testdata/ |
H A D | testinput9 | 21 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 26 \\ [^\x80-\xff] # Escaped something (something != CR) 35 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 40 \\ [^\x80-\xff] # Escaped something (something != CR) 49 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 62 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 72 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 77 \\ [^\x80-\xff] # Escaped something (something != CR) 89 \\ [^\x80-\xff] # Escaped something (something != CR) 100 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… [all …]
|
H A D | testinput11 | 18 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 23 \\ [^\x80-\xff] # Escaped something (something != CR) 32 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 37 \\ [^\x80-\xff] # Escaped something (something != CR) 46 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 59 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 69 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 74 \\ [^\x80-\xff] # Escaped something (something != CR) 86 \\ [^\x80-\xff] # Escaped something (something != CR) 97 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… [all …]
|
H A D | testoutput9 | 29 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 34 \\ [^\x80-\xff] # Escaped something (something != CR) 43 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 48 \\ [^\x80-\xff] # Escaped something (something != CR) 57 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 70 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 80 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… 85 \\ [^\x80-\xff] # Escaped something (something != CR) 97 \\ [^\x80-\xff] # Escaped something (something != CR) 108 (?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of a… [all …]
|
/aosp_15_r20/build/bazel/scripts/incremental_build/ |
H A D | pretty_test.py | 32 SUCCESS,B1,do it,something,10,200, 33 SUCCESS,B1,rebuild-1,something,4,,1:04 34 SUCCESS,B1,rebuild-2,something,6,55,1:07 35 TEST_FAILURE,B2,do it,something,601,, 37 TEST_FAILURE,B2,undo it,something,240,, 51 do it,something,10,601 53 rebuild,something,6[N=2], 54 undo it,something,,240 68 do it,something,200, 70 rebuild,something,55, [all …]
|
/aosp_15_r20/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/ |
H A D | DataPointTypesTest.kt | 46 assertThat(DataPointTypes.boolean.fromJson(Something("bar"))) in boolean_fromJson_unknown() 72 assertThat(DataPointTypes.float.fromJson(Something("bar"))) in float_fromJson_unknown() 98 assertThat(DataPointTypes.int.fromJson(Something("bar"))) in int_fromJson_unknown() 109 assertThat(DataPointTypes.string.fromJson(Something("bar"))) in string_fromJson_converts_toString() 110 .isEqualTo("Something(string=bar)".asDataPoint()) in string_fromJson_converts_toString() 126 assertThat(DataPointTypes.listOf(something)) in listOf_fromToJson_ofObject() 128 listOf(Something("foo"), Something("bar")), in listOf_fromToJson_ofObject() 147 assertThat(DataPointTypes.listOf(something).typeName).isEqualTo("something[]") in listOf_typeName_containsArrayIndicator() 150 private data class Something(val string: String) class in platform.test.motion.golden.DataPointTypesTest 152 private val something: DataPointType<Something> = constant in platform.test.motion.golden.DataPointTypesTest [all …]
|
/aosp_15_r20/external/ms-tpm-20-ref/TPMCmd/Platform/src/ |
H A D | PlatformACT.c | 57 // If there is an action, then replace the "Do something" with the correct action. in ActSignal() 62 case 0: // Do something in ActSignal() 66 case 1: // Do something in ActSignal() 70 case 2: // Do something in ActSignal() 74 case 3: // Do something in ActSignal() 78 case 4: // Do something in ActSignal() 82 case 5: // Do something in ActSignal() 86 case 6: // Do something in ActSignal() 90 case 7: // Do something in ActSignal() 94 case 8: // Do something in ActSignal() [all …]
|
/aosp_15_r20/external/clang/unittests/Format/ |
H A D | FormatTestJava.cpp | 172 verifyFormat("enum SomeThing { ABC, CDE }"); in TEST_F() 173 verifyFormat("enum SomeThing {\n" in TEST_F() 178 " enum SomeThing { ABC, CDE }\n" in TEST_F() 182 " enum SomeThing { ABC, CDE }\n" in TEST_F() 185 verifyFormat("enum SomeThing {\n" in TEST_F() 190 verifyFormat("enum SomeThing {\n" in TEST_F() 193 " Something(int i, String s) {}\n" in TEST_F() 195 verifyFormat("enum SomeThing {\n" in TEST_F() 198 " Something(int[] i) {}\n" in TEST_F() 200 verifyFormat("public enum SomeThing {\n" in TEST_F() [all …]
|
/aosp_15_r20/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/xml/ |
H A D | HasXPathTest.java | 30 + " <something id='a'><cheese>Edam</cheese></something>\n" 31 + " <something id='b'><cheese>Cheddar</cheese></something>\n" 70 assertMatches(hasXPath("/root/something[2]/cheese", equalTo("Cheddar")), xml); in appliesMatcherToXPathInDocument() 71 assertMatches(hasXPath("//something[1]/cheese", containsString("dam")), xml); in appliesMatcherToXPathInDocument() 72 assertMatches(hasXPath("//something[2]/cheese", not(containsString("dam"))), xml); in appliesMatcherToXPathInDocument() 74 assertMatches(hasXPath("//something[@id='b']/cheese", equalTo("Cheddar")), xml); in appliesMatcherToXPathInDocument() 75 assertMatches(hasXPath("//something[@id='b']/cheese"), xml); in appliesMatcherToXPathInDocument() 90 assertDoesNotMatch(hasXPath("/root/something[3]/cheese", ns, equalTo("Cheddar")), xml); in failsIfNodeIsMissing() 91 assertDoesNotMatch(hasXPath("//something[@id='c']/cheese", ns), xml); in failsIfNodeIsMissing() 110 hasXPath("\\g:dfgd::DSgf/root/something[2]/cheese", equalTo("blah")); in throwsIllegalArgumentExceptionIfGivenIllegalExpression() [all …]
|
/aosp_15_r20/external/skia/experimental/tskit/go/gen_types/testdata/ |
H A D | bindings1.cpp | 29 * The Something class is quite something. See SkSomething.h for more. in EMSCRIPTEN_BINDINGS() 31 class_<Something>("Something") in EMSCRIPTEN_BINDINGS() 33 * Returns a Something with the provided name. in EMSCRIPTEN_BINDINGS() 36 TS_EXPORT("new(name: string): Something") in EMSCRIPTEN_BINDINGS() 42 .function("getName", &Something::getName) in EMSCRIPTEN_BINDINGS() 44 .function("_setName", &Something::setName); in EMSCRIPTEN_BINDINGS() 53 * Returns a Something with the provided name. in EMSCRIPTEN_BINDINGS() 57 TS_EXPORT("new(name: string, thing: Something): AnotherClass") in EMSCRIPTEN_BINDINGS() 58 .constructor<std::string,Something>() in EMSCRIPTEN_BINDINGS() 62 TS_EXPORT("get(): Something") in EMSCRIPTEN_BINDINGS()
|
/aosp_15_r20/external/tink/python/tink/streaming_aead/ |
H A D | _file_object_adapter_test.py | 30 self.assertEqual(9, adapter.write(b'something')) 31 self.assertEqual(b'something', file_object.getvalue()) 38 self.assertEqual(9, adapter.write(b'something')) 49 adapter.write(b'something') 56 self.assertEqual(0, adapter.write(b'something')) 63 self.assertEqual(5, adapter.write(b'something')) 70 self.assertEqual(8, adapter.write(b'something')) 73 file_object = io.BytesIO(b'something') 76 self.assertEqual(adapter.read(9), b'something') 79 file_object = io.BytesIO(b'something') [all …]
|
/aosp_15_r20/external/libxml2/result/c14n/exc-without-comments/ |
H A D | merlin-c14n-two-22 | 1 <bar:Something> 2 <foo:Something> 3 <bar:Something> 4 <foo:Something> 5 <baz:Something></baz:Something> 6 </foo:Something> 7 </bar:Something> 8 </foo:Something> 9 </bar:Something>
|
H A D | merlin-c14n-two-13 | 1 <bar:Something> 2 <foo:Something> 3 <bar:Something> 4 <foo:Something> 5 <baz:Something></baz:Something> 6 </foo:Something> 7 </bar:Something> 8 </foo:Something> 9 </bar:Something>
|
H A D | merlin-c14n-two-17 | 1 <bar:Something> 2 <foo:Something> 3 <bar:Something> 4 <foo:Something> 5 <baz:Something></baz:Something> 6 </foo:Something> 7 </bar:Something> 8 </foo:Something> 9 </bar:Something>
|
H A D | merlin-c14n-two-14 | 1 <bar:Something> 2 <foo:Something> 3 <bar:Something> 4 <foo:Something> 5 <baz:Something></baz:Something> 6 </foo:Something> 7 </bar:Something> 8 </foo:Something> 9 </bar:Something>
|