| org.netbeans.test.jsf.el.CompletionTest
CompletionTest | public class CompletionTest extends JellyTestCase (Code) | | Test goes throught files and looking for CC Test Steps.
The CC Test Steps are writen in document body as three lines:
JSP comments which start with '<%--CC' prefix, where:
- first line contains ccPrefix with optional '|' character which represents
cursor position
- second line contains ccChoice item which will be used for CC substitution
- third line contains ccResult
For example:
<%--CC
<%@ taglib |
uri
<%@ taglib uri=""
--%>
does:
- inserts '<%@ taglib ' string into new line
- invokes CC
- dumps Completion Query Result
- choses "uri" item from the query result and substitute it
- checks if subtituted line is: '<%@ taglib uri=""'
- undoes all changes
author: ms113234 |
debug | protected boolean debug(Code) | | |
CompletionTest | public CompletionTest(String name, FileObject testFileObj)(Code) | | Need to be defined because of JUnit
|
assertInstanceOf | protected void assertInstanceOf(Class expectedType, Object actual)(Code) | | |
setUp | public void setUp()(Code) | | |
suite | public static Test suite()(Code) | | |
|
|