Closed Bug 998242 Opened 10 years ago Closed 4 years ago

Move single mozmill tests into a subdirectory

Categories

(Calendar :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Fallen, Assigned: Fallen)

References

Details

Attachments

(1 file, 1 obsolete file)

We should move the single mozmill tests into subdirs so they are grouped and separate from the Thunderbird tests when packaged.
Attached patch Fix - v1 (obsolete) β€” β€” Splinter Review
What do you think of this structure?
Attachment #8408843 - Flags: review?(Mozilla)
Comment on attachment 8408843 [details] [diff] [review]
Fix - v1

Review of attachment 8408843 [details] [diff] [review]:
-----------------------------------------------------------------

So far so good, I wonder, if "calendar-frontend" may be too general.
If we get more mozmill-tests for every area, then this directory might get a bit crowded. We already have one for the eventDialog itself and in fact, all mozmill tests use the frontend.
So I would prefer to keep the tests in smaller groups. Maybe we could add a directory "general-ui" or so for the Today-pane, the calendars-sidebar and general menus testing. The views and dialogs could then get an own directory (or even morethan one).

Therefore for the moment r-
Attachment #8408843 - Flags: review?(Mozilla) → review-
Attached patch Fix - v2 β€” β€” Splinter Review
Yes, I wasn't too happy about the name here either. My plan was to move things around again as the number of tests increase, but you are right: why break up the existing group now.

I prefixed it with "calendar" because in the packaged tests they will be mixed with the Thunderbird tests, so general-ui will be too....general :-)

Your hint with calendar-sidebars actually brought me to this patch. We have more sidebar elements (the calendar list, minimonth and task filter) that might deserve a mozmill test in the future.

How is this one?
Attachment #8408843 - Attachment is obsolete: true
Attachment #8411307 - Flags: review?(Mozilla)
Comment on attachment 8411307 [details] [diff] [review]
Fix - v2

you will have to change the paths to shared-modules in the 4 tests from "./shared-modules" to "../shared-modules"

therefore r- for now
Attachment #8411307 - Flags: review?(Mozilla) → review-
Do I have to do so both for RELATIVE_ROOT and the require() statement? I can't check since my mozmill tests are not running at all in the build env (it usually works in packaged tests).
For the time you need to change both.
The require statement will disappear as soon as I adapt these tests to the new test-Calendar-Utils
Waiting for bug 1020574 before I continue on this one.
Depends on: 1020574
bug 1020574 finally landed, so how about progressing on this one?

I could take over if you like.

mozmill is gone. I don't think any action is required here.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: