-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update target for macos aarch64, and test launching with new TP
- Loading branch information
Showing
10 changed files
with
169 additions
and
199 deletions.
There are no files selected for viewing
308 changes: 140 additions & 168 deletions
308
com.opcoach.e4tester.core.test/E4Tester_Core_Tests_linux.launch
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 7 additions & 11 deletions
18
com.opcoach.e4tester.core/src/com/opcoach/e4tester/core/E4TesterUITestApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
package com.opcoach.e4tester.core; | ||
|
||
import org.eclipse.equinox.app.IApplicationContext; | ||
import org.eclipse.pde.internal.junit.runtime.UITestApplication; | ||
|
||
public class E4TesterUITestApplication extends UITestApplication { | ||
|
||
|
||
|
||
@Override | ||
protected Object runApp(IApplication app, IApplicationContext context) throws Exception { | ||
// Get the testable object from the service | ||
Object testableObject = PDEJUnitRuntimePlugin.getDefault().getTestableObject(); | ||
// If the service doesn't return a testable object ask PlatformUI directly | ||
// Unlike in NonUIThreadTestApplication if the platform dependency is not available we will fail here | ||
fTestHarness = new PlatformUITestHarness(testableObject, true); | ||
|
||
// continue application launch | ||
E4TesterApplication e4tester = new E4TesterApplication(); | ||
return e4tester.start(context);// super.runApp(app, context, args); | ||
public Object start(IApplicationContext context) throws Exception { | ||
System.out.println("E4TesterUITestApplication.start() called"); | ||
|
||
return super.start(context); | ||
} | ||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters