Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-pmc] RedDeer sample

Something like that. I dont know if that is the correct word. 

When you call open method on reddeer JavaProjectWizard it will find a shell menu "File" -> "New" -> "Other" then in "New" Wizard it will find "Java" -> "Java Project" TreeItem and clicks on "Next" button.

Now you have NewJavaProjectWizardPageOne. You can set Project name which means it will find text widget with label "Project Name:" and sets the specified text [1] and so on.

RedDeer usually interacts only with user interface (widgets). 

[1]https://github.com/jboss-reddeer/reddeer/blob/master/plugins/org.jboss.reddeer.eclipse/src/org/jboss/reddeer/eclipse/jdt/ui/wizards/NewJavaProjectWizardPageOne.java#L34

 


On Mon, Feb 20, 2017 at 10:38 AM, Aleksandar Kurtakov <akurtako@xxxxxxxxxx> wrote:


----- Original Message -----
> From: "Rastislav Wagner" <rawagner@xxxxxxxxxx>
> To: eclipse-pmc@xxxxxxxxxxx
> Cc: "Aleksandar Kurtakov" <akurtako@xxxxxxxxxx>, "daniel megert" <daniel_megert@xxxxxxxxxx>
> Sent: Monday, 20 February, 2017 11:35:49 AM
> Subject: Fwd: [eclipse-pmc] RedDeer sample
>
> Hi,
>
> org.jboss.reddeer.eclipse.jdt.ui.wizards.JavaProjectWizard represents
> org,eclipse.jdt,internal,ui,wizards.JavaProjectWizard from the UI
> prespective.

What does that ^^ mean? Some kind of harness class for working with JavaProjectWizard?

> It does not have any hard dependencies on eclipse's
> JavaProjectWizard but we keep the name and package similar so it is easy to
> find. This applies for all other Wizards/Views/.. in Eclipse/RedDeer.
>
>
> HTH,
> Rastislav
>
> ---------- Forwarded message ----------
> From: Aleksandar Kurtakov <akurtako@xxxxxxxxxx>
> Date: Sun, Feb 19, 2017 at 7:11 PM
> Subject: Fwd: [eclipse-pmc] RedDeer sample
> To: Rastislav Wagner <rawagner@xxxxxxxxxx>
>
>
> Would you please give the authoritive answer?
>
> ----- Forwarded Message -----
> From: "Daniel Megert" <daniel_megert@xxxxxxxxxx>
> To: eclipse-pmc@xxxxxxxxxxx
> Sent: Friday, 17 February, 2017 5:50:26 PM
> Subject: Re: [eclipse-pmc] RedDeer sample
>
> Hi Alex
>
> Why is the test using ' org.jboss.reddeer
> .eclipse.jdt.ui.wizards.JavaProjectWizard'
> and not 'org,eclipse.jdt,internal,ui,wizards.JavaProjectWizard'? Similar
> question for the other changed Eclipse classes.
>
>
> Dani
>
>
>
> From: Aleksandar Kurtakov <akurtako@xxxxxxxxxx>
> To: eclipse-pmc@xxxxxxxxxxx
> Date: 14.02.2017 13:37
> Subject: [eclipse-pmc] RedDeer sample
> Sent by: eclipse-pmc-bounces@eclipse.org
>
>
>
>
> Hi everyone,
> I asked our QE to prepare RedDeer test that creates new Java project,
> creates New class in it with main method, adds sysout in the main method,
> launch the class and expect that console view has the proper text printed.
> You can see the code at [1]. If you would like to run it clone [2], cd
> reddeer.example, mvn clean verify. It's a tycho build with additional repo
> to add reddeer so everyone can experiment from that point. The class file
> is JUnit 4 POJO itself, annotated to run as RedDeerSuite (much like SWTBot
> does).
> Please let me know of any questions you may have and I'll forward them to
> respective people.
>
> [1] https://github.com/rawagner/reddeer-helloworld/blob/
> master/reddeer.example/src/reddeer/example/BasicTest.java
> [2] https://github.com/rawagner/reddeer-helloworld/
>
> --
> Alexander Kurtakov
> Red Hat Eclipse team
> _______________________________________________
> eclipse-pmc mailing list
> eclipse-pmc@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/eclipse-pmc
>
>
>
>
>
> _______________________________________________
> eclipse-pmc mailing list
> eclipse-pmc@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/eclipse-pmc
>
> --
> Alexander Kurtakov
> Red Hat Eclipse team
>
>
>
> --
> Rastislav Wagner
> Devstudio QA
> RedDeer Project Lead
>
> Red Hat Czech
> Brno, Czech Republic
>

--
Alexander Kurtakov
Red Hat Eclipse team



--
Rastislav Wagner
JBDS QA
irc: rawagner

Red Hat Czech
Brno, Czech Republic

Back to the top