platform-core-home/documents/test_plan_30.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21, Wed Jun 2 13:23:33 2004 UTC revision 1.22, Mon Jun 14 19:00:04 2004 UTC
# Line 376  Line 376 
376  <h3><a name="pde-build"/>PDE-Build</h3>  <h3><a name="pde-build"/>PDE-Build</h3>
377  <h4>Plugin with "." on the classpath</h4>  <h4>Plugin with "." on the classpath</h4>
378  <ul>  <ul>
379     <li> Using the "new plugin wizard" create a plugin named Dot1 with "." as a jar name. </li>    <li> Using the "new plugin wizard" create a plugin named Dot1 with "." as a
380     <li> Export it as a zip. Verify that the classes are not into a jar. </li>      jar name. </li>
381     <li> Export it as folder. Verify that the classes are at the root of the folder.</li>    <li> Export &quot;deployable plug-in&quot; as a zip. Verify that the classes
382        are not into a jar. </li>
383      <li> Export &quot;deployable plug-in&quot; as folder. Verify that the classes
384        are at the root of the folder.</li>
385  </ul>  </ul>
386    
387    
# Line 387  Line 390 
390     <li> Create a plugin named Normal</li>     <li> Create a plugin named Normal</li>
391     <li> add a dependency to Dot1 in the plugin.xml</li>     <li> add a dependency to Dot1 in the plugin.xml</li>
392     <li> add a code dependency from a class in Normal to a class in Dot1</li>     <li> add a code dependency from a class in Normal to a class in Dot1</li>
393     <li> try to export Normal</li>    <li> try to export Normal as &quot;deployable plug-in&quot; </li>
394     <li> try to export Normal and Dot1</li>    <li> try to export Normal and Dot1as &quot;deployable plug-in&quot; </li>
395     <li> confirm that no compile errors occured (if there were you would get an error dialog at the end of the export)</li>    <li> confirm that no compile errors occured (if there were you would get an
396        error dialog at the end of the export)</li>
397  </ul>  </ul>
398    
399    
400  <h4>Plugin with a folder on the classpath</h4>  <h4>Plugin with a folder on the classpath</h4>
401  <ul>  <ul>
402     <li> Create a plugin named Folder1 with "myFolder" as a jar name</li>     <li> Create a plugin named Folder1 with "myFolder" as a jar name</li>
403     <li> edit the build.properties and add a slash after myFolder in bin.includes property</li>    <li> edit the build.properties and add a slash after myFolder in bin.includes
404     <li> Export as folder, verify that the class files are rooted in a folder called myFolder</li>      property</li>
405      <li> Export &quot;deployable plug-in&quot; as folder, verify that the class
406        files are rooted in a folder called myFolder</li>
407  </ul>  </ul>
408    
409    
410  <h4>Testing the build order</h4>  <h4>Testing the build order</h4>
411  <ul>  <ul>
412     <li> in the plugin Folder1, add the following things in the runtime section of the plugin.xml</li>     <li> in the plugin Folder1, add the following things in the runtime section of the plugin.xml</li>
413    
414          <pre>          <pre>
415        &lt;library name="yourFolder"&gt;        &lt;library name="yourFolder"&gt;
416           &lt;export name="*"/&gt;           &lt;export name="*"/&gt;
417        &lt;/library&gt;        &lt;/library&gt;
418        &lt;library name="library.jar"&gt;        &lt;library name="library.jar"&gt;
419           export name="*"/&gt;           &lt;export name="*"/&gt;
420        &lt;/library&gt;        &lt;/library&gt;
421          </pre>          </pre>
422     <li> replace the content of the build.properties by </li>     <li> replace the content of the build.properties by </li>
# Line 425  Line 432 
432                 yourFolder/                 yourFolder/
433  jars.compile.order = yourFolder, library.jar, myFolder  jars.compile.order = yourFolder, library.jar, myFolder
434  </pre>  </pre>
435     <li> generate manually the build.xml and verify that the build.jars target successively and in this order list yourFolder, library.jar and myFolder</li>  
436      <li> generate manually the build.xml (select plugin.xml, context menu, PDE Tools
437        -&gt; Create Ant Build file) and verify that the build.jars target successively
438        and in this order list yourFolder, library.jar and myFolder</li>
439  </ul>  </ul>
440    
441  <h4>Reuse the plugin Normal</h4>  <h4>Reuse the plugin Normal</h4>
442  <ul>  <ul>
443     <li> add a dependency to Folder1</li>     <li> add a dependency to Folder1</li>
444     <li> add a code dependency from a class in Normal to a class in Folder1</li>     <li> add a code dependency from a class in Normal to a class in Folder1</li>
445     <li> Export Normal</li>    <li> Export Normal as &quot;deployable plug-in&quot; </li>
446     <li> Export Normal and Folder1</li>    <li> Export Normal and Folder1 as &quot;deployable plug-in&quot; </li>
447  </ul>  </ul>
448    
449    
# Line 441  Line 451 
451  <ul>  <ul>
452     <li> Create a plugin Qualified where the version number ends is 1.0.0.qualifier.</li>     <li> Create a plugin Qualified where the version number ends is 1.0.0.qualifier.</li>
453     <li> open the build.properties and add     <li> open the build.properties and add
454          <pre>qualifier = context</pre></li>      <pre>qualifier = context</pre>
455     <li> Export the plugin as zip and verify that the name of the zip has 1.0.0.<date Of The Day></li>    </li>
456     <li> Export the plugin as folder and verify that the folder as the name 1.0.0.<date of the day></li>    <li> Export &quot;deployable plug-in&quot; as zip and verify that the name of
457     <li> Verify that the version number of the feature in the feature.xml has been updated</li>      the zip has 1.0.0.<date Of The Day></li>
458      <li> Export &quot;deployable plug-in&quot; as folder and verify that the folder
459        as the name 1.0.0.<date of the day></li>
460      <li> Verify that the version number of the feature in the feature.xml has been
461        updated</li>
462     <li> change the build.properties to     <li> change the build.properties to
463          <pre>qualifier = NONE</pre></li>      <pre>qualifier = NONE</pre>
464     <li> Export the plugin as zip and verify that the name of the zip is 1.0.0</li>    </li>
465     <li> Export the plugin as folder and verify that the name of the directory is 1.0.0</li>    <li> Export &quot;deployable plug-in&quot; as zip and verify that the name of
466        the zip is 1.0.0</li>
467      <li> Export &quot;deployable plug-in&quot; as folder and verify that the name
468        of the directory is 1.0.0</li>
469     <li> change the build.properties to     <li> change the build.properties to
470          <pre>qualifier = myValue</pre>          <pre>qualifier = myValue</pre>
471     </li>     </li>
472     <li> Export the plugin as zip and verify that the name of the zip is 1.0.0.myValue</li>    <li> Export &quot;deployable plug-in&quot; as zip and verify that the name of
473     <li> Export the plugin as folder and verify that the name of the directory is 1.0.0.myValue</li>      the zip is 1.0.0.myValue</li>
474      <li> Export &quot;deployable plug-in&quot; as folder and verify that the name
475        of the directory is 1.0.0.myValue</li>
476  </ul>  </ul>
477    
478    
# Line 469  Line 487 
487  <ul>  <ul>
488     <li> Take the feature previously created</li>     <li> Take the feature previously created</li>
489     <li> add the plugin "Qualified" in the feature</li>     <li> add the plugin "Qualified" in the feature</li>
490     <li> Export the feature and verify that the feature.xml content has been updated (the reference to Qualified has the number from the "Qualified" plugin)</li>  
491      <li> Export &quot;as deployable feature&quot; and verify that the feature.xml
492        content has been updated (the reference to Qualified has the number from the
493        "Qualified" plugin)</li>
494     <li> Verify that the version number of the feature in the feature.xml has been updated</li>     <li> Verify that the version number of the feature in the feature.xml has been updated</li>
495  </ul>  </ul>
496    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22