You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Gili (JIRA)" <ji...@apache.org> on 2018/01/19 04:22:00 UTC

[jira] [Created] (NETBEANS-295) Create/Update Tests dialog updates pom.xml even if operation is aborted

Gili created NETBEANS-295:
-----------------------------

             Summary: Create/Update Tests dialog updates pom.xml even if operation is aborted
                 Key: NETBEANS-295
                 URL: https://issues.apache.org/jira/browse/NETBEANS-295
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Maven
         Environment: Product Version: Apache NetBeans IDE Dev (Build 20180117-unknown-revn)
Updates: Updates available
Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
Runtime: Java(TM) SE Runtime Environment 9.0.1+11
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
            Reporter: Gili


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:

{code}
		<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>
{code}

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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists