Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 205093

Summary: API Recorder's Generate Test Suite dialog does not select a default selection.
Product: z_Archived Reporter: Paul Slauenwhite <paulslau>
Component: TPTPAssignee: Tony Wang <newboya1988>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: jkubasta
Version: unspecifiedKeywords: plan
Target Milestone: ---Flags: paulslau: review-
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Changes to defect 205093
none
Whole Changes in defect 205093
none
Patch Version 2 none

Description Paul Slauenwhite CLA 2007-10-01 13:21:04 EDT
I really wish the dialog for generating a testsuite pre selected the 
> "testsuite" option not the "no testsuite" option, the only reason for 
> using it is to generate a testsuite in thefirst place.
Comment 1 Paul Slauenwhite CLA 2007-10-01 13:22:37 EDT
(In reply to comment #0)
> I really wish the dialog for generating a testsuite pre selected the 
> > "testsuite" option not the "no testsuite" option, the only reason for 
> > using it is to generate a testsuite in thefirst place.
> 

Source: http://dev.eclipse.org/newslists/news.eclipse.tptp/msg04794.html
Comment 2 Paul Slauenwhite CLA 2007-10-01 13:24:52 EDT
There is no default selection since the dialog is reused.  
Comment 3 Paul Slauenwhite CLA 2007-11-05 13:46:59 EST
Included in 4.5 plan for the Test Tools project.
Comment 4 Tony Wang CLA 2008-02-25 14:22:22 EST
Created attachment 90674 [details]
Changes to defect 205093
Comment 5 Tony Wang CLA 2008-02-26 13:12:17 EST
Created attachment 90773 [details]
Whole Changes in defect 205093
Comment 6 Tony Wang CLA 2008-02-26 13:13:31 EST
Hi Paul, please review this patch 'Whoel Changes in defect 205093' Thanks!
Comment 7 Tony Wang CLA 2008-02-26 13:14:15 EST
Hi Paul, please review this patch 'Whole Changes in defect 205093' Thanks!
Comment 8 Tony Wang CLA 2008-02-27 09:48:18 EST
Comment on attachment 90674 [details]
Changes to defect 205093

obsolete patch
Comment 9 Paul Slauenwhite CLA 2008-02-28 08:37:07 EST
Patch reviewed.  A couple of comments:

-When creating patches for review, ensure only modified code is included to make the review process easier.  For example, does not generate a patch for a class that has whitespace changes, unless they are meaningful to the code changes.

-Instead of reusing org.eclipse.tptp.test.tools.api.internal.ui.test.generation.TPTPJUnitTestSuiteGenerationPane.java, I suggest to extending the class.

-New classes should contain the following copyright statement:

/**********************************************************************
 * Copyright (c) 2008 IBM Corporation and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * $Id$
 * 
 * Contributors: 
 * IBM - Initial API and implementation
 **********************************************************************/

See http://www.eclipse.org/tptp/home/documents/process/development/copyright.html.

-Please make sure you add the copyright statement to each new file with the
year set to 2008.

-Please make sure the copyright end date is updated on each modified file to
2008.

-Please make sure author and version tags are added to the class JavaDoc
comments for each new/modified file.  For example:

@author  Tony Wang
@version February 28, 2008

-Commented code code should not be included in patches unless required in the future.

-There is one place where an import is never used and needs to be removed.  
Comment 10 Paul Slauenwhite CLA 2008-02-28 08:38:00 EST
Created attachment 90992 [details]
Patch Version 2

Tony, please see the changes I made to your original patch.
Comment 11 Paul Slauenwhite CLA 2008-02-28 08:38:35 EST
Patch Version 2 checked into CVS (HEAD).
Comment 12 Paul Slauenwhite CLA 2008-06-10 11:45:51 EDT
Verified in TPTP-4.5.0RC3-200806031051.  Closing.