Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2228,6 +2228,20 @@ protected IJavaMethodBreakpoint createMethodBreakpoint(IJavaProject project, Str
protected IJavaMethodBreakpoint createMethodBreakpoint(String packageName, String cuName, String typeName, String methodName, String methodSignature, boolean entry, boolean exit) throws Exception {
IType type = getType(packageName, cuName, typeName);
assertNotNull("did not find type to install breakpoint in", type); //$NON-NLS-1$
return createMethodBreakpoint(type, methodName, methodSignature, entry, exit);
}

/**
* Creates a method breakpoint in a specified type.
*
* @param type the type in which the method breakpoint is set
* @param methodName method or <code>null</code> for all methods
* @param methodSignature JLS method signature or <code>null</code> for all methods with the given name
* @param entry whether to break on entry
* @param exit whether to break on exit
* @return method breakpoint
*/
protected IJavaMethodBreakpoint createMethodBreakpoint(IType type, String methodName, String methodSignature, boolean entry, boolean exit) throws Exception {
IMethod method= null;
if (methodSignature != null && methodName != null) {
if (type != null ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
import org.eclipse.jdt.debug.tests.refactoring.RenamePublicTypeUnitTests;
import org.eclipse.jdt.debug.tests.sourcelookup.ArchiveSourceLookupTests;
import org.eclipse.jdt.debug.tests.sourcelookup.Bug565462Tests;
import org.eclipse.jdt.debug.tests.sourcelookup.ClassFileEditorHighlightingTest;
import org.eclipse.jdt.debug.tests.sourcelookup.DefaultSourceContainerTests;
import org.eclipse.jdt.debug.tests.sourcelookup.DirectorySourceContainerTests;
import org.eclipse.jdt.debug.tests.sourcelookup.DirectorySourceLookupTests;
Expand All @@ -148,6 +149,7 @@
import org.eclipse.jdt.debug.tests.sourcelookup.TypeResolutionTests;
import org.eclipse.jdt.debug.tests.state.RefreshStateTests;
import org.eclipse.jdt.debug.tests.ui.DebugHoverTests;
import org.eclipse.jdt.debug.tests.ui.DebugSelectionTests;
import org.eclipse.jdt.debug.tests.ui.DebugViewTests;
import org.eclipse.jdt.debug.tests.ui.DetailPaneManagerTests;
import org.eclipse.jdt.debug.tests.ui.HotCodeReplaceErrorDialogTest;
Expand Down Expand Up @@ -229,6 +231,8 @@ public AutomatedSuite() {
addTest(new TestSuite(TypeResolutionTests.class));
addTest(new TestSuite(JarSourceLookupTests.class));
addTest(new TestSuite(Bug565462Tests.class));
addTest(new TestSuite(DebugSelectionTests.class));
addTest(new TestSuite(ClassFileEditorHighlightingTest.class));

// Variable tests
addTest(new TestSuite(InstanceVariableTests.class));
Expand Down
Loading
Loading