Searched refs:xml_file (Results 1 – 5 of 5) sorted by relevance
/system/testing/gtest_extras/ |
D | Options.cpp | 162 std::string xml_file(value.substr(4)); in SetXmlFile() local 163 if (xml_file.empty()) { in SetXmlFile() 168 if (xml_file[0] != '/') { in SetXmlFile() 177 xml_file = std::string(cwd) + '/' + xml_file; in SetXmlFile() 182 if (xml_file.back() == '/') { in SetXmlFile() 183 xml_file += "test_details.xml"; in SetXmlFile() 185 strings_.find("xml_file")->second = xml_file; in SetXmlFile()
|
D | Options.h | 52 const std::string& xml_file() const { return strings_.at("xml_file"); } in xml_file() function
|
D | Isolate.cpp | 631 FILE* fp = fopen(options_.xml_file().c_str(), "w"); in WriteXmlResults() 633 printf("Cannot open xml file '%s': %s\n", options_.xml_file().c_str(), strerror(errno)); in WriteXmlResults() 763 if (!options_.xml_file().empty()) { in Run()
|
/system/testing/gtest_extras/tests/ |
D | OptionsTest.cpp | 77 EXPECT_EQ("", options.xml_file()); in TEST() 540 EXPECT_EQ("/file.xml", options.xml_file()); in TEST() 545 EXPECT_EQ("/directory/test_details.xml", options.xml_file()); in TEST() 554 EXPECT_EQ(expected_file, options.xml_file()); in TEST() 641 EXPECT_EQ("", options.xml_file()); in TEST() 824 EXPECT_EQ("/file.xml", options.xml_file()); in TEST()
|
D | SystemTests.cpp | 923 FILE* xml_file = fopen(tf.path, "r"); in TEST_F() local 924 ASSERT_TRUE(xml_file != nullptr) << "Failed to find xml file:\n" << raw_output_; in TEST_F() 929 while ((bytes = fread(buffer.data(), 1, buffer.size(), xml_file)) > 0) { in TEST_F() 932 fclose(xml_file); in TEST_F()
|