mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
additional external settings provider tests update
This commit is contained in:
parent
09440600b2
commit
2e71cb7dc6
1 changed files with 9 additions and 0 deletions
|
@ -137,6 +137,15 @@ public class ExternalSettingsProviderTests extends BaseTestCase{
|
||||||
ICConfigurationDescription cfgDes2 = des.createConfiguration(newCfgId, "cfg2", cfgDes);
|
ICConfigurationDescription cfgDes2 = des.createConfiguration(newCfgId, "cfg2", cfgDes);
|
||||||
assertEquals(extPIds.length, cfgDes2.getExternalSettingsProviderIds().length);
|
assertEquals(extPIds.length, cfgDes2.getExternalSettingsProviderIds().length);
|
||||||
assertTrue(Arrays.equals(extPIds, cfgDes2.getExternalSettingsProviderIds()));
|
assertTrue(Arrays.equals(extPIds, cfgDes2.getExternalSettingsProviderIds()));
|
||||||
|
|
||||||
|
ls = cfgDes2.getLanguageSettingForFile(new Path("a.c"), true);
|
||||||
|
entries = ls.getSettingEntries(ICSettingEntry.INCLUDE_PATH);
|
||||||
|
ICLanguageSettingEntry[] expectedEntries = new ICLanguageSettingEntry[]{
|
||||||
|
new CIncludePathEntry("ip_a", 0),
|
||||||
|
new CIncludePathEntry("ip_b", 0),
|
||||||
|
};
|
||||||
|
assertTrue(Arrays.equals(expectedEntries, entries));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void tearDown() throws Exception {
|
protected void tearDown() throws Exception {
|
||||||
|
|
Loading…
Add table
Reference in a new issue