Lines Matching refs:Options
93 unique_ptr<Options> GetOptions(const char* command[], in GetOptions()
94 Options::Language default_lang = Options::Language::JAVA) { in GetOptions()
98 unique_ptr<Options> ret(new Options(argc, command, default_lang)); in GetOptions()
114 unique_ptr<Options> options = GetOptions(kPreprocessCommand); in TEST()
115 EXPECT_EQ(Options::Task::PREPROCESS, options->GetTask()); in TEST()
128 unique_ptr<Options> options = GetOptions(kCompileJavaCommand); in TEST()
129 EXPECT_EQ(Options::Task::COMPILE, options->GetTask()); in TEST()
130 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST()
141 unique_ptr<Options> options = GetOptions(kCompileJavaCommandNinja); in TEST()
142 EXPECT_EQ(Options::Task::COMPILE, options->GetTask()); in TEST()
143 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST()
154 unique_ptr<Options> options = GetOptions(kCompileCppCommand, Options::Language::CPP); in TEST()
165 unique_ptr<Options> options = GetOptions(kCompileCppCommandNinja, Options::Language::CPP); in TEST()
186 unique_ptr<Options> options = GetOptions(argv); in TEST()
187 EXPECT_EQ(Options::Task::COMPILE, options->GetTask()); in TEST()
188 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST()
236 unique_ptr<Options> options = GetOptions(argv); in TEST()
237 EXPECT_EQ(Options::Task::COMPILE, options->GetTask()); in TEST()
238 EXPECT_EQ(Options::Language::CPP, options->TargetLanguage()); in TEST()