Lines Matching defs:newConfig
34 bool IsSame(Config &oldConfig, Config &newConfig);
77 bool SerializableTest::IsSame(Config &oldConfig, Config &newConfig)
80 isSame = oldConfig.processLabel == newConfig.processLabel;
81 isSame = oldConfig.version == newConfig.version && isSame;
82 isSame = oldConfig.features == newConfig.features && isSame;
83 isSame = oldConfig.plugins == newConfig.plugins && isSame;
84 isSame = IsSame(oldConfig.components, newConfig.components) && isSame;
85 isSame = oldConfig.bundles == newConfig.bundles && isSame;
399 Config newConfig;
400 CreateConfig(newConfig, "new");
404 auto ret = Serializable::SetValue(node, newConfig.version, GET_NAME(version));
406 ret = Serializable::SetValue(node, newConfig.processLabel, GET_NAME(processLabel));
408 ret = Serializable::SetValue(node, newConfig.features, GET_NAME(features));
410 ret = Serializable::SetValue(node, newConfig.plugins, GET_NAME(plugins));
412 ret = Serializable::SetValue(node, newConfig.components, GET_NAME(components));
415 ASSERT_EQ(IsSame(config, newConfig), true);