diff -r 679fd8d7ba70 projectapi/apichanges.xml --- a/projectapi/apichanges.xml Fri Jun 06 15:01:38 2008 +0200 +++ b/projectapi/apichanges.xml Fri Jun 13 19:35:13 2008 +0200 @@ -2,7 +2,7 @@ + + + Added constants to ActionProvider + - support for execution of a single test method. + + + + + +

+ Added constants COMMAND_TEST_SINGLE_METHOD, + COMMAND_DEBUG_TEST_SINGLE_METHOD and + LOOKUP_ITEM_ID_METHOD_NAME to interface + ActionProvider. These are + symbolic names for actions + "run single test method" and + "debug single test method", and + for Id of Lookup.Item holding identification + of a test method that should be run by these actions. +

+
+ + +
+ Added support for composing project's lookup from multiple sources. diff -r 679fd8d7ba70 projectapi/arch.xml --- a/projectapi/arch.xml Fri Jun 06 15:01:38 2008 +0200 +++ b/projectapi/arch.xml Fri Jun 13 19:35:13 2008 +0200 @@ -967,4 +967,85 @@ + + + + + + + + + + + + +

+ XXX no answer for compat-deprecation +

+
+ + + + + +

+ XXX no answer for exec-ant-tasks +

+
+ + + + + +

+ XXX no answer for resources-preferences +

+
+ diff -r 679fd8d7ba70 projectapi/manifest.mf --- a/projectapi/manifest.mf Fri Jun 06 15:01:38 2008 +0200 +++ b/projectapi/manifest.mf Fri Jun 13 19:35:13 2008 +0200 @@ -1,5 +1,5 @@ Manifest-Version: 1.0 OpenIDE-Module: org.netbeans.modules.projectapi/1 -OpenIDE-Module-Specification-Version: 1.15 +OpenIDE-Module-Specification-Version: 1.16 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/projectapi/Bundle.properties diff -r 679fd8d7ba70 projectapi/src/org/netbeans/spi/project/ActionProvider.java --- a/projectapi/src/org/netbeans/spi/project/ActionProvider.java Fri Jun 06 15:01:38 2008 +0200 +++ b/projectapi/src/org/netbeans/spi/project/ActionProvider.java Fri Jun 13 19:35:13 2008 +0200 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common @@ -24,7 +24,7 @@ * Contributor(s): * * The Original Software is NetBeans. The Initial Developer of the Original - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun * Microsystems, Inc. All Rights Reserved. * * If you wish your version of this file to be governed by only the CDDL @@ -93,6 +93,13 @@ */ String COMMAND_TEST_SINGLE = "test.single"; // NOI18N + /** + * Standard command for running one test method/function + * + * @since 1.16 + */ + String COMMAND_TEST_SINGLE_METHOD = "test.single.method"; // NOI18N + /** * Standard command for running the project in debugger */ @@ -107,6 +114,13 @@ * Standard command for running one test in debugger */ String COMMAND_DEBUG_TEST_SINGLE = "debug.test.single"; // NOI18N + + /** + * Standard command for running one test method/function in debugger + * + * @since 1.16 + */ + String COMMAND_DEBUG_TEST_SINGLE_METHOD = "debug.test.single.method"; // NOI18N /** * Standard command for starting app in debugger and stopping at the @@ -142,6 +156,16 @@ */ String COMMAND_RENAME = "rename"; // NOI18N + /** + * Standard id for lookup item that holds name of method/function + * to be executed. + * + * @see #COMMAND_TEST_SINGLE_METHOD + * @see #COMMAND_DEBUG_TEST_SINGLE_METHOD + * @since 1.16 + */ + String LOOKUP_ITEM_ID_METHOD_NAME = "ActionProvider.methodName"; //NOI18N + /** * Get a list of all commands which this project supports. * @return a list of command names suitable for {@link #invokeAction}