42
JUnit License Issue Jan Rojcek Best viewed in actual size (1280 by 720) February 2011, version 0.7

JUnit License Issue - NetBeans Wikiwiki.netbeans.org/wiki/images/e/eb/Junit-license-issue.pdf · JUnit License Issue Jan Rojcek Best viewed in actual size (1280 by 720) February 2011,

  • Upload
    lyhanh

  • View
    223

  • Download
    0

Embed Size (px)

Citation preview

JUnit License IssueJan Rojcek

Best viewed in actual size (1280 by 720)

February 2011, version 0.7

7.0 FCS SolutionOverview

3

Installer

Added the whole step with an option to not install JUnit library.

Appears only in Windows and Linux installer distributions for Java SE, Java EE and All. Not in PHP or C/C++.

It does not appear in Mac installer, Zip distribution or Ubuntu packages.

Added a note about JUnit installation during the

first startup.

JUnit License Summary

4

Import Settings

If it fails

Installs JUnit in Background

Open Project with JUnit Reference

New Sample Project with JUnit Files

Create JUnit Tests

New JUnit File

Downloading JUnit in the background. If it cannot download

JUnit, it fails silently.

First Startup

The download question appears only if the IDE can connect to the

update center.

Plugin Installation

JUnit Entry Points

If it fails

Windows and Linux - Java SE, EE, All

Mac and Zip - Java SE, EE, All

Download Question

5

Network Problems

Broken References Warning

JUnit Entry Points

Resolve Problems Searching Plugin Plugin Installation

Fixed Project References

User Cancels Searching or Installation Library Manager

Contains option to open Resolve Problems dialog.

Shows reference problems for all open

projects.

Open Project with JUnit Reference

New Sample Project with JUnit Files

Create JUnit Tests

New JUnit File

JUnit Installation Question

Contains option to download and install

JUnit.

New Project no longer creates projects with JUnit reference (except for some sample projects)

7.0 FCS SolutionDetails

7

Installer for 7.0 FCSJUnit license Summary

No radio button is selected by default. The Accept radio is

focused.

Next becomes enabled after selecting one of the radio

buttons.

Appears only in Windows and Linux installer distributions for Java SE, Java EE and All. Not in PHP or C/C++.

It does not appear in Mac installer, Zip distribution or Ubuntu packages.

8

Installer for 7.0 FCSJUnit license Summary

JUnit library note appears in the summary panel.

9

Downloading and installation happens in the background. If it fails, it fails silently.

First Startup - Windows and Linux - Java SE, EE, All

Import Settings

If it fails

Installs JUnit in Background

Open Project with JUnit Reference

New Sample Project with JUnit Files

Create JUnit Tests

New JUnit File

JUnit Entry Points

Windows and Linux - Java SE, EE, All

10

First Startup - Mac and Zip - Java SE, EE, All

Import Settings

If it failsOpen Project with JUnit Reference

New Sample Project with JUnit Files

Create JUnit Tests

New JUnit File

JUnit Entry Points

Mac and Zip - Java SE, EE, All

Download Question

Cancel proceeds in the startup without installing JUnit.

Plugin Installation

The download question appears only if the IDE can connect to the

update center.

11

Network Problems

Broken References Warning

JUnit Entry Points - New Sample Project or Open Project

Resolve Problems Searching Plugin Plugin Installation

Fixed Project References

User Cancels Searching or Installation Library Manager

Open Project with JUnit Reference

New Sample Project with JUnit Files

Resolve Problems opens the Resolve Reference Problems

dialog box.

Warning shown after creating erroneous files following the New

Sample Project or Open Project actions.

12

Network Problems

Broken References Warning

JUnit Entry Points - New Sample Project or Open Project

Resolve Problems Searching Plugin Plugin Installation

Fixed Project References

User Cancels Searching or Installation Library Manager

Open Project with JUnit Reference

New Sample Project with JUnit Files

Resolve dialog displays reference problems for all open projects.

13

Network Problems

Broken References Warning

JUnit Entry Points - New Sample Project or Open Project

Resolve Problems Searching Plugin Plugin Installation

Fixed Project References

User Cancels Searching or Installation Library Manager

Open Project with JUnit Reference

New Sample Project with JUnit Files

Cancel opens the information box with the option to open Library Manager.

14

Network Problems

Broken References Warning

JUnit Entry Points - New Sample Project or Open Project

Resolve Problems Searching Plugin Plugin Installation

Fixed Project References

User Cancels Searching or Installation Library Manager

Open Project with JUnit Reference

New Sample Project with JUnit Files

Warning box is displayed in case of connection problems.

Cancel opens the information box with the option to open Library Manager.

15

Network Problems

Broken References Warning

JUnit Entry Points - New Sample Project or Open Project

Resolve Problems Searching Plugin Plugin Installation

Fixed Project References

User Cancels Searching or Installation Library Manager

Open Project with JUnit Reference

New Sample Project with JUnit Files

Information box is displayed in the case when the user cancels plugin installation at any point (even

in the plugin installer).

Cancel returns back to the Resolve dialog.

16

Network Problems

JUnit Entry Points - New JUnit File or Create Tests

Searching Plugin Plugin Installation

Fixed Project References

User Cancels Searching or Installation Library Manager

Download and Install JUnit button starts the plugin download and

installation sequence.

Cancel opens the information box with the option to open

Library Manager.

Create JUnit Tests

New JUnit FileJUnit Installation Question

Title depends on the action preceding the question. It is either “Create Tests” or

“New JUnit Test”

Question shown before creating erroneous files following the New JUnit

File or Create JUnit Tests actions.

Dialog boxes are the same as for resolving reference problems. Just the

title is different: “Create Tests”

Possible post-7.0 Solution

Installer

Not for 7.0!

19

Installer InstallerCurrentProposed

Added

Modified

Modified

Not for 7.0!

20

No radio button is selected by default. The Accept radio is

focused.

InstallerProposed

Not for 7.0!

21

JUnit library note appears in the summary panel.

InstallerProposed

Not for 7.0!

22

Progress label and bar are disabled when error message

appears.

Retry button is focused.

InstallerProposed

Not for 7.0!

Open Project

Not for 7.0!

Current

Skipped

24

Open Project Open ProjectProposed

Modified

Modified

Not for 7.0!

25

Open Project

Resolve Problems... opens the Resolve Reference Problems

dialog box.

Not for 7.0!

Description displays the affected projects.

Title bar does not display project name.

Resolve dialog displays reference problems for all

open projects.

26

Open Project

Not for 7.0!

New Project

Not for 7.0!

New Project wizard creates an empty Java Project with no reference to the JUnit library to avoid broken references (this is already done for 7.0). For sample projects containing JUnit files, the JUnit library could be installed during the New Project wizard.

Not for 7.0!

New File

Not for 7.0!

30

New File

Proposed

New File

Current

Added

Added

Added

Modified

Not for 7.0!

31

JUnit file types are not yet enabled.

The description informs about not yet enabled feature.

New File

Not for 7.0!

32

The progress bar disappears automatically. The wizard

shows license in the same step.

The steps pane indicates the activation is a two step

process.

New File

Not for 7.0!

33

JUnit license replaces the progress bar.

Next is disabled until the user check the Accept check box.

New File

Not for 7.0!

34

Download and installation is displayed in the same (ideally deterministic) progress bar.

The wizard progresses automatically to the next step

after installing JUnit.

New File

Not for 7.0!

35

Title and steps pane change after installing JUnit.New File

Not for 7.0!

Tools | Create JUnit Tests

Not for 7.0!

37

Tools | Create JUnit Tests New File | Test for Existing ClassWhy is the contextual Tools action different from New File?

Not for 7.0!

38

Tools | Create JUnit Tests

Ideally the Tools action would just open the New File wizard and use the same activation sequence.

If it stays in a separate dialog box. The activation wizard needs to open before.

4 st

eps

inse

rted

Not for 7.0!

39

Tools | Create JUnit Tests

4 st

eps

inse

rted

Not for 7.0!

40

Tools | Create JUnit Tests

4 st

eps

inse

rted

Not for 7.0!

41

Tools | Create JUnit Tests

4 st

eps

inse

rted

Not for 7.0!