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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 9.0
    • Component/s: projects - Maven
    • Labels:
      None
    • Environment:

      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: