Home
last modified time | relevance | path

Searched refs:testing (Results 1 – 25 of 133) sorted by relevance

123456

/art/test/969-iface-super/
Dexpected-stdout.txt4 End testing for type A
9 End testing for type B
13 End testing for type C
18 End testing for type D
23 End testing for type E
30 End testing for type F
40 End testing for type G
47 End testing for type H
/art/test/960-default-smali/
Dexpected-stdout.txt6 End testing for type A
14 End testing for type B
22 End testing for type C
32 End testing for type D
42 End testing for type E
54 End testing for type F
62 End testing for type G
66 End testing for type H
76 End testing for type I
84 End testing for type J
[all …]
/art/libdexfile/dex/
Dtype_lookup_table_test.cc52 testing::Values(DescriptorClassDefIdxPair("LAB;", 1U)));
55 testing::Values(DescriptorClassDefIdxPair("LDA;", dex::kDexNoIndex)));
58 testing::Values(DescriptorClassDefIdxPair("LC;", 2U)));
61 testing::Values(DescriptorClassDefIdxPair("LAB;", 1U)));
/art/libartservice/service/native/
Dservice_test.cc27 using ::android::base::testing::HasError;
28 using ::android::base::testing::Ok;
29 using ::android::base::testing::WithMessage;
33 class ArtServiceTest : public testing::Test {};
113 EXPECT_THAT(GetGarbageCollector(), testing::HasSubstr("CollectorType")); in TEST_F()
/art/oatdump/
Doatdump_test.h44 class OatDumpTest : public CommonRuntimeTest, public testing::WithParamInterface<Flavor> {
134 ::testing::AssertionResult GenerateAppOdexFile(Flavor flavor,
168 return ::testing::AssertionFailure() << strerror(errno);
170 return res.StandardSuccess() ? ::testing::AssertionSuccess()
171 : (::testing::AssertionFailure() << error_msg);
175 ::testing::AssertionResult Exec(Flavor flavor,
183 return ::testing::AssertionFailure() << file_path << " should be a valid file path";
356 return ::testing::AssertionFailure() << strerror(errno);
363 return ::testing::AssertionSuccess();
369 return ::testing::AssertionFailure() << "Did not terminate successfully: " << res.status_code;
[all …]
/art/cmdline/
Dcmdline_parser_test.cc48 using FloatingPoint = ::testing::internal::FloatingPoint<double>; in UsuallyEquals()
96 ::testing::AssertionResult IsExpectedKeyValue(const T& expected, in IsExpectedKeyValue()
102 return ::testing::AssertionFailure() in IsExpectedKeyValue()
106 return ::testing::AssertionSuccess(); in IsExpectedKeyValue()
109 return ::testing::AssertionFailure() << "key was not in the map"; in IsExpectedKeyValue()
113 ::testing::AssertionResult IsExpectedDefaultKeyValue(const T& expected, in IsExpectedDefaultKeyValue()
118 return ::testing::AssertionFailure() in IsExpectedDefaultKeyValue()
122 return ::testing::AssertionSuccess(); in IsExpectedDefaultKeyValue()
125 class CmdlineParserTest : public ::testing::Test {
143 static ::testing::AssertionResult IsResultSuccessful(const CmdlineResult& result) { in IsResultSuccessful()
[all …]
/art/tools/jfuzz/
DREADME.md5 of fuzz testing the ART infrastructure. Each randomly generated program
11 JFuzz can be combined with DexFuzz to get multi-layered fuzz testing.
37 a fixed testing class named Test. So a typical test run looks as follows.
45 How to start JFuzz testing
75 How to start JFuzz nightly testing
87 How to start J/DexFuzz testing (multi-layered)
117 Over the years, fuzz testing has gained popularity as a testing technique for
121 based fuzz testing constructs random, but properly formatted input data.
122 Mutation-based fuzz testing applies small random changes to existing inputs
128 The randomness of fuzz testing implies that the size and scope of testing is no
/art/libnativeloader/
Dlibrary_namespaces_test.cpp27 using ::android::base::testing::HasError;
28 using ::android::base::testing::HasValue;
29 using ::android::base::testing::WithMessage;
30 using ::testing::StartsWith;
Dnative_loader_api_test.cpp30 using ::testing::Return;
31 using ::testing::StrEq;
38 class NativeLoaderLazyTest : public ::testing::Test {
41 jni_mock = std::make_unique<testing::NiceMock<MockJni>>(); in SetUp()
Dnative_loader_test.cpp46 using ::testing::_;
47 using ::testing::Eq;
48 using ::testing::NotNull;
49 using ::testing::Return;
50 using ::testing::StartsWith;
51 using ::testing::StrEq;
134 .WillByDefault(testing::Invoke([](bool, const char* name) -> mock_namespace_handle { in MockPlatform()
272 class NativeLoaderTest : public ::testing::TestWithParam<bool> {
277 mock = std::make_unique<testing::NiceMock<MockPlatform>>(IsBridged()); in SetUp()
278 jni_mock = std::make_unique<testing::NiceMock<MockJni>>(); in SetUp()
[all …]
/art/libarttools/
Dart_exec_test.cc46 using ::testing::Contains;
47 using ::testing::ElementsAre;
48 using ::testing::HasSubstr;
49 using ::testing::Not;
72 class ArtExecTest : public testing::Test {
75 testing::Test::SetUp(); in SetUp()
Dcmdline_builder_test.cc28 using ::testing::ElementsAre;
29 using ::testing::IsEmpty;
31 class CmdlineBuilderTest : public testing::Test {
/art/runtime/
Dexec_utils_test.cc42 using ::testing::_;
43 using ::testing::AllOf;
44 using ::testing::Gt;
45 using ::testing::HasSubstr;
46 using ::testing::InSequence;
47 using ::testing::MockFunction;
48 using ::testing::Ne;
49 using ::testing::Return;
105 class ExecUtilsTest : public CommonRuntimeTest, public testing::WithParamInterface<bool> {
393 INSTANTIATE_TEST_SUITE_P(AlwaysOrNeverFallback, ExecUtilsTest, testing::Values(true, false));
/art/artd/
Dpath_utils_test.cc32 using ::android::base::testing::HasError;
33 using ::android::base::testing::HasValue;
34 using ::android::base::testing::WithMessage;
35 using ::testing::AllOf;
36 using ::testing::Field;
/art/sigchainlib/
Dsigchain_test.cc63 class SigchainTest : public ::testing::Test {
107 if (testing::Test::HasFatalFailure()) return; in TestSignalBlocking()
269 { [[maybe_unused]] volatile int load = *tagged_null; }, testing::ExitedWithCode(0), ""); in fault_address_tag_impl()
279 testing::ExitedWithCode(0x2b), in fault_address_tag_impl()
/art/test/418-const-string/
Dinfo.txt1 Small test case for testing CONST_STRING.
/art/test/937-hello-retransform-package/src/
DTransform.java17 package testing; package
/art/test/450-checker-types/
Dinfo.txt1 Checker test for testing checked cast elimination.
/art/test/530-checker-lse/
Dinfo.txt1 Checker test for testing load-store elimination.
/art/test/449-checker-bce/
Dinfo.txt1 Checker test for testing array bounds check elimination.
/art/test/445-checker-licm/
Dinfo.txt1 Checker test for testing loop invariant code motion.
/art/test/641-checker-arraycopy/
Dinfo.txt1 Checker test for testing the arraycopy optimization in
/art/test/404-optimizing-allocator/
Dinfo.txt1 Initial tests for testing the optimizing compiler's register allocator.
/art/test/530-checker-lse-try-catch/
Dinfo.txt1 Checker test for testing load-store elimination for try catches.
/art/test/549-checker-types-merge/
Dinfo.txt1 Checker test for testing the type merge during reference type propagation.

123456