Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "List of components to unit test."

(Lexer (Highlighting))
Line 1: Line 1:
== Lexer (Highlighting) ==
+
== Core - Document Model ==
 +
* Lexer
 
<table border=1 width=100% >
 
<table border=1 width=100% >
 
</table>
 
</table>
Line 5: Line 6:
 
   <tr width=100% style="color: yellow; background-color: green;" >
 
   <tr width=100% style="color: yellow; background-color: green;" >
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
   <tr>
+
   <tr> <td> '''PHP4'''
      <td> '''PHP4'''
+
 
# Reserved words
 
# Reserved words
 
# Operators
 
# Operators
Line 16: Line 16:
 
# Heredoc
 
# Heredoc
 
<br><td> yaronm <td> done
 
<br><td> yaronm <td> done
   <tr>
+
   <tr> <td> '''PHP5'''
 
+
      <td> '''PHP5'''
+
 
# Reserved words
 
# Reserved words
 
# Operators
 
# Operators
Line 27: Line 25:
 
## PhpDocBlock
 
## PhpDocBlock
 
# Heredoc
 
# Heredoc
<td> edenk <td> done
+
<td> edenk <td> done
 +
  <tr> <td> '''Lex Errors''' <td> rganor <td> done
 +
  <tr> <td> '''Lexing of sample files and compare with goldens''' <td> rganor <td> done
 +
</table>
 +
<br>
 +
* DOM model
 +
<table border=1 width=100% >
 +
  <tr width=100% style="color: yellow; background-color: red;" >
 +
      <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> '''Lex Errors''' <td> rganor <td> done
+
       <td> '''PHP DOM'''
 +
# Pure PHP file structure
 +
# PHP code embedded in HTML tag
 +
# PHP code as html attribute key
 +
# PHP code as html attribute value
 +
<td>  <td> 
 +
<tr> <td> '''DOM modeling of sample files and compare with goldens''' <td> rganor <td> done
 +
</table>
 +
<br>
 +
* Source Parser (+Tokenizer)
 +
<table border=1 width=100% >
 +
  <tr width=100% style="color: yellow; background-color: red;" >
 +
      <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> '''Lexing of sample files and compare with goldens''' <td> rganor <td> done
+
       <td> Tokenizer
 
+
# Pure PHP file structure
 +
# PHP code embedded in HTML tag
 +
# PHP code as html attribute key
 +
# PHP code as html attribute value
 +
<td>  <td> 
 +
<tr> <td> '''Operating SourceParser on sample files and compare with goldens''' <td> rganor <td> done
 
</table>
 
</table>
  
Line 40: Line 63:
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
       <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
   <tr>
 
   <tr>
       <td> PHP4 <td> <td>  
+
       <td> '''PHP4'''
 +
# Reserved words
 +
# Operators
 +
# Strings
 +
# Comments
 +
## line comments
 +
## block comments
 +
## PhpDocBlock
 +
# Heredoc
 +
<br><td> yaronm <td> done
 
   <tr>
 
   <tr>
       <td> PHP5 <td> <td>  
+
       <td> '''PHP5'''
 +
# Reserved words
 +
# Operators
 +
# Strings
 +
# Comments
 +
## line comments
 +
## block comments
 +
## PhpDocBlock
 +
# Heredoc
 +
<br><td> edenk <td> done
 
   <tr>
 
   <tr>
 
       <td> Lex Errors <td>  <td>  
 
       <td> Lex Errors <td>  <td>  
Line 103: Line 144:
 
</table>
 
</table>
  
== DOM model ==
 
<table border=1 width=100% >
 
  <tr width=100% style="color: yellow; background-color: red;" >
 
      <td width=50%> Feature <td width=30%> Responsibility <td width=20%> Status
 
  <tr>
 
      <td> PHP DOM  <td>  <td>
 
  <tr>
 
      <td> Complex with HTML <td>  <td>
 
</table>
 
  
 
== Syntax Errors ==
 
== Syntax Errors ==

Revision as of 08:20, 6 December 2006

Core - Document Model

  • Lexer
Feature Responsibility Status
PHP4
  1. Reserved words
  2. Operators
  3. Strings
  4. Comments
    1. line comments
    2. block comments
    3. PhpDocBlock
  5. Heredoc

yaronm done
PHP5
  1. Reserved words
  2. Operators
  3. Strings
  4. Comments
    1. line comments
    2. block comments
    3. PhpDocBlock
  5. Heredoc
edenk done
Lex Errors rganor done
Lexing of sample files and compare with goldens rganor done


  • DOM model
Feature Responsibility Status
PHP DOM
  1. Pure PHP file structure
  2. PHP code embedded in HTML tag
  3. PHP code as html attribute key
  4. PHP code as html attribute value
DOM modeling of sample files and compare with goldens rganor done


  • Source Parser (+Tokenizer)
Feature Responsibility Status
Tokenizer
  1. Pure PHP file structure
  2. PHP code embedded in HTML tag
  3. PHP code as html attribute key
  4. PHP code as html attribute value
Operating SourceParser on sample files and compare with goldens rganor done

Lexer (Model)

Feature Responsibility Status
PHP4
  1. Reserved words
  2. Operators
  3. Strings
  4. Comments
    1. line comments
    2. block comments
    3. PhpDocBlock
  5. Heredoc

yaronm done
PHP5
  1. Reserved words
  2. Operators
  3. Strings
  4. Comments
    1. line comments
    2. block comments
    3. PhpDocBlock
  5. Heredoc

edenk done
Lex Errors

Parser

Feature Responsibility Status
PHP4
PHP5
Parser Errors

Language model

Feature Responsibility Status
PHP4
PHP5

User model

Feature Responsibility Status
PHP4
PHP5
HTML & PHP

Include Path model

Feature Responsibility Status
ZIP files
Folders
Variable
External / Internal

Partitioner

Feature Responsibility Status
Functionality


Syntax Errors

Feature Responsibility Status
Messages

Debug communication

Feature Responsibility Status


Debug messages

Feature Responsibility Status


Debug stack frame

Feature Responsibility Status

Debug server

Feature Responsibility Status

PHPIDE test framework

Feature Responsibility Status
PHP Project rganor done
Goldens rganor done

Back to the top