Searched refs:unittest (Results 1 - 25 of 691) sorted by relevance

1234567891011>>

/external/chromium_org/tools/telemetry/telemetry/core/timeline/
H A Devent_unittest.py5 import unittest namespace
7 class TimelineEventTest(unittest.TestCase):
H A Dmodel_unittest.py5 import unittest namespace
7 class TimelineModelUnittest(unittest.TestCase):
/external/antlr/antlr-3.4/runtime/Python/unittests/
H A Dtestantlr3.py2 import unittest namespace
7 unittest.main(testRunner=unittest.TextTestRunner(verbosity=2))
H A Dtestexceptions.py1 import unittest namespace
6 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
[all...]
H A Dtestrecognizers.py2 import unittest namespace
7 class TestBaseRecognizer(unittest.TestCase):
20 class TestTokenSource(unittest.TestCase):
54 class TestLexer(unittest.TestCase):
67 unittest.main(testRunner=unittest.TextTestRunner(verbosity=2))
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt060leftrecursion.py1 import unittest namespace
468 unittest.main()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dtest_util_lite.h43 namespace unittest = protobuf_unittest;
49 static void SetAllFields(unittest::TestAllTypesLite* message);
50 static void SetAllExtensions(unittest::TestAllExtensionsLite* message);
51 static void SetPackedFields(unittest::TestPackedTypesLite* message);
52 static void SetPackedExtensions(unittest::TestPackedExtensionsLite* message);
58 static void ModifyRepeatedFields(unittest::TestAllTypesLite* message);
60 unittest::TestAllExtensionsLite* message);
61 static void ModifyPackedFields(unittest::TestPackedTypesLite* message);
63 unittest::TestPackedExtensionsLite* message);
67 static void ExpectAllFieldsSet(const unittest
[all...]
H A Dtest_util_lite.cc48 void TestUtilLite::SetAllFields(unittest::TestAllTypesLite* message) {
72 message->set_optional_nested_enum (unittest::TestAllTypesLite::BAZ );
73 message->set_optional_foreign_enum(unittest::FOREIGN_LITE_BAZ );
101 message->add_repeated_nested_enum (unittest::TestAllTypesLite::BAR );
102 message->add_repeated_foreign_enum(unittest::FOREIGN_LITE_BAR );
129 message->add_repeated_nested_enum (unittest::TestAllTypesLite::BAZ );
130 message->add_repeated_foreign_enum(unittest::FOREIGN_LITE_BAZ );
152 message->set_default_nested_enum (unittest::TestAllTypesLite::FOO );
153 message->set_default_foreign_enum(unittest::FOREIGN_LITE_FOO );
160 void TestUtilLite::ModifyRepeatedFields(unittest
[all...]
H A Dtest_util.h41 #include <google/protobuf/unittest.pb.h>
46 namespace unittest = ::protobuf_unittest;
52 static void SetAllFields(unittest::TestAllTypes* message);
53 static void SetOptionalFields(unittest::TestAllTypes* message);
54 static void AddRepeatedFields1(unittest::TestAllTypes* message);
55 static void AddRepeatedFields2(unittest::TestAllTypes* message);
56 static void SetDefaultFields(unittest::TestAllTypes* message);
57 static void SetAllExtensions(unittest::TestAllExtensions* message);
58 static void SetAllFieldsAndExtensions(unittest::TestFieldOrderings* message);
59 static void SetPackedFields(unittest
[all...]
H A Dtest_util.cc52 void TestUtil::SetAllFields(unittest::TestAllTypes* message) {
59 void TestUtil::SetOptionalFields(unittest::TestAllTypes* message) {
83 message->set_optional_nested_enum (unittest::TestAllTypes::BAZ);
84 message->set_optional_foreign_enum(unittest::FOREIGN_BAZ );
103 void TestUtil::AddRepeatedFields1(unittest::TestAllTypes* message) {
126 message->add_repeated_nested_enum (unittest::TestAllTypes::BAR);
127 message->add_repeated_foreign_enum(unittest::FOREIGN_BAR );
142 void TestUtil::AddRepeatedFields2(unittest::TestAllTypes* message) {
166 message->add_repeated_nested_enum (unittest::TestAllTypes::BAZ);
167 message->add_repeated_foreign_enum(unittest
[all...]
/external/protobuf/src/google/protobuf/
H A Dtest_util_lite.h43 namespace unittest = protobuf_unittest;
49 static void SetAllFields(unittest::TestAllTypesLite* message);
50 static void SetAllExtensions(unittest::TestAllExtensionsLite* message);
51 static void SetPackedFields(unittest::TestPackedTypesLite* message);
52 static void SetPackedExtensions(unittest::TestPackedExtensionsLite* message);
58 static void ModifyRepeatedFields(unittest::TestAllTypesLite* message);
60 unittest::TestAllExtensionsLite* message);
61 static void ModifyPackedFields(unittest::TestPackedTypesLite* message);
63 unittest::TestPackedExtensionsLite* message);
67 static void ExpectAllFieldsSet(const unittest
[all...]
H A Dtest_util.h41 #include <google/protobuf/unittest.pb.h>
46 namespace unittest = protobuf_unittest;
52 static void SetAllFields(unittest::TestAllTypes* message);
53 static void SetAllExtensions(unittest::TestAllExtensions* message);
54 static void SetAllFieldsAndExtensions(unittest::TestFieldOrderings* message);
55 static void SetPackedFields(unittest::TestPackedTypes* message);
56 static void SetPackedExtensions(unittest::TestPackedExtensions* message);
57 static void SetUnpackedFields(unittest::TestUnpackedTypes* message);
63 static void ModifyRepeatedFields(unittest::TestAllTypes* message);
64 static void ModifyRepeatedExtensions(unittest
[all...]
H A Dtest_util_lite.cc48 void TestUtilLite::SetAllFields(unittest::TestAllTypesLite* message) {
70 message->set_optional_nested_enum (unittest::TestAllTypesLite::BAZ );
71 message->set_optional_foreign_enum(unittest::FOREIGN_LITE_BAZ );
98 message->add_repeated_nested_enum (unittest::TestAllTypesLite::BAR );
99 message->add_repeated_foreign_enum(unittest::FOREIGN_LITE_BAR );
125 message->add_repeated_nested_enum (unittest::TestAllTypesLite::BAZ );
126 message->add_repeated_foreign_enum(unittest::FOREIGN_LITE_BAZ );
148 message->set_default_nested_enum (unittest::TestAllTypesLite::FOO );
149 message->set_default_foreign_enum(unittest::FOREIGN_LITE_FOO );
156 void TestUtilLite::ModifyRepeatedFields(unittest
[all...]
H A Dtest_util.cc52 void TestUtil::SetAllFields(unittest::TestAllTypes* message) {
74 message->set_optional_nested_enum (unittest::TestAllTypes::BAZ);
75 message->set_optional_foreign_enum(unittest::FOREIGN_BAZ );
114 message->add_repeated_nested_enum (unittest::TestAllTypes::BAR);
115 message->add_repeated_foreign_enum(unittest::FOREIGN_BAR );
151 message->add_repeated_nested_enum (unittest::TestAllTypes::BAZ);
152 message->add_repeated_foreign_enum(unittest::FOREIGN_BAZ );
184 message->set_default_nested_enum (unittest::TestAllTypes::FOO);
185 message->set_default_foreign_enum(unittest::FOREIGN_FOO );
202 void TestUtil::ModifyRepeatedFields(unittest
[all...]
H A Dextension_set_unittest.cc36 #include <google/protobuf/unittest.pb.h>
56 // This test closely mirrors google/protobuf/compiler/cpp/unittest.cc
61 unittest::TestAllExtensions message;
68 EXPECT_EQ(&unittest::OptionalGroup_extension::default_instance(),
69 &message.GetExtension(unittest::optionalgroup_extension));
70 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(),
71 &message.GetExtension(unittest::optional_nested_message_extension));
72 EXPECT_EQ(&unittest::ForeignMessage::default_instance(),
74 unittest::optional_foreign_message_extension));
76 &message.GetExtension(unittest
[all...]
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dmessage_cpp_test.py40 import unittest namespace
45 unittest.main()
/external/chromium_org/tools/telemetry/telemetry/core/chrome/
H A Dwebsocket_unittest.py4 import unittest namespace
8 class TestWebSocket(unittest.TestCase):
/external/chromium_org/tools/idl_parser/
H A Drun_tests.py8 import unittest namespace
11 suite = unittest.TestSuite()
15 suite.addTests(unittest.defaultTestLoader.loadTestsFromModule(module))
16 result = unittest.TextTestRunner(verbosity=2).run(suite)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
H A Dnewstringio_unittest.py31 import webkitpy.thirdparty.unittest2 as unittest namespace
36 class NewStringIOTest(unittest.TestCase):
/external/llvm/utils/lit/tests/
H A Dunittest-adaptor.py1 # Check the lit adaption to run under unittest.
3 # RUN: python %s %{inputs}/unittest-adaptor 2> %t.err
6 # CHECK: unittest-adaptor :: test-one.txt ... ok
7 # CHECK: unittest-adaptor :: test-two.txt ... FAIL
9 import unittest namespace
17 runner = unittest.TextTestRunner(verbosity=2)
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A Dtest_stream_hixie75.py36 import unittest namespace
44 class StreamHixie75Test(unittest.TestCase):
45 """A unittest for StreamHixie75 class."""
56 unittest.main()
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dhandler_test.py6 import unittest namespace
13 class HandlerTest(unittest.TestCase):
23 unittest.main()
/external/chromium_org/tools/gyp/pylib/gyp/generator/
H A Dxcode_test.py10 import unittest namespace
14 class TestEscapeXcodeDefine(unittest.TestCase):
23 unittest.main()
/external/chromium_org/tools/json_schema_compiler/
H A Djson_schema_test.py8 import unittest namespace
10 class JsonSchemaUnittest(unittest.TestCase):
83 unittest.main()
/external/gtest/test/
H A Dgtest_nc_test.py38 import unittest namespace
41 class GTestNCTest(unittest.TestCase):
101 unittest.main()

Completed in 3415 milliseconds

1234567891011>>