Home
last modified time | relevance | path

Searched refs:TestCase (Results 1 – 25 of 2056) sorted by relevance

12345678910>>...83

/external/chromium_org/chromeos/process_proxy/
Dprocess_output_watcher_unittest.cc23 struct TestCase { struct
24 TestCase(const std::string& input, bool send_terminating_null) in TestCase() argument
31 TestCase(const std::string& input, in TestCase() function
47 void SetTestCase(const TestCase& test_case) { in SetTestCase()
123 void RunTest(const std::vector<TestCase>& test_cases) { in RunTest()
177 std::vector<TestCase> exp;
182 std::vector<TestCase> test_cases; in TEST_F()
183 test_cases.push_back(TestCase("t", false)); in TEST_F()
184 test_cases.push_back(TestCase("testing output\n", false)); in TEST_F()
185 test_cases.push_back(TestCase("testing error\n", false)); in TEST_F()
[all …]
/external/chromium_org/v8/test/mjsunit/
Ddebug-step-4-in-frame.js56 function TestCase(frame_index, step_count, expected_final_state) { class
112 TestCase(undefined, 0, "0,0,-1");
113 TestCase(undefined, 1, "0,0,-1");
114 TestCase(undefined, 2, "0,0,0");
115 TestCase(undefined, 5, "0,0,1");
116 TestCase(undefined, 8, "0,0,3");
119 TestCase(0, 0, "0,0,-1");
120 TestCase(0, 1, "0,0,-1");
121 TestCase(0, 2, "0,0,0");
122 TestCase(0, 5, "0,0,1");
[all …]
Ddebug-liveedit-restart-frame.js49 function TestCase(test_scenario, expected_output) { class
137 TestCase('0==', "FEDCBA=A=");
138 TestCase('1==', "FEDCBA=BA=");
139 TestCase('2==', "FEDCBA=CBA=");
140 TestCase('3==', "FEDCBA=DCBA=");
141 TestCase('4==', "FEDCBA=EDCBA=");
142 TestCase('5==', "FEDCBA=FEDCBA=");
144 TestCase('=', "FEDCBA=");
146 TestCase('C==', "FEDCBA=CBA=");
148 TestCase('B=C=A=D==', "FEDCBA=BA=CBA=A=DCBA=");
Ddebug-liveedit-double-call.js34 function TestCase(test_scenario, expected_output) { class
134 TestCase(['='], "f1e1d1c1b1a1=");
136 TestCase(['c', '=', '='], "f1e1d1c1b1a1=c2b1a1=");
138 TestCase(['b', 'c', 'd', 'e', '=', '='], "f1e1d1c1b1a1=e2d2c2b2a1=");
140 TestCase(['b', 'c', '=', 'b', 'c', 'd', 'e', '=', '='], "f1e1d1c1b1a1=c2b2a1=e2d2c3b3a1=");
142 TestCase(['e', 'f', '=', '='], "f1e1d1c1b1a1=f2e2d1c1b1a1=");
/external/chromium_org/third_party/libaddressinput/src/cpp/test/util/
Dstring_compare_test.cc25 struct TestCase { struct
26 TestCase(const std::string& left, in TestCase() function
35 ~TestCase() {} in ~TestCase() argument
43 class StringCompareTest : public testing::TestWithParam<TestCase> {
66 testing::Values(TestCase("foo", "foo", true, false),
67 TestCase("foo", "FOO", true, false),
68 TestCase("bar", "foo", false, true),
69 TestCase("강원도", "강원도", true, false),
70 TestCase("강원도", "대구광역시", false, true),
71 TestCase("ZÜRICH", "zürich", true, false),
[all …]
/external/chromium_org/ppapi/tests/
Dtest_case.cc81 TestCase::TestCase(TestingInstance* instance) in TestCase() function in TestCase
92 TestCase::~TestCase() { in ~TestCase()
95 bool TestCase::Init() { in Init()
100 std::string TestCase::MakeFailureMessage(const char* file, in MakeFailureMessage()
116 pp::VarPrivate TestCase::GetTestObject() { in GetTestObject()
131 bool TestCase::CheckTestingInterface() { in CheckTestingInterface()
145 void TestCase::HandleMessage(const pp::Var& message_data) { in HandleMessage()
148 void TestCase::DidChangeView(const pp::View& view) { in DidChangeView()
151 bool TestCase::HandleInputEvent(const pp::InputEvent& event) { in HandleInputEvent()
155 void TestCase::IgnoreLeakedVar(int64_t id) { in IgnoreLeakedVar()
[all …]
/external/deqp/modules/gles3/
Dtes3TestCase.hpp48 class TestCase : public tcu::TestCase class
51 TestCase (Context& context, const char* name, const char* description);
52TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const char* descriptio…
53 virtual ~TestCase (void) {} in ~TestCase()
71 inline TestCase::TestCase (Context& context, const char* name, const char* description) in TestCase() function in deqp::gles3::TestCase
72 : tcu::TestCase (context.getTestContext(), name, description) in TestCase()
77 inline TestCase::TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const ch… in TestCase() function in deqp::gles3::TestCase
78 : tcu::TestCase (context.getTestContext(), nodeType, name, description) in TestCase()
/external/deqp/modules/gles2/
Dtes2TestCase.hpp48 class TestCase : public tcu::TestCase class
51 TestCase (Context& context, const char* name, const char* description);
52TestCase (Context& context, tcu::TestNodeType type, const char* name, const char* description);
53 virtual ~TestCase (void) {} in ~TestCase()
71 inline TestCase::TestCase (Context& context, const char* name, const char* description) in TestCase() function in deqp::gles2::TestCase
72 : tcu::TestCase (context.getTestContext(), name, description) in TestCase()
77 inline TestCase::TestCase (Context& context, tcu::TestNodeType type, const char* name, const char* … in TestCase() function in deqp::gles2::TestCase
78 : tcu::TestCase (context.getTestContext(), type, name, description) in TestCase()
/external/deqp/modules/gles31/
Dtes31TestCase.hpp48 class TestCase : public tcu::TestCase class
51 TestCase (Context& context, const char* name, const char* description);
52TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const char* descriptio…
53 virtual ~TestCase (void) {} in ~TestCase()
71 inline TestCase::TestCase (Context& context, const char* name, const char* description) in TestCase() function in deqp::gles31::TestCase
72 : tcu::TestCase (context.getTestContext(), name, description) in TestCase()
77 inline TestCase::TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const ch… in TestCase() function in deqp::gles31::TestCase
78 : tcu::TestCase (context.getTestContext(), nodeType, name, description) in TestCase()
/external/stlport/test/unit/cppunit/
Dtest_main.cpp26 int TestCase::m_numErrors = 0;
27 int TestCase::m_numTests = 0;
29 TestCase *TestCase::m_root = 0;
30 Reporter *TestCase::m_reporter = 0;
32 void TestCase::registerTestCase(TestCase *in_testCase) { in registerTestCase()
37 int TestCase::run(Reporter *in_reporter, const char *in_testName, bool invert) { in run()
38 TestCase::m_reporter = in_reporter; in run()
43 TestCase *tmp = m_root; in run()
115 num_errors = CPPUNIT_NS::TestCase::run(reporter, xtestName, true); in main()
117 num_errors = CPPUNIT_NS::TestCase::run(reporter, testName); in main()
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtestexceptions.py6 class TestRecognitionException(unittest.TestCase):
15 class TestEarlyExitException(unittest.TestCase):
25 class TestFailedPredicateException(unittest.TestCase):
35 class TestMismatchedNotSetException(unittest.TestCase):
45 class TestMismatchedRangeException(unittest.TestCase):
55 class TestMismatchedSetException(unittest.TestCase):
65 class TestMismatchedTokenException(unittest.TestCase):
75 class TestMismatchedTreeNodeException(unittest.TestCase):
85 class TestNoViableAltException(unittest.TestCase):
/external/deqp/modules/glshared/
DglsAttributeLocationTests.hpp132 class BindAttributeTest : public tcu::TestCase
151 class BindMaxAttributesTest : public tcu::TestCase
169 class BindAliasingAttributeTest : public tcu::TestCase
189 class BindMaxAliasingAttributeTest : public tcu::TestCase
207 class BindInactiveAliasingAttributeTest : public tcu::TestCase
225 class BindHoleAttributeTest : public tcu::TestCase
243 class PreAttachBindAttributeTest : public tcu::TestCase
255 class PreLinkBindAttributeTest : public tcu::TestCase
269 class PostLinkBindAttributeTest : public tcu::TestCase
283 class BindReattachAttributeTest : public tcu::TestCase
[all …]
/external/lldb/test/unittest2/test/
Dtest_setups.py9 class TestSetups(unittest2.TestCase):
31 class Test(unittest2.TestCase):
36 unittest2.TestCase.setUpClass()
49 class Test(unittest2.TestCase):
54 unittest2.TestCase.tearDownClass()
67 class Test(unittest2.TestCase):
72 unittest2.TestCase.tearDownClass()
78 class Test2(unittest2.TestCase):
83 unittest2.TestCase.tearDownClass()
97 class BrokenTest(unittest2.TestCase):
[all …]
Dtest_loader.py7 class Test_TestLoader(unittest2.TestCase):
15 class Foo(unittest2.TestCase):
30 class Foo(unittest2.TestCase):
66 class Foo(unittest2.TestCase):
87 class MyTestCase(unittest2.TestCase):
115 class MyTestCase(unittest2.TestCase):
136 class MyTestCase(unittest2.TestCase):
154 class MyTestCase(unittest2.TestCase):
332 class MyTestCase(unittest2.TestCase):
368 class MyTestCase(unittest2.TestCase):
[all …]
Dtest_skipping.py6 class Test_TestSkipping(unittest2.TestCase):
9 class Foo(unittest2.TestCase):
20 class Foo(unittest2.TestCase):
36 class Foo(unittest2.TestCase):
60 class Foo(unittest2.TestCase):
75 class Foo(unittest2.TestCase):
89 class Foo(unittest2.TestCase):
104 class Foo(unittest2.TestCase):
129 class Foo(unittest2.TestCase):
/external/deqp/modules/gles2/functional/
Des2fPrerequisiteTests.cpp47 class StateResetCase : public TestCase
52 virtual TestCase::IterateResult iterate (void);
56 : TestCase(context, "state_reset", "State Reset Test") in StateResetCase()
64 TestCase::IterateResult StateResetCase::iterate (void) in iterate()
77 return TestCase::STOP; in iterate()
80 class ClearColorCase : public TestCase
85 virtual TestCase::IterateResult iterate (void);
94 : TestCase (context, "clear_color", "glClearColor test") in ClearColorCase()
104 TestCase::IterateResult ClearColorCase::iterate (void) in iterate()
151 class ReadPixelsCase : public TestCase
[all …]
/external/deqp/modules/gles3/functional/
Des3fPrerequisiteTests.cpp47 class StateResetCase : public TestCase
52 virtual TestCase::IterateResult iterate (void);
56 : TestCase(context, "state_reset", "State Reset Test") in StateResetCase()
64 TestCase::IterateResult StateResetCase::iterate (void) in iterate()
77 return TestCase::STOP; in iterate()
80 class ClearColorCase : public TestCase
85 virtual TestCase::IterateResult iterate (void);
94 : TestCase (context, "clear_color", "glClearColor test") in ClearColorCase()
104 TestCase::IterateResult ClearColorCase::iterate (void) in iterate()
151 class ReadPixelsCase : public TestCase
[all …]
/external/deqp/executor/
DxeTestCase.hpp58 class TestCase;
101 TestCase* createCase (TestCaseType caseType, const char* name, const char* description);
120 class TestCase : public TestNode class
123 ~TestCase (void);
127 …static TestCase* createAsChild (TestGroup* parent, TestCaseType caseType, const char* name, con…
130TestCase (TestGroup* parent, TestCaseType caseType, const char* name, const char* description);
143 TestCase* createCase (const char* path, TestCaseType caseType);
163 void addCase (const TestCase* testCase);
167 void removeCase (const TestCase* testCase);
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
DRule.java59 public void addTestCase(TestCase newItem) { in addTestCase()
64 public List<TestCase> getTestCases() { in getTestCases()
65 List<TestCase> result = new ArrayList<TestCase>(); in getTestCases()
67 result.add((TestCase)this.getElementAt(i)); in getTestCases()
/external/deqp/execserver/tools/
DxsTest.cpp183 class TestCase class
186 TestCase (TestContext& testCtx, const char* name) : m_testCtx(testCtx), m_name(name) {} in TestCase() function in xs::TestCase
187 virtual ~TestCase (void) {} in ~TestCase()
205 void runCases (const std::vector<TestCase*>& testCases);
206 bool runCase (TestCase* testCase);
221 void TestExecutor::runCases (const std::vector<TestCase*>& testCases) in runCases()
226 for (std::vector<TestCase*>::const_iterator i = testCases.begin(); i != testCases.end(); i++) in runCases()
265 bool TestExecutor::runCase (TestCase* testCase) in runCase()
335 class ConnectTest : public TestCase
339 : TestCase(testCtx, "connect") in ConnectTest()
[all …]
/external/chromium_org/components/autofill/core/browser/
Dautofill_regexes_unittest.cc17 struct TestCase { in TEST() struct
22 const TestCase kPositiveCases[] = { in TEST()
38 const TestCase& test_case = kPositiveCases[i]; in TEST()
45 const TestCase kNegativeCases[] = { in TEST()
58 const TestCase& test_case = kNegativeCases[i]; in TEST()
/external/deqp/framework/common/
DtcuTestCase.cpp128 TestCase::IterateResult TestCaseGroup::iterate (void) in iterate()
136 TestCase::TestCase (TestContext& testCtx, const char* name, const char* description) in TestCase() function in tcu::TestCase
141 TestCase::TestCase (TestContext& testCtx, TestNodeType nodeType, const char* name, const char* desc… in TestCase() function in tcu::TestCase
147 TestCase::~TestCase (void) in ~TestCase()
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dfile_browser_handler_api_test.cc33 struct TestCase { struct
34 TestCase(const base::FilePath& suggested_name, in TestCase() argument
43 ~TestCase() {} in ~TestCase() argument
129 explicit MockFileSelectorFactory(const TestCase& test_case) in MockFileSelectorFactory()
210 void SetTestCases(const std::vector<TestCase>* test_cases) { in SetTestCases()
219 static const std::vector<TestCase>* test_cases_;
227 const std::vector<TestCase>* FileBrowserHandlerExtensionTest::test_cases_ =
248 std::vector<TestCase> test_cases; in IN_PROC_BROWSER_TEST_F()
250 TestCase(base::FilePath("some_file_name.txt"), in IN_PROC_BROWSER_TEST_F()
255 TestCase(base::FilePath("fail"), in IN_PROC_BROWSER_TEST_F()
[all …]
/external/lldb/tools/lldb-perf/lib/
DTestCase.cpp16 TestCase::TestCase () : in TestCase() function in TestCase
58 TestCase::Setup (int& argc, const char**& argv) in Setup()
106 TestCase::Launch (lldb::SBLaunchInfo &launch_info) in Launch()
121 TestCase::Launch (std::initializer_list<const char*> args) in Launch()
130 TestCase::SetVerbose (bool b) in SetVerbose()
136 TestCase::GetVerbose () in GetVerbose()
142 TestCase::Loop () in Loop()
321 TestCase::Run (TestCase& test, int argc, const char** argv) in Run()
/external/deqp/modules/egl/
DteglClientExtensionTests.cpp125 class BaseTest : public TestCase
133 : TestCase(eglTestCtx, "base", "Basic tests for EGL_EXT_client_extensions") in BaseTest()
137 TestCase::IterateResult BaseTest::iterate (void) in iterate()
175 class CheckExtensionsTest : public TestCase
183 …: TestCase(eglTestCtx, "extensions", "Check that returned extensions are client or display extensi… in CheckExtensionsTest()
187 TestCase::IterateResult CheckExtensionsTest::iterate (void) in iterate()
235 class DisjointTest : public TestCase
243 : TestCase(eglTestCtx, "disjoint", "Check that client and display extensions are disjoint") in DisjointTest()
247 TestCase::IterateResult DisjointTest::iterate (void) in iterate()

12345678910>>...83