HomeSort by relevance Sort by last modified time
    Searched defs:Test (Results 301 - 325 of 413) sorted by null

<<11121314151617

  /external/python/cpython3/Lib/test/test_email/
test_message.py 5 from test.test_email import TestEmailBase, parameterize
13 class Test(TestEmailBase):
672 getattr(m, add_method)('test', content_manager=cm)
685 self.assertEqual(part.get_payload(), 'test')
696 raise Exception('test')
704 self.assertEqual(str(ar.exception), 'test')
789 # Doing the full test run here may seem a bit redundant, since the two
  /external/python/cpython3/Lib/test/
test_subclassinit.py 5 class Test(unittest.TestCase):
test_support.py 15 from test import support
16 from test.support import script_helper
113 """Test that temp_dir() creates and destroys its directory."""
128 """Test passing no path."""
134 """Test passing a directory that already exists."""
150 """Test passing a directory that already exists with quiet=True."""
170 @unittest.skipUnless(hasattr(os, "fork"), "test requires os.fork")
172 """Test that a forked child process does not remove the directory."""
174 # Run the test as an external script, because it uses fork.
177 from test import suppor
    [all...]
  /external/python/cpython3/Lib/unittest/test/
test_runner.py 10 from unittest.test.support import (LoggingResult,
21 test = TestableTest('testNothing')
22 self.assertEqual(test._cleanups, [])
32 test.addCleanup(cleanup1, 1, 2, 3, four='hello', five='goodbye')
33 test.addCleanup(cleanup2)
35 self.assertEqual(test._cleanups,
39 self.assertTrue(test.doCleanups())
47 test = TestableTest('testNothing')
48 outcome = test._outcome = _Outcome()
58 test.addCleanup(cleanup1
    [all...]
test_setups.py 33 class Test(unittest.TestCase):
37 Test.setUpCalled += 1
44 result = self.runTests(Test)
46 self.assertEqual(Test.setUpCalled, 1)
51 class Test(unittest.TestCase):
55 Test.tearDownCalled += 1
62 result = self.runTests(Test)
64 self.assertEqual(Test.tearDownCalled, 1)
69 class Test(unittest.TestCase):
73 Test.tearDownCalled +=
    [all...]
test_suite.py 6 from unittest.test.support import LoggingResult, TestEquality
12 class Test(object):
20 return unittest.TestSuite(Test.Foo(n) for n in names)
60 # "If tests is given, it must be an iterable of individual test cases
61 # or other test suites that will be used to build the suite initially"
75 # "If tests is given, it must be an iterable of individual test cases
76 # or other test suites that will be used to build the suite initially"
103 # "If tests is given, it must be an iterable of individual test cases
104 # or other test suites that will be used to build the suite initially"
131 # "Return the number of tests represented by the this test object
149 def test(self): member in class:Test_TestSuite.test_countTestCases_zero_nested.Test1
238 def test(self): pass member in class:Test_TestSuite.test_addTest__TestCase.Foo
254 def test(self): pass member in class:Test_TestSuite.test_addTest__TestSuite.Foo
    [all...]
test_result.py 5 from test import support
56 # "Called when the test case test is about to be run. The default
63 test = Foo('test_1')
67 result.startTest(test)
75 result.stopTest(test)
77 # "Called after the test case test has been executed, regardless of
84 test = Foo('test_1')
88 result.startTest(test)
437 def test(result): function in function:Test_TestResult.testFailFastSetByRunner
481 test = Test(test_name) variable in class:Test_OldTestResult.testOldTestResult.Test
    [all...]
  /external/skia/tests/
Test.h 72 struct Test {
73 Test(const char* n, bool g, TestProc p, ContextOptionsProc optionsProc = nullptr)
87 TRACE_EVENT1("test", TRACE_FUNC, "name", this->name/*these are static*/);
92 typedef sk_tools::Registry<Test> TestRegistry;
97 #include "Test.h"
169 skiatest::TestRegistry name##TestRegistry(skiatest::Test(#name, false, test_##name)); \
174 skiatest::TestRegistry name##TestRegistry(skiatest::Test(#name, true, test_##name)); \
184 skiatest::Test(#name, true, test_gpu_contexts_##name, options_filter)); \
214 INFOF(REPORTER, "PDF disabled; %s test skipped.", #TEST_NAME); \
  /external/skqp/tests/
Test.h 84 struct Test {
85 Test(const char* n, bool g, TestProc p, ContextOptionsProc optionsProc = nullptr)
99 TRACE_EVENT1("test", TRACE_FUNC, "name", this->name/*these are static*/);
104 typedef sk_tools::Registry<Test> TestRegistry;
109 #include "Test.h"
181 skiatest::TestRegistry name##TestRegistry(skiatest::Test(#name, false, test_##name)); \
186 skiatest::TestRegistry name##TestRegistry(skiatest::Test(#name, true, test_##name)); \
196 skiatest::Test(#name, true, test_gpu_contexts_##name, options_filter)); \
226 INFOF(REPORTER, "PDF disabled; %s test skipped.", #TEST_NAME); \
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
STLExtrasTest.cpp 25 TEST(STLExtrasTest, Rank) {
43 TEST(STLExtrasTest, EnumerateLValue) {
44 // Test that a simple LValue can be enumerated and gives correct results with
58 // Test a const range of a different type.
70 // Test an empty range.
79 TEST(STLExtrasTest, EnumerateModifyLValue) {
80 // Test that you can modify the underlying entries of an lvalue range through
92 TEST(STLExtrasTest, EnumerateRValueRef) {
93 // Test that an rvalue can be enumerated.
109 TEST(STLExtrasTest, EnumerateModifyRValue)
    [all...]
  /external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DataMov.cpp 13 namespace Test {
31 AssembledTest test = assemble(); local
32 test.run();
33 EXPECT_EQ(ExpectedEax, test.eax());
34 EXPECT_EQ(ExpectedEbx, test.ebx());
35 EXPECT_EQ(ExpectedEcx, test.ecx());
36 EXPECT_EQ(ExpectedEdx, test.edx());
37 EXPECT_EQ(ExpectedEdi, test.edi());
38 EXPECT_EQ(ExpectedEsi, test.esi());
56 AssembledTest test = assemble() local
97 AssembledTest test = assemble(); local
124 AssembledTest test = assemble(); local
166 AssembledTest test = assemble(); local
    [all...]
GPRArith.cpp 13 namespace Test {
39 AssembledTest test = assemble(); local
40 test.setDwordTo(T0, V0);
42 test.run();
44 ASSERT_EQ(0xC0FFEEul, test.contentsOfDword(T0));
60 AssembledTest test = assemble(); \
61 test.setDwordTo(T0, V0); \
63 test.run(); \
65 EXPECT_EQ(IsTrue, test.Dest()) \
68 EXPECT_EQ((0xF00F00 | IsTrue), test.contentsOfDword(T0))
    [all...]
XmmArith.cpp 13 namespace Test {
38 AssembledTest test = assemble(); \
40 test.setQwordTo(T0, static_cast<double>(V0)); \
41 test.setQwordTo(T1, static_cast<double>(V1)); \
43 test.setDwordTo(T0, static_cast<float>(V0)); \
44 test.setDwordTo(T1, static_cast<float>(V1)); \
47 test.run(); \
49 ASSERT_DOUBLE_EQ(V0 Op V1, test.Dst<Type>()) << TestString; \
72 AssembledTest test = assemble(); \
74 test.setQwordTo(T0, static_cast<double>(V0));
    [all...]
  /external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DataMov.cpp 13 namespace Test {
29 AssembledTest test = assemble(); \
30 test.run(); \
32 ASSERT_EQ(Value, test.Reg##Suffix()) << TestString; \
33 ASSERT_EQ((Marker & ~Mask##Size) | Value, test.Reg##d()) << TestString; \
79 AssembledTest test = assemble(); local
80 test.run();
81 EXPECT_EQ(0ul, test.eax());
82 EXPECT_EQ(0ul, test.ebx());
83 EXPECT_EQ(0ul, test.ecx())
    [all...]
GPRArith.cpp 13 namespace Test {
24 AssembledTest test = assemble(); local
25 test.setQwordTo(T0, V0);
27 test.run();
29 ASSERT_EQ(0xC0FFEEul, test.contentsOfQword(T0));
47 AssembledTest test = assemble(); \
48 test.setDwordTo(T0, V0); \
50 test.run(); \
52 ASSERT_EQ(IsTrue, test.Dest()) << TestString; \
53 ASSERT_EQ((0xF00F00 | IsTrue), test.contentsOfDword(T0)) << TestString;
    [all...]
  /external/vixl/test/
test-runner.h 34 // Each actual test is represented by a Test instance.
36 class Test {
40 Test(const char* name, TestFunction* callback);
44 static Test* first() { return first_; }
45 static Test* last() { return last_; }
46 Test* next() { return next_; }
78 static Test* first_;
79 static Test* last_;
80 Test* next_
    [all...]
  /art/test/476-checker-ctor-fence-redun-elim/src/
Main.java 75 interface Test {
80 class TestOneFinal implements Test {
81 // Initialize at least once before actual test.
152 class TestThreeFinal implements Test {
153 // Initialize at least once before actual test.
189 class TestMultiAlloc implements Test {
229 class TestThreeFinalTwice implements Test {
230 // Initialize at least once before actual test.
285 static boolean test; field in class:TestNonEscaping
292 static class Invoke implements Test {
382 static boolean test; field in class:TestDontOptimizeAcrossBlocks
428 static boolean test; field in class:TestDontOptimizeAcrossEscape
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_scope.py 2 from test.test_support import check_syntax_error, check_py3k_warnings, \
132 def test(): function in function:ScopeTests.testFreeVarInMethod
134 class Test:
137 def test(self): member in class:ScopeTests.testFreeVarInMethod.test.Test
143 return Test()
145 t = test()
146 self.assertEqual(t.test(), "var")
151 class Test:
155 def test(self): member in class:ScopeTests.testFreeVarInMethod.Test
162 t = Test()
    [all...]
  /external/clang/test/CodeGenCXX/
debug-info-use-after-free.cpp 278 Test {
287 n1::Test {
  /external/clang/test/PCH/
cxx-key-functions.cpp 79 struct Test {
94 void Test::g() {}
95 void h(Test &t) { t.g(); }
  /external/clang/test/SemaCXX/
explicit.cpp 241 struct Test {
242 explicit explicit Test(int x); // expected-warning{{duplicate 'explicit' declaration specifier}}
  /external/cldr/tools/java/org/unicode/cldr/tool/
Option.java 410 private enum Test {
419 .add("enum", Test.class, null, "enum check")
  /external/libchrome/base/
optional_unittest.cc 21 // Object used to test complex object with Optional<T> in addition of the move
186 TEST(OptionalTest, DefaultConstructor) {
203 TEST(OptionalTest, CopyConstructor) {
241 TEST(OptionalTest, ValueConstructor) {
268 TEST(OptionalTest, MoveConstructor) {
336 TEST(OptionalTest, MoveValueConstructor) {
371 TEST(OptionalTest, ConvertingCopyConstructor) {
386 TEST(OptionalTest, ConvertingMoveConstructor) {
430 TEST(OptionalTest, ConstructorForwardArguments) {
456 TEST(OptionalTest, ConstructorForwardInitListAndArguments)
    [all...]
  /external/perfetto/src/base/
optional_unittest.cc 38 // Object used to test complex object with Optional<T> in addition of the move
203 TEST(OptionalTest, DefaultConstructor) {
220 TEST(OptionalTest, CopyConstructor) {
258 TEST(OptionalTest, ValueConstructor) {
285 TEST(OptionalTest, MoveConstructor) {
353 TEST(OptionalTest, MoveValueConstructor) {
388 TEST(OptionalTest, ConvertingCopyConstructor) {
403 TEST(OptionalTest, ConvertingMoveConstructor) {
447 TEST(OptionalTest, ConstructorForwardArguments) {
473 TEST(OptionalTest, ConstructorForwardInitListAndArguments)
    [all...]
  /external/python/cpython2/Lib/test/
test_scope.py 2 from test.test_support import check_syntax_error, check_py3k_warnings, \
132 def test(): function in function:ScopeTests.testFreeVarInMethod
134 class Test:
137 def test(self): member in class:ScopeTests.testFreeVarInMethod.test.Test
143 return Test()
145 t = test()
146 self.assertEqual(t.test(), "var")
151 class Test:
155 def test(self): member in class:ScopeTests.testFreeVarInMethod.Test
162 t = Test()
    [all...]

Completed in 1250 milliseconds

<<11121314151617