|
20 | 20 | import io.sloeber.core.api.BoardDescriptor;
|
21 | 21 | import io.sloeber.core.api.CodeDescriptor;
|
22 | 22 | import io.sloeber.core.api.CompileOptions;
|
23 |
| -import io.sloeber.core.api.ConfigurationDescriptor; |
24 | 23 | import io.sloeber.core.api.PackageManager;
|
25 | 24 | import io.sloeber.core.api.Preferences;
|
26 | 25 | import io.sloeber.providers.Arduino;
|
@@ -89,7 +88,7 @@ public void issue555() {
|
89 | 88 | try {
|
90 | 89 |
|
91 | 90 | theTestProject = unoBoardid.createProject(projectName, null,
|
92 |
| - ConfigurationDescriptor.getDefaultDescriptors(), codeDescriptor, new CompileOptions(null), monitor); |
| 91 | + codeDescriptor, new CompileOptions(null), monitor); |
93 | 92 | Shared.waitForAllJobsToFinish(); // for the indexer
|
94 | 93 | } catch (Exception e) {
|
95 | 94 | e.printStackTrace();
|
@@ -135,8 +134,7 @@ public void issue687() throws Exception {
|
135 | 134 | CodeDescriptor codeDescriptor = CodeDescriptor.createCustomTemplate(templateFolder);
|
136 | 135 | try {
|
137 | 136 | theTestProject = unoBoardid.createProject(projectName, null,
|
138 |
| - ConfigurationDescriptor.getDefaultDescriptors(), codeDescriptor, new CompileOptions(null), |
139 |
| - new NullProgressMonitor()); |
| 137 | + codeDescriptor, new CompileOptions(null), new NullProgressMonitor()); |
140 | 138 | Shared.waitForAllJobsToFinish(); // for the indexer
|
141 | 139 | theTestProject.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
|
142 | 140 | if (Shared.hasBuildErrors(theTestProject)) {
|
@@ -164,8 +162,7 @@ public void issue1047_Board_Names_Can_Be_used_as_Strings() throws Exception {
|
164 | 162 | CodeDescriptor codeDescriptor = CodeDescriptor.createCustomTemplate(templateFolder);
|
165 | 163 | try {
|
166 | 164 | IProject theTestProject = unoBoard.getBoardDescriptor().createProject(projectName, null,
|
167 |
| - ConfigurationDescriptor.getDefaultDescriptors(), codeDescriptor, new CompileOptions(null), |
168 |
| - new NullProgressMonitor()); |
| 165 | + codeDescriptor, new CompileOptions(null), new NullProgressMonitor()); |
169 | 166 | Shared.waitForAllJobsToFinish(); // for the indexer
|
170 | 167 | theTestProject.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
|
171 | 168 | if (Shared.hasBuildErrors(theTestProject)) {
|
@@ -207,7 +204,7 @@ public void are_jantjes_options_taken_into_account() throws Exception {
|
207 | 204 | compileOptions.set_C_CompileOptions("-DTEST_C");
|
208 | 205 | compileOptions.set_CPP_CompileOptions("-DTEST_CPP");
|
209 | 206 | theTestProject = unoBoardid.createProject(projectName, null,
|
210 |
| - ConfigurationDescriptor.getDefaultDescriptors(), codeDescriptor, compileOptions, monitor); |
| 207 | + codeDescriptor, compileOptions, monitor); |
211 | 208 | ICProjectDescription prjCDesc = CoreModel.getDefault().getProjectDescription(theTestProject);
|
212 | 209 |
|
213 | 210 | CoreModel.getDefault().getProjectDescriptionManager().setProjectDescription(theTestProject, prjCDesc, true,
|
@@ -246,7 +243,7 @@ public void are_defines_before_includes_taken_into_account() throws Exception {
|
246 | 243 | try {
|
247 | 244 |
|
248 | 245 | theTestProject = unoBoardid.createProject(projectName, null,
|
249 |
| - ConfigurationDescriptor.getDefaultDescriptors(), codeDescriptor, new CompileOptions(null), monitor); |
| 246 | + codeDescriptor, new CompileOptions(null), monitor); |
250 | 247 |
|
251 | 248 | Shared.waitForAllJobsToFinish(); // for the indexer
|
252 | 249 | theTestProject.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
|
@@ -282,7 +279,7 @@ public void is_extern_C_taken_into_account() throws Exception {
|
282 | 279 | try {
|
283 | 280 |
|
284 | 281 | theTestProject = unoBoardid.createProject(projectName, null,
|
285 |
| - ConfigurationDescriptor.getDefaultDescriptors(), codeDescriptor, new CompileOptions(null), monitor); |
| 282 | + codeDescriptor, new CompileOptions(null), monitor); |
286 | 283 |
|
287 | 284 | Shared.waitForAllJobsToFinish(); // for the indexer
|
288 | 285 | theTestProject.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
|
|
0 commit comments