Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to compile and/or run the demo-project #2

Open
dhananjaym18 opened this issue Aug 19, 2015 · 3 comments
Open

unable to compile and/or run the demo-project #2

dhananjaym18 opened this issue Aug 19, 2015 · 3 comments
Labels

Comments

@dhananjaym18
Copy link

error log -
D:\javaFxEclipse\binaries\TestFX-demo-project-master\src\test\java\org\testfx\demo\hello\HelloTest.java:14: error: package org.loadui.testfx.framework.robot.impl does not exist
import org.loadui.testfx.framework.robot.impl.FxRobotImpl;
^
D:\javaFxEclipse\binaries\TestFX-demo-project-master\src\test\java\org\testfx\demo\hello\HelloTest.java:15: error: cannot find symbol
import org.testfx.api.FxLifecycle;
^
symbol: class FxLifecycle
location: package org.testfx.api
D:\javaFxEclipse\binaries\TestFX-demo-project-master\src\test\java\org\testfx\demo\hello\HelloTest.java:21: error: cannot find symbol
public class HelloTest extends FxRobotImpl {
^
symbol: class FxRobotImpl
D:\javaFxEclipse\binaries\TestFX-demo-project-master\src\test\java\org\testfx\demo\hello\HelloTest.java:43: error: cannot find symbol
FxLifecycle.registerPrimaryStage();
^
symbol: variable FxLifecycle
location: class HelloTest
D:\javaFxEclipse\binaries\TestFX-demo-project-master\src\test\java\org\testfx\demo\hello\HelloTest.java:44: error: cannot find symbol
FxLifecycle.setupApplication(HelloApplication.class);
^
symbol: variable FxLifecycle
location: class HelloTest
D:\javaFxEclipse\binaries\TestFX-demo-project-master\src\test\java\org\testfx\demo\hello\HelloTest.java:50: error: cannot find symbol
clickOn("#clickButton");
^
symbol: method clickOn(String)
location: class HelloTest
6 errors
:compileTestJava FAILED

FAILURE: Build failed with an exception.

@hastebrot
Copy link
Member

The demo project needs to be updated to TestFX 4.0.1-alpha.

@hastebrot hastebrot added the bug label Aug 19, 2015
@dhananjaym18
Copy link
Author

Is that in the plan ?.
I'm trying to setup a sample TestFX project and would like to have a starter demo project since I'm new to TestFX and JavaFX.

Regards.
Dhananjay

@hastebrot
Copy link
Member

Here's my TODO for this:

  • Upgrade Gradle scripts and wrapper to 2.6
  • Upgrade dependencies to TestFX 4.0.1-alpha
  • Provide example test class for Stages.
  • Provide example test class for Applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants