On 12 oct. 2010, at 20:06, Alexandre Bergel wrote:
Hi!
These tests have the following problem: sometimes the UI spawns modal dialogues (like in the DSM) and this basically prevents automatic regression testing.
Of course, we should not have modal dialogues, but just to make sure, could you extend the tests to take something like this into account? Otherwise, I would have to remove them for now.
Apparently catching Notification seems to be enough. The three tests defined in MooseFinderTest are now yellow and do not popup a modal window. I am working on making the test green.
It's not working on my computer. For example I got popup from DSM telling I have no cycle and also Distribution Map wizards.
Alexandre
On 6 Oct 2010, at 23:36, Alexandre Bergel wrote:
I just added a class MooseFinderTest in 'Moose-Tests-Core' This class can be moved into a 'Moose-Tests-Finder' I guess. I just did not want to mess up the configuration. The test is yellow.
Alexandre
On 6 Oct 2010, at 12:52, Tudor Girba wrote:
Great idea!
The problems were due to loose ends of the refactoring of MA* to Mal*. I ran the Code Critics and I fixed these problems, but indeed it would be really great to have this as a generic test.
Cheers, Doru
On 6 Oct 2010, at 18:44, Alexandre Bergel wrote:
Today I will write some tests that ensure all the visualization accessible from the menu does not raise an error.
Alexandre
On 6 Oct 2010, at 12:38, Alexandre Bergel wrote:
Hi!
In order to prepare a lecture on Moose, I am going over different tools available in the distribution. Most of them run quite well. However, I bumped into a number of problems.
MATarjan is absent from the last moose hudson image. This makes the "Cycle Table" menu item (from all model package) break.
LayerTable also breaks. MAGraphStructure is absent.
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Some battles are better lost than fought."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"There are no old things, there are only old ways of looking at them."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Apparently catching Notification seems to be enough. The three tests defined in MooseFinderTest are now yellow and do not popup a modal window. I am working on making the test green.
It's not working on my computer. For example I got popup from DSM telling I have no cycle and also Distribution Map wizards.
I was able to reproduce this. Not easy since apparently the list of actions the test is executing is not constant. As Doru pointed out, there are modal windows. I have no idea how to programmatically capture them. I will ask the Pharo mailing list.
Cheers, Alexandre
Alexandre
On 6 Oct 2010, at 23:36, Alexandre Bergel wrote:
I just added a class MooseFinderTest in 'Moose-Tests-Core' This class can be moved into a 'Moose-Tests-Finder' I guess. I just did not want to mess up the configuration. The test is yellow.
Alexandre
On 6 Oct 2010, at 12:52, Tudor Girba wrote:
Great idea!
The problems were due to loose ends of the refactoring of MA* to Mal*. I ran the Code Critics and I fixed these problems, but indeed it would be really great to have this as a generic test.
Cheers, Doru
On 6 Oct 2010, at 18:44, Alexandre Bergel wrote:
Today I will write some tests that ensure all the visualization accessible from the menu does not raise an error.
Alexandre
On 6 Oct 2010, at 12:38, Alexandre Bergel wrote:
> Hi! > > In order to prepare a lecture on Moose, I am going over different tools available in the distribution. Most of them run quite well. However, I bumped into a number of problems. > > MATarjan is absent from the last moose hudson image. This makes the "Cycle Table" menu item (from all model package) break. > > LayerTable also breaks. MAGraphStructure is absent. > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > _______________________________________________ > Moose-dev mailing list > Moose-dev@iam.unibe.ch > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Some battles are better lost than fought."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"There are no old things, there are only old ways of looking at them."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Strange. I cannot reproduce this. For me, the tests are just yellow. Also the server seems to be able to run the tests without getting stuck.
What do you do?
Cheers, Doru
On 12 Oct 2010, at 21:38, Alexandre Bergel wrote:
Apparently catching Notification seems to be enough. The three tests defined in MooseFinderTest are now yellow and do not popup a modal window. I am working on making the test green.
It's not working on my computer. For example I got popup from DSM telling I have no cycle and also Distribution Map wizards.
I was able to reproduce this. Not easy since apparently the list of actions the test is executing is not constant. As Doru pointed out, there are modal windows. I have no idea how to programmatically capture them. I will ask the Pharo mailing list.
Cheers, Alexandre
Alexandre
On 6 Oct 2010, at 23:36, Alexandre Bergel wrote:
I just added a class MooseFinderTest in 'Moose-Tests-Core' This class can be moved into a 'Moose-Tests-Finder' I guess. I just did not want to mess up the configuration. The test is yellow.
Alexandre
On 6 Oct 2010, at 12:52, Tudor Girba wrote:
Great idea!
The problems were due to loose ends of the refactoring of MA* to Mal*. I ran the Code Critics and I fixed these problems, but indeed it would be really great to have this as a generic test.
Cheers, Doru
On 6 Oct 2010, at 18:44, Alexandre Bergel wrote:
> Today I will write some tests that ensure all the visualization accessible from the menu does not raise an error. > > Alexandre > > > On 6 Oct 2010, at 12:38, Alexandre Bergel wrote: > >> Hi! >> >> In order to prepare a lecture on Moose, I am going over different tools available in the distribution. Most of them run quite well. However, I bumped into a number of problems. >> >> MATarjan is absent from the last moose hudson image. This makes the "Cycle Table" menu item (from all model package) break. >> >> LayerTable also breaks. MAGraphStructure is absent. >> >> Cheers, >> Alexandre >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> >> _______________________________________________ >> Moose-dev mailing list >> Moose-dev@iam.unibe.ch >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > _______________________________________________ > Moose-dev mailing list > Moose-dev@iam.unibe.ch > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Some battles are better lost than fought."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"There are no old things, there are only old ways of looking at them."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"The coherence of a trip is given by the clearness of the goal."
I refined the model on which the menu actions are triggered. The problem of nil value and set is solved, which makes the problem Simon described appear. I have already seen this situation when commands are gathered in OB, commands where not always in the same order.
Alexandre
On 12 Oct 2010, at 16:38, Alexandre Bergel wrote:
Apparently catching Notification seems to be enough. The three tests defined in MooseFinderTest are now yellow and do not popup a modal window. I am working on making the test green.
It's not working on my computer. For example I got popup from DSM telling I have no cycle and also Distribution Map wizards.
I was able to reproduce this. Not easy since apparently the list of actions the test is executing is not constant. As Doru pointed out, there are modal windows. I have no idea how to programmatically capture them. I will ask the Pharo mailing list.
Cheers, Alexandre
Alexandre
On 6 Oct 2010, at 23:36, Alexandre Bergel wrote:
I just added a class MooseFinderTest in 'Moose-Tests-Core' This class can be moved into a 'Moose-Tests-Finder' I guess. I just did not want to mess up the configuration. The test is yellow.
Alexandre
On 6 Oct 2010, at 12:52, Tudor Girba wrote:
Great idea!
The problems were due to loose ends of the refactoring of MA* to Mal*. I ran the Code Critics and I fixed these problems, but indeed it would be really great to have this as a generic test.
Cheers, Doru
On 6 Oct 2010, at 18:44, Alexandre Bergel wrote:
> Today I will write some tests that ensure all the visualization accessible from the menu does not raise an error. > > Alexandre > > > On 6 Oct 2010, at 12:38, Alexandre Bergel wrote: > >> Hi! >> >> In order to prepare a lecture on Moose, I am going over different tools available in the distribution. Most of them run quite well. However, I bumped into a number of problems. >> >> MATarjan is absent from the last moose hudson image. This makes the "Cycle Table" menu item (from all model package) break. >> >> LayerTable also breaks. MAGraphStructure is absent. >> >> Cheers, >> Alexandre >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> >> _______________________________________________ >> Moose-dev mailing list >> Moose-dev@iam.unibe.ch >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > _______________________________________________ > Moose-dev mailing list > Moose-dev@iam.unibe.ch > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Some battles are better lost than fought."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"There are no old things, there are only old ways of looking at them."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev