/external/flatbuffers/tests/MyGame/Example/ |
Monster.py | 91 def Test(self): 106 from .Test import Test 107 obj = Test() 368 from .Test import Test 369 obj = Test() 628 def MonsterAddTest(builder, test): builder.PrependUOffsetTRelativeSlot(8, flatbuffers.number_types.UOffsetTFlags.py_type(test), 0)
|
/external/libtextclassifier/utils/hash/ |
farmhash.cc | [all...] |
/external/python/cpython3/Lib/test/ |
test_contextlib.py | 10 from test import support 435 def test(): function in function:TestContextDecorator.test_decorator 438 test() 446 def test(): function in function:TestContextDecorator.test_decorator_with_exception 452 test() 460 class Test(object): 469 test = Test() 470 test.method(1, 2) 471 self.assertEqual(test.a, 1 528 def test(): function in function:TestContextDecorator.test_contextdecorator_as_mixin 544 def test(x): function in function:TestContextDecorator.test_contextmanager_as_decorator [all...] |
/external/python/cpython3/Lib/unittest/test/ |
test_case.py | 13 from test import support 17 from unittest.test.support import ( 21 from test.support import captured_stderr 29 class Test(object): 40 """A test case which logs its calls.""" 43 super(Test.LoggingTestCase, self).__init__('test') 49 def test(self): member in class:Test.LoggingTestCase 50 self.events.append('test') 62 eq_pairs = [(Test.Foo('test1'), Test.Foo('test1')) 85 def test(self): pass member in class:Test_TestCase.test_init__no_test_name.Test 106 def test(self): pass member in class:Test_TestCase.test_init__test_name__valid.Test 117 def test(self): pass member in class:Test_TestCase.test_init__test_name__invalid.Test 130 def test(self): pass member in class:Test_TestCase.test_countTestCases.Foo 195 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test.Foo 213 def test(self): member in class:Test_TestCase.test_run_call_order__error_in_test_default_result.Foo 234 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test.Foo 249 def test(self): member in class:Test_TestCase.test_run_call_order__failure_in_test_default_result.Foo 303 def test(self): member in class:Test_TestCase.test_run_call_order_default_result.Foo 310 def test(self): member in class:Test_TestCase._check_call_order__subtests.Foo 352 def test(self): member in class:Test_TestCase._check_call_order__subtests_success.Foo 387 def test(self): member in class:Test_TestCase.test_run_call_order__subtests_failfast.Foo 449 def test(self): member in class:Test_TestCase.test_failureException__default.Foo 465 def test(self): member in class:Test_TestCase.test_failureException__subclassing__explicit_raise.Foo 488 def test(self): member in class:Test_TestCase.test_failureException__subclassing__implicit_raise.Foo 541 def test(self): member in class:Test_TestCase.test_run__uses_defaultTestResult.Foo 560 def test(self): member in class:Test_TestCase.test_run__returns_given_result.Foo 576 def test(self): member in class:Test_TestCase.test_call__invoking_an_instance_delegates_to_run.Foo [all...] |
test_loader.py | 9 # test isolation and reproducibility. 39 # "Return a suite of all test cases contained in the TestCase-derived 52 # "Return a suite of all test cases contained in the TestCase-derived 65 # "Return a suite of all test cases contained in the TestCase-derived 73 # test for it. 86 # "Return a suite of all test cases contained in the TestCase-derived 89 # Make sure loadTestsFromTestCase() picks up the default test method 98 # This has to be false for the test to succeed 115 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__TestCase_subclass.MyTestCase 123 expected = [loader.suiteClass([MyTestCase('test')])] 164 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__not_a_module.MyTestCase 183 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__load_tests.MyTestCase 210 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__use_load_tests_deprecated_positional.MyTestCase 239 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__use_load_tests_deprecated_keyword.MyTestCase 267 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__too_many_positional_args.MyTestCase 296 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__use_load_tests_other_bad_keyword.MyTestCase 322 def test(self): member in class:Test_TestLoader.test_loadTestsFromModule__pattern.MyTestCase 524 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_not_a_module.MyTestCase 560 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestCase_subclass.MyTestCase 576 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_TestSuite.MyTestCase 591 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod.MyTestCase 612 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_invalid_testmethod.MyTestCase 684 def test(self): member in class:Test_TestLoader.test_loadTestsFromName__relative_testmethod_ProperSuiteClass.MyTestCase 948 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_not_a_module.MyTestCase 984 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestCase_subclass.MyTestCase 1000 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_TestSuite.MyTestCase 1015 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_testmethod.MyTestCase 1032 test = lambda: 1 variable in class:Test_TestLoader.test_loadTestsFromName__function_with_different_name_than_method.MyTestCase 1050 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__relative_invalid_testmethod.MyTestCase 1103 def test(self): member in class:Test_TestLoader.test_loadTestsFromNames__callable__call_staticmethod.Test1 [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
conv_ops_test.py | 48 from tensorflow.python.platform import test 126 # Shrink sizes to make the test faster 154 all the valid test configs as tuples of data_format and use_gpu. 157 if test.is_gpu_available(cuda_only=True): 163 class Conv2DTest(test.TestCase): 329 if gpu_only and not test.is_gpu_available(cuda_only=True): 678 # Test with Grappler's layout optimizer, to ensure the layout optimizer 714 if use_gpu and not test.is_gpu_available(cuda_only=True): 827 # The GPU version of this test is not very stable. So adjusting the [all...] |
/external/testng/src/main/java/org/testng/internal/annotations/ |
JDK15TagFactory.java | 36 import org.testng.annotations.Test; 274 result.setGroups(join(c.groups(), findInheritedStringArray(cls, Test.class, "groups"))); 385 Test test = (Test) a; local 387 result.setEnabled(test.enabled()); 388 result.setGroups(join(test.groups(), findInheritedStringArray(cls, Test.class, "groups"))); 389 result.setParameters(test.parameters()); 390 result.setDependsOnGroups(join(test.dependsOnGroups() [all...] |
/external/google-breakpad/src/testing/gtest/src/ |
gtest.cc | 32 // The Google C++ Testing Framework (Google Test) 127 // Indicates that this translation unit is part of Google Test's 149 // A test whose test case name or test name matches this filter is 153 // A test case whose name matches this filter is considered a death 154 // test case and will be run before test cases whose name doesn't 158 // A test filter that matches everything. 164 // The environment variable name for the test shard index 2330 Test* const test = internal::HandleExceptionsInMethodIfSupported( local [all...] |
/external/llvm/utils/unittest/googletest/src/ |
gtest.cc | 32 // The Google C++ Testing Framework (Google Test) 126 // Indicates that this translation unit is part of Google Test's 148 // A test whose test case name or test name matches this filter is 152 // A test case whose name matches this filter is considered a death 153 // test case and will be run before test cases whose name doesn't 157 // A test filter that matches everything. 163 // The environment variable name for the test shard index 2300 Test* const test = internal::HandleExceptionsInMethodIfSupported( local [all...] |
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
gtest.cc | 32 // The Google C++ Testing Framework (Google Test) 126 // Indicates that this translation unit is part of Google Test's 148 // A test whose test case name or test name matches this filter is 152 // A test case whose name matches this filter is considered a death 153 // test case and will be run before test cases whose name doesn't 157 // A test filter that matches everything. 163 // The environment variable name for the test shard index 2300 Test* const test = internal::HandleExceptionsInMethodIfSupported( local [all...] |
/external/autotest/frontend/afe/ |
models.py | 110 label is requested by the job/test (either as the meta_host or 432 We received: "1 chromeos-test" 435 "1 chromeos-test". 438 We received: "1 chromeos-test" 439 And we have: "2 chromeos-test" 440 In this case we need to delete "2 chromeos-test" and insert 441 "1 chromeos-test". 1084 test = dbmodels.ForeignKey(Test) variable in class:TestParameter [all...] |
/external/clang/test/SemaCXX/ |
typo-correction.cpp | 49 // Test the improvement from passing a callback object to CorrectTypo in 74 // Test the improvement from passing a callback object to CorrectTypo in 84 // Test the improvement from passing a callback object to CorrectTypo in 91 // Test the typo-correction callback in Sema::DiagnoseUnknownTypeName. 113 // Test the typo-correction callback in Sema::DiagnoseInvalidRedeclaration. 122 // Test the improved typo correction for the Parser::ParseCastExpr => 134 // Test the typo-correction callback in BuildRecoveryCallExpr. 138 void Test() { 186 void test() { function in class:ClashTool 216 void test() { function in namespace:PR13051 282 void test() { function in namespace:b6956809_test2 298 void test() { function in namespace:bogus_keyword_suggestion 358 void test(Foo F, int num) { function in namespace:TemplateFunction 391 void test() { function in namespace:class_member_typo_corrections 430 void test() { function in namespace:no_ns_before_dot 475 void test() { function in namespace:fix_class_name_qualifier 554 void test(Manager *m) { function in namespace:PR18852 571 void test() { function 585 void TypoB::test() { function in class:PR19681::TypoB 592 long test(bool a) { function in namespace:testWantFunctionLikeCasts 601 namespace test { namespace in namespace:testCXXDeclarationSpecifierParsing 614 int test(Foo f) { function in namespace:testNonStaticMemberHandling [all...] |
/external/deqp/external/openglcts/modules/gl/ |
gl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp | 2 * OpenGL Conformance Test Suite 64 /******************************** Framebuffer Creation Test Implementation ********************************/ 66 /** @brief Creation Test constructor. 71 : deqp::TestCase(context, "framebuffers_creation", "Framebuffer Objects Creation Test") 76 /** @brief Iterate Creation Test cases. 191 /******************************** Framebuffer Renderbuffer Attachment Test Implementation ********************************/ 193 /** @brief Framebuffer Renderbuffer Attachment Test constructor. 198 : deqp::TestCase(context, "framebuffers_renderbuffer_attachment", "Framebuffer Renderbuffer Attachment Test") 205 /** @brief Iterate Framebuffer Renderbuffer Attachment Test cases. 238 is_ok &= Test(GL_COLOR_ATTACHMENT0 + i, GL_RGBA8) [all...] |
/external/flatbuffers/tests/ |
JavaTest.java | 32 // First, let's test reading a FlatBuffer generated by C++ code: 44 System.out.println("FlatBuffers test: couldn't read file"); 48 // Now test it: 53 // Second, let's create a FlatBuffer from scratch in Java, and test it also. 78 System.out.println("FlatBuffers test: completed successfully"); 105 Test t = pos.test3(); 111 TestEq(monster.test(monster2) != null, true); 127 Test test_0 = monster.test4(0); 128 Test test_1 = monster.test4(1); 189 // Now test the data extracted from the nested buffe [all...] |
/external/google-breakpad/src/testing/gtest/include/gtest/ |
gtest.h | 32 // The Google C++ Testing Framework (Google Test) 34 // This header file defines the public API for Google Test. It should be 35 // included by any test program that uses Google Test. 47 // Acknowledgment: Google Test borrowed the idea of automatic test 60 #include "gtest/gtest-death-test.h" 62 #include "gtest/gtest-param-test.h" 65 #include "gtest/gtest-test-part.h" 66 #include "gtest/gtest-typed-test.h [all...] |
/external/googletest/googletest/include/gtest/ |
gtest.h | 31 // The Google C++ Testing and Mocking Framework (Google Test) 33 // This header file defines the public API for Google Test. It should be 34 // included by any test program that uses Google Test. 46 // Acknowledgment: Google Test borrowed the idea of automatic test 64 #include "gtest/gtest-death-test.h" 67 #include "gtest/gtest-param-test.h" 70 #include "gtest/gtest-test-part.h" 71 #include "gtest/gtest-typed-test.h [all...] |
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/ |
gtest.h | 32 // The Google C++ Testing Framework (Google Test) 34 // This header file defines the public API for Google Test. It should be 35 // included by any test program that uses Google Test. 47 // Acknowledgment: Google Test borrowed the idea of automatic test 60 #include "gtest/gtest-death-test.h" 62 #include "gtest/gtest-param-test.h" 65 #include "gtest/gtest-test-part.h" 66 #include "gtest/gtest-typed-test.h [all...] |
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
gtest.h | 31 // The Google C++ Testing and Mocking Framework (Google Test) 33 // This header file defines the public API for Google Test. It should be 34 // included by any test program that uses Google Test. 46 // Acknowledgment: Google Test borrowed the idea of automatic test 61 #include "gtest/gtest-death-test.h" 63 #include "gtest/gtest-param-test.h" 66 #include "gtest/gtest-test-part.h" 67 #include "gtest/gtest-typed-test.h [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/ |
gtest.h | 32 // The Google C++ Testing Framework (Google Test) 34 // This header file defines the public API for Google Test. It should be 35 // included by any test program that uses Google Test. 47 // Acknowledgment: Google Test borrowed the idea of automatic test 59 #include "gtest/gtest-death-test.h" 61 #include "gtest/gtest-param-test.h" 64 #include "gtest/gtest-test-part.h" 65 #include "gtest/gtest-typed-test.h [all...] |
/external/mesa3d/src/gtest/include/gtest/ |
gtest.h | 32 // The Google C++ Testing Framework (Google Test) 34 // This header file defines the public API for Google Test. It should be 35 // included by any test program that uses Google Test. 47 // Acknowledgment: Google Test borrowed the idea of automatic test 60 #include "gtest/gtest-death-test.h" 62 #include "gtest/gtest-param-test.h" 65 #include "gtest/gtest-test-part.h" 66 #include "gtest/gtest-typed-test.h [all...] |
/external/protobuf/python/google/protobuf/internal/ |
reflection_test.py | 251 # Test a scalar. 266 # Helper used to test foreign messages and groups. 340 # Test simple, single-level nesting when we set a scalar. 396 # This test exercises the code path that does not use ReleaseMessage(). 409 # This test exercises releasing a nested message that is lazy. This test 422 # Test nesting when we add an element to a repeated field in a submessage. 429 # Do the same test, but with a repeated composite field within the 437 # Test nesting many levels deep. 692 # TODO(robinson): Test all other scalar field types [all...] |
/external/python/cpython2/Modules/_ctypes/ |
_ctypes_test.c | 47 } Test; 50 _testfunc_cbk_large_struct(Test in, void (*func)(Test)) 61 _testfunc_large_struct_update_value(Test in)
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
testpatch.py | 9 from unittest.test.testmock import support 10 from unittest.test.testmock.support import SomeClass, is_instance 12 from test.test_importlib.util import uncache 40 # for use in the test 100 def test(): function in function:PatchTest.test_single_patchobject 103 test() 113 def test(): function in function:PatchTest.test_patchobject_with_none 116 test() 128 def test(): function in function:PatchTest.test_multiple_patchobject 134 test() 145 def test(): function in function:PatchTest.test_object_lookup_is_quite_lazy 158 def test(): function in function:PatchTest.test_patch 168 def test(): function in function:PatchTest.test_patch 190 def test(): function in function:PatchTest.test_patch 202 def test(): function in function:PatchTest.test_patch_class_attribute 217 def test(mock): function in function:PatchTest.test_patchobject_with_default_mock 227 def test(this1, this2, mock1, mock2): function in function:PatchTest.test_patchobject_with_default_mock 255 def test(MockSomeClass): function in function:PatchTest.test_patch_with_spec 265 def test(MockAttribute): function in function:PatchTest.test_patchobject_with_spec 277 def test(MockSomeClass): function in function:PatchTest.test_patch_with_spec_as_list 287 def test(MockAttribute): function in function:PatchTest.test_patchobject_with_spec_as_list 301 def test(MockSomeClass, MockOpen): function in function:PatchTest.test_nested_patch_with_spec_as_list 310 def test(MockSomeClass): function in function:PatchTest.test_patch_with_spec_as_boolean 322 def test(MockSomeClass): function in function:PatchTest.test_patch_object_with_spec_as_boolean 334 def test(MockSomeClass): function in function:PatchTest.test_patch_class_acts_with_spec_is_inherited 348 def test(): function in function:PatchTest.test_patch_with_create_mocks_non_existent_attributes 357 def test(): function in function:PatchTest.test_patchobject_with_create_mocks_non_existent_attributes 367 def test(): function in function:PatchTest.test_patch_wont_create_by_default 382 def test(): function in function:PatchTest.test_patchobject_wont_create_by_default 504 def test(): function in function:PatchTest.test_patchobject_twice 518 def test(): function in function:PatchTest.test_patch_dict 528 def test(): function in function:PatchTest.test_patch_dict 537 def test(): function in function:PatchTest.test_patch_dict 554 def test(): function in function:PatchTest.test_patch_dict_with_container_object 564 def test(): function in function:PatchTest.test_patch_dict_with_container_object 578 def test(): function in function:PatchTest.test_patch_dict_with_clear 588 def test(): function in function:PatchTest.test_patch_dict_with_clear 596 def test(): function in function:PatchTest.test_patch_dict_with_clear 612 def test(): function in function:PatchTest.test_patch_dict_with_container_object_and_clear 622 def test(): function in function:PatchTest.test_patch_dict_with_container_object_and_clear 647 def test(): function in function:PatchTest.test_patch_with_exception 661 def test(): function in function:PatchTest.test_patch_dict_with_string 673 def test(): function in function:PatchTest.test_patch_dict_decorator_resolution 729 def test(MockClass): function in function:PatchTest.test_patch_spec_set 735 def test(MockClass): function in function:PatchTest.test_patch_spec_set 740 def test(MockClass): function in function:PatchTest.test_patch_spec_set 746 def test(MockClass): function in function:PatchTest.test_patch_spec_set 754 def test(MockClass): function in function:PatchTest.test_spec_set_inherit 849 def test(): member in class:PatchTest.test_get_only_proxy.SomethingElse 867 def test(): member in class:PatchTest.test_get_set_delete_proxy.SomethingElse 989 def test(mock): function in function:PatchTest.test_autospec_function 1010 def test(mock_function): function in function:PatchTest.test_autospec_keywords 1066 def test(): function in function:PatchTest.test_tracebacks 1254 def test(): function in function:PatchTest.test_patch_multiple 1273 def test(f, foo): function in function:PatchTest.test_patch_multiple_create_mocks 1299 def test(g): function in function:PatchTest.test_patch_multiple_create_mocks_different_order 1577 def test(): function in function:PatchTest.test_patch_multiple_string_subclasses 1713 def test(mock): function in function:PatchTest.test_patch_propogrates_exc_on_exit [all...] |
/external/python/cpython3/Modules/_ctypes/ |
_ctypes_test.c | 39 } Test; 42 _testfunc_cbk_large_struct(Test in, void (*func)(Test)) 53 _testfunc_large_struct_update_value(Test in) 55 ((volatile Test *)&in)->first = 0x0badf00d; 56 ((volatile Test *)&in)->second = 0x0badf00d; 57 ((volatile Test *)&in)->third = 0x0badf00d;
|
/external/python/mock/mock/tests/ |
testpatch.py | 44 # for use in the test 104 def test(): function in function:PatchTest.test_single_patchobject 107 test() 117 def test(): function in function:PatchTest.test_patchobject_with_none 120 test() 132 def test(): function in function:PatchTest.test_multiple_patchobject 138 test() 149 def test(): function in function:PatchTest.test_object_lookup_is_quite_lazy 154 test() 162 def test() function in function:PatchTest.test_patch 172 def test(): function in function:PatchTest.test_patch 194 def test(): function in function:PatchTest.test_patch 206 def test(): function in function:PatchTest.test_patch_class_attribute 221 def test(mock): function in function:PatchTest.test_patchobject_with_default_mock 231 def test(this1, this2, mock1, mock2): function in function:PatchTest.test_patchobject_with_default_mock 259 def test(MockSomeClass): function in function:PatchTest.test_patch_with_spec 269 def test(MockAttribute): function in function:PatchTest.test_patchobject_with_spec 281 def test(MockSomeClass): function in function:PatchTest.test_patch_with_spec_as_list 291 def test(MockAttribute): function in function:PatchTest.test_patchobject_with_spec_as_list 305 def test(MockSomeClass, MockOpen): function in function:PatchTest.test_nested_patch_with_spec_as_list 314 def test(MockSomeClass): function in function:PatchTest.test_patch_with_spec_as_boolean 326 def test(MockSomeClass): function in function:PatchTest.test_patch_object_with_spec_as_boolean 338 def test(MockSomeClass): function in function:PatchTest.test_patch_class_acts_with_spec_is_inherited 352 def test(): function in function:PatchTest.test_patch_with_create_mocks_non_existent_attributes 361 def test(): function in function:PatchTest.test_patchobject_with_create_mocks_non_existent_attributes 371 def test(): function in function:PatchTest.test_patch_wont_create_by_default 386 def test(): function in function:PatchTest.test_patchobject_wont_create_by_default 508 def test(): function in function:PatchTest.test_patchobject_twice 522 def test(): function in function:PatchTest.test_patch_dict 532 def test(): function in function:PatchTest.test_patch_dict 541 def test(): function in function:PatchTest.test_patch_dict 558 def test(): function in function:PatchTest.test_patch_dict_with_container_object 568 def test(): function in function:PatchTest.test_patch_dict_with_container_object 582 def test(): function in function:PatchTest.test_patch_dict_with_clear 592 def test(): function in function:PatchTest.test_patch_dict_with_clear 600 def test(): function in function:PatchTest.test_patch_dict_with_clear 616 def test(): function in function:PatchTest.test_patch_dict_with_container_object_and_clear 626 def test(): function in function:PatchTest.test_patch_dict_with_container_object_and_clear 651 def test(): function in function:PatchTest.test_patch_with_exception 665 def test(): function in function:PatchTest.test_patch_dict_with_string 716 def test(MockClass): function in function:PatchTest.test_patch_spec_set 722 def test(MockClass): function in function:PatchTest.test_patch_spec_set 727 def test(MockClass): function in function:PatchTest.test_patch_spec_set 733 def test(MockClass): function in function:PatchTest.test_patch_spec_set 741 def test(MockClass): function in function:PatchTest.test_spec_set_inherit 836 def test(): member in class:PatchTest.test_get_only_proxy.SomethingElse 854 def test(): member in class:PatchTest.test_get_set_delete_proxy.SomethingElse 976 def test(mock): function in function:PatchTest.test_autospec_function 991 def test(mock_function): function in function:PatchTest.test_autospec_keywords 1047 def test(): function in function:PatchTest.test_tracebacks 1235 def test(): function in function:PatchTest.test_patch_multiple 1254 def test(f, foo): function in function:PatchTest.test_patch_multiple_create_mocks 1280 def test(g): function in function:PatchTest.test_patch_multiple_create_mocks_different_order 1559 def test(): function in function:PatchTest.test_patch_multiple_string_subclasses 1699 def test(mock): function in function:PatchTest.test_patch_propogrates_exc_on_exit [all...] |