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

Bug 165140

Summary: JUnit code generator does not check against project existence
Product: z_Archived Reporter: Jerome Gout <jerome.gout>
Component: TPTPAssignee: Paul Slauenwhite <paulslau>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 CC: paulslau
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jerome Gout CLA 2006-11-20 07:00:36 EST
Test case CodeSynchronizationTest.testGenerateCodeInNonExistingProject fails: the code generator does not issue an error when attempting to generate into a non existing project.
Comment 1 Paul Slauenwhite CLA 2007-01-16 10:26:13 EST
Reassigning to the component leads to triage for 4.4.
Comment 2 Paul Slauenwhite CLA 2007-01-26 08:25:28 EST
Targeting to future since not containable in 4.4.
Comment 3 Paul Slauenwhite CLA 2007-01-26 09:01:32 EST
As discussed on this week's Test Project call (January 22, 2007), the Test Project will focus on existing P1 - P2/Blocker - Major and P1/Normal and test creation/automation defects (omitting defects dependant on outstanding features) in TPTP 4.4.  All other Test Project defects have been targeted to future.

If this defect has been targeted to future and you/originator feel it should be completed in 4.4, please provide the necessary reason as a reply to this comment or a post to the Test Project mailing list (tptp-test-tooling-dev@eclipse.org).  We will collectively triage and assess our resources to determine a case-by-case decision. 
Comment 4 Paul Slauenwhite CLA 2007-01-26 09:03:59 EST
Correction:  The Test Project mailing list is tptp-testing-tools-dev@eclipse.org.
Comment 5 Paul Slauenwhite CLA 2007-11-05 10:52:01 EST
Increasing severity since failing test case.
Comment 6 Paul Slauenwhite CLA 2007-11-07 06:32:51 EST
Bulk update of the target field to reflect the change in iteration numbers.
Comment 7 Paul Slauenwhite CLA 2007-12-06 07:36:50 EST
The following files checked in to CVS (HEAD):

org.eclipse.hyades.test.tools.core.internal.common.codegen.Generator.java

org.eclipse.hyades.test.java.tests.junit.CodeSynchronizationTest.java
org.eclipse.hyades.test.java.tests.junit.JUnitTestGeneration.java
org.eclipse.hyades.test.java.tests.junit.JUnitTestSuiteFacadeTest.java

/org.eclipse.hyades.test.java.tests/junit/AllSmokeTests.testsuite
/org.eclipse.hyades.test.java.tests/junit/AllTests.testsuite
/org.eclipse.hyades.test.java.tests/junit/CodeSynchronizationTest.testsuite
/org.eclipse.hyades.test.java.tests/junit/JUnitTestGeneration.testsuite
/org.eclipse.hyades.test.java.tests/junit/JUnitTestSuiteFacadeTest.testsuite
Comment 8 Paul Slauenwhite CLA 2007-12-13 11:57:46 EST
Fix does not appear in CVS.
Comment 9 Paul Slauenwhite CLA 2007-12-20 12:34:33 EST
org.eclipse.hyades.test.tools.core.internal.common.codegen.Generator.java checked in to CVS (HEAD).
Comment 10 Paul Slauenwhite CLA 2007-12-21 12:23:34 EST
Verified in http://www.eclipse.org/tptp/home/downloads/?buildId=TPTP-4.5.0-200712210400.
Comment 11 Paul Slauenwhite CLA 2009-02-25 11:56:03 EST
Closing by default since not closed by the originator in the 7+ months since
being resolved.  

Please reopen if the issue is still present in the latest TPTP release or the
resolution is not correct.