8147012: Fix includes in internalVMTests.cpp

Reviewed-by: stefank, mgerdin
This commit is contained in:
Erik Helin 2016-01-19 11:00:29 +01:00
parent 4651887649
commit f646b9fac7
18 changed files with 104 additions and 101 deletions

View file

@ -608,7 +608,7 @@ void DirectivesParser::test(const char* text, bool should_pass) {
cd.clean_tmp();
}
bool DirectivesParser::test() {
void DirectivesParser::test() {
DirectivesParser::test("{}", false);
DirectivesParser::test("[]", true);
DirectivesParser::test("[{}]", false);
@ -742,8 +742,10 @@ bool DirectivesParser::test() {
" }" "\n"
" }" "\n"
"]" "\n", false);
}
return true;
void DirectivesParser_test() {
DirectivesParser::test();
}
#endif

View file

@ -136,7 +136,7 @@ private:
#ifndef PRODUCT
static void test(const char* json, bool valid);
public:
static bool test();
static void test();
#endif
};