mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Code cleanup
Change-Id: Idb334cf19a2b61759cb443b6c60dc76b1865d774 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e72246a74d
commit
54078d381b
@@ -1424,7 +1424,8 @@ TEST(YamlTreeFindChildByKey, WhenChildWithKeyDoesNotExistThenReturnsNull) {
|
||||
NEO::Yaml::TokensCache tokens;
|
||||
std::string warnings;
|
||||
std::string errors;
|
||||
bool success = NEO::Yaml::tokenize(yaml, lines, tokens, errors, warnings);
|
||||
auto success = NEO::Yaml::tokenize(yaml, lines, tokens, errors, warnings);
|
||||
EXPECT_TRUE(success);
|
||||
|
||||
NEO::Yaml::NodesCache treeNodes;
|
||||
success = NEO::Yaml::buildTree(lines, tokens, treeNodes, errors, warnings);
|
||||
@@ -1460,7 +1461,8 @@ TEST(YamlTreeFindChildByKey, WhenChildWithKeyDoesExistThenReturnsIt) {
|
||||
NEO::Yaml::TokensCache tokens;
|
||||
std::string warnings;
|
||||
std::string errors;
|
||||
bool success = NEO::Yaml::tokenize(yaml, lines, tokens, errors, warnings);
|
||||
auto success = NEO::Yaml::tokenize(yaml, lines, tokens, errors, warnings);
|
||||
EXPECT_TRUE(success);
|
||||
|
||||
NEO::Yaml::NodesCache treeNodes;
|
||||
success = NEO::Yaml::buildTree(lines, tokens, treeNodes, errors, warnings);
|
||||
@@ -1546,7 +1548,8 @@ TEST(YamlTreeGetFirstChild, WhenChildExistsThenReturnsIt) {
|
||||
NEO::Yaml::TokensCache tokens;
|
||||
std::string warnings;
|
||||
std::string errors;
|
||||
bool success = NEO::Yaml::tokenize(yaml, lines, tokens, errors, warnings);
|
||||
auto success = NEO::Yaml::tokenize(yaml, lines, tokens, errors, warnings);
|
||||
EXPECT_TRUE(success);
|
||||
|
||||
NEO::Yaml::NodesCache treeNodes;
|
||||
success = NEO::Yaml::buildTree(lines, tokens, treeNodes, errors, warnings);
|
||||
@@ -1579,7 +1582,8 @@ TEST(YamlTreeGetLastChild, WhenChildExistsThenReturnsIt) {
|
||||
NEO::Yaml::TokensCache tokens;
|
||||
std::string warnings;
|
||||
std::string errors;
|
||||
bool success = NEO::Yaml::tokenize(yaml, lines, tokens, errors, warnings);
|
||||
auto success = NEO::Yaml::tokenize(yaml, lines, tokens, errors, warnings);
|
||||
EXPECT_TRUE(success);
|
||||
|
||||
NEO::Yaml::NodesCache treeNodes;
|
||||
success = NEO::Yaml::buildTree(lines, tokens, treeNodes, errors, warnings);
|
||||
@@ -1774,7 +1778,8 @@ TEST(YamlTreeBuildDebugNodes, GivenTreeNodesThenBuildsDebugFriendlyRepresentatio
|
||||
NEO::Yaml::TokensCache tokens;
|
||||
std::string warnings;
|
||||
std::string errors;
|
||||
bool success = NEO::Yaml::tokenize(yaml, lines, tokens, errors, warnings);
|
||||
auto success = NEO::Yaml::tokenize(yaml, lines, tokens, errors, warnings);
|
||||
EXPECT_TRUE(success);
|
||||
|
||||
NEO::Yaml::NodesCache treeNodes;
|
||||
success = NEO::Yaml::buildTree(lines, tokens, treeNodes, errors, warnings);
|
||||
|
||||
Reference in New Issue
Block a user