Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-295

Create/Update Tests dialog updates pom.xml even if operation is aborted

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • 9.0
    • projects - Maven
    • None

    Description

      1. Given a Maven project with a Java file open in the editor
      2. The user mistakenly hits CTRL+SHIFT+U which opens the "Create/Update Tests" dialog
      3. User hits ESC to cancel the operation.
      4. The following lines are added to pom.xml:

      		<dependency>
      			<groupId>org.seleniumhq.selenium</groupId>
      			<artifactId>selenium-java</artifactId>
      			<scope>test</scope>
      			<version>2.44.0</version>
      		</dependency>
      		<dependency>
      			<groupId>com.opera</groupId>
      			<artifactId>operadriver</artifactId>
      			<scope>test</scope>
      			<version>1.5</version>
      			<exclusions>
      				<exclusion>
      					<groupId>org.seleniumhq.selenium</groupId>
      					<artifactId>selenium-remote-driver</artifactId>
      				</exclusion>
      			</exclusions>
      		</dependency>
      		<dependency>
      			<groupId>junit</groupId>
      			<artifactId>junit</artifactId>
      			<scope>test</scope>
      			<version>4.11</version>
      		</dependency>
      

      Expected behavior: pom.xml should not be modified if operation is aborted

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kosmonaffft Anton V. Kirilchik
            cowwoc Gili
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment