A C D E F G H I J M O P Q R S T

A

add(Strings) - Method in class comtest.Strings
Add an other list to the end of this list
add(int) - Method in class example.Counter
Adds i to current counter if not allready too many added.
add(String, String) - Method in class example.TableExample
Add new value with key to the table.
addImports() - Method in class comtest.ComTestCpp.ComTestScanner
Add imports-list to outlines Also if doStaticImport is true then add also static import
addToName(String, String) - Static method in class comtest.StringUtilities
Adds a new part to filename

C

checkOptionLine(String, boolean) - Method in class comtest.ComTest.ComTestScanner
Check the selected line by ComTest options
checkOptionLine(String, boolean) - Method in class comtest.ComTestCpp.ComTestScanner
Check the selected line by ComTest options
clone() - Method in class comtest.Strings
Make a new instance from list with same strings inside
codeHandler - Variable in class comtest.ComTest.TestHelpper
Global test codeHandler
codeHandler - Variable in class comtest.ComTestCpp.TestHelpper
Global test codeHandler
comtest - package comtest
 
ComTest - Class in comtest
A class for making testing easy.
ComTest() - Constructor for class comtest.ComTest
 
ComTest.ComTestScanner - Class in comtest
Class to do the file scanning and output for test class
ComTest.ComTestScanner.CommentCodeHandler - Class in comtest
Handles to ComTest-comment and returns the position of last handled line.
ComTest.ComTestScanner.CommentCodeHandler() - Constructor for class comtest.ComTest.ComTestScanner.CommentCodeHandler
 
ComTest.TestHelpper - Class in comtest
A class to help testing ComTest-functions.
ComTest.TestHelpper() - Constructor for class comtest.ComTest.TestHelpper
Initializer for TestHelper
ComTest.TestHelpper(String) - Constructor for class comtest.ComTest.TestHelpper
Initializer for TestHelper
ComTestCpp - Class in comtest
A class for making testing easy.
ComTestCpp() - Constructor for class comtest.ComTestCpp
 
ComTestCpp.ComTestScanner - Class in comtest
Class to do the file scanning and output for test class
ComTestCpp.ComTestScanner.CommentCodeHandler - Class in comtest
Handles to ComTest-comment and returns the position of last handled line.
ComTestCpp.ComTestScanner.CommentCodeHandler() - Constructor for class comtest.ComTestCpp.ComTestScanner.CommentCodeHandler
 
ComTestCpp.StreamGobbler - Class in comtest
A class for capturing the process output see: http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html?
ComTestCpp.TestHelpper - Class in comtest
A class to help testing ComTest-functions.
ComTestCpp.TestHelpper() - Constructor for class comtest.ComTestCpp.TestHelpper
Initializer for TestHelper
ComTestCpp.TestHelpper(String) - Constructor for class comtest.ComTestCpp.TestHelpper
Initializer for TestHelper
ComTestTest - Class in testcomtest
Test class made by ComTest
ComTestTest() - Constructor for class testcomtest.ComTestTest
 
contents - Variable in class comtest.ComTest.TestHelpper
contents of the files
contents - Variable in class comtest.ComTestCpp.TestHelpper
contents of the files
countEndIndex(String, String) - Static method in class comtest.StringUtilities
Counts the index in ending word when the builded string should contain end-string as last characters.
Counter - Class in example
Simple example class to show how to use ComTest.
Counter(int) - Constructor for class example.Counter
Init counter with max N items
CounterTest - Class in example.test
Test class made by ComTest
CounterTest() - Constructor for class example.test.CounterTest
 
createCommentCodeHandler() - Method in class comtest.ComTest.ComTestScanner
This factory method is just for testing purposes
createCommentCodeHandler() - Method in class comtest.ComTestCpp.ComTestScanner
This factory method is just for testing purposes

D

doAfter() - Method in class example.test.CounterTest
 
doInit() - Method in class example.test.CounterTest
 

E

example - package example
 
example.test - package example.test
 

F

findNames(String) - Method in class comtest.ComTest.ComTestScanner
Find outName and className from fileName
findNames(String) - Method in class comtest.ComTestCpp.ComTestScanner
Find outName and className from fileName

G

get(String) - Method in class example.TableExample
Finds the value for key.
getAvg() - Method in class example.Counter
 
getCount() - Method in class example.Counter
 
getCount() - Method in class example.Incrementer
 
getFileContents(String) - Static method in class comtest.StringUtilities
Read the file and return the contents as a ArrayList
getInitCmnds() - Method in class comtest.ComTest.ComTestScanner.CommentCodeHandler
This is just for testing purposes to return the initCmds
getInitCmnds() - Method in class comtest.ComTestCpp.ComTestScanner.CommentCodeHandler
This is just for testing purposes to return the initCmds
getLineIndent(String, int) - Static method in class comtest.StringUtilities
Returns indent string copied from line.
getMax() - Method in class example.Counter
 
getMin() - Method in class example.Counter
 
getOut() - Method in class comtest.ComTest.TestHelpper
Gte the outlines as array
getOut() - Method in class comtest.ComTestCpp.TestHelpper
Gte the outlines as array
getOutlines() - Method in class comtest.ComTest.ComTestScanner
This method is just for testing purposes to return current outlines.
getOutlines() - Method in class comtest.ComTestCpp.ComTestScanner
This method is just for testing purposes to return current outlines.
getSum() - Method in class example.Counter
 

H

handleAnnotationInComments(String) - Method in class comtest.ComTest.ComTestScanner.CommentCodeHandler
Annotations in comments must be prefixed with something.
handleAnnotationInComments(String) - Method in class comtest.ComTestCpp.ComTestScanner.CommentCodeHandler
Annotations in comments must be prefixed with something.
handleSentences(String) - Method in class comtest.ComTest.ComTestScanner.CommentCodeHandler
Handles normal lines and table lines from ComTest lines.
handleSentences(String) - Method in class comtest.ComTestCpp.ComTestScanner.CommentCodeHandler
Handles normal lines and table lines from ComTest lines.

I

imports - Variable in class comtest.ComTest.TestHelpper
Import lines
imports - Variable in class comtest.ComTestCpp.TestHelpper
Import lines
inc() - Method in class example.Incrementer
Increment the value by one
Incrementer - Class in example
A very simple class to test
Incrementer() - Constructor for class example.Incrementer
Initialize the incrementer
IncrementerTest - Class in example.test
Test class made by ComTest
IncrementerTest() - Constructor for class example.test.IncrementerTest
 
indexOfBack(String, String, int) - Static method in class comtest.StringUtilities
Searches what backwards from pos and returns position found
indexOfNotInQuotes(String, String, String, int) - Static method in class comtest.StringUtilities
Find first instance of what that is not inside of quotes
indexOfNotInQuotes(String, String) - Static method in class comtest.StringUtilities
Find first instance of what that is not inside of quotes
indexOfNotInQuotes(StringBuilder, String, String, int) - Static method in class comtest.StringUtilities
Find first instance of what that is not inside of quotes.
indexOfNotInQuotes(StringBuilder, String, String) - Static method in class comtest.StringUtilities
Find first instance of what that is not inside of quotes
indexOfNotInQuotes(StringBuilder, String) - Static method in class comtest.StringUtilities
Find first instance of what that is not inside of quotes
indexOfNotInQuotes(String, String, String) - Static method in class comtest.StringUtilities
Find first instance of what that is not inside of quotes
init() - Method in class testcomtest.ComTestTest
 
initCmnds - Variable in class comtest.ComTest.TestHelpper
Global list for test initCmnds
initCmnds - Variable in class comtest.ComTestCpp.TestHelpper
Global list for test initCmnds
isEmpty(String) - Static method in class comtest.StringUtilities
Check if string is empty
isEmpty(StringBuilder) - Static method in class comtest.StringUtilities
Check if string is empty
isTableLine(String) - Method in class comtest.ComTest.ComTestScanner.CommentCodeHandler
Check if the line is a table line, so containing either " | " or | at the beginning or end.
isTableLine(String) - Method in class comtest.ComTestCpp.ComTestScanner.CommentCodeHandler
Check if the line is a table line, so containing either " | " or | at the beginning or end.

J

justFilePart(String) - Static method in class comtest.StringUtilities
Returns just the file part from fileName.

M

main(String[]) - Static method in class comtest.ComTest
 
main(String[]) - Static method in class comtest.ComTestCpp
 
main(String[]) - Static method in class example.TableExample
 

O

out - Variable in class comtest.ComTest.TestHelpper
Global list of outlines
out - Variable in class comtest.ComTestCpp.TestHelpper
Global list of outlines
outLines - Variable in class comtest.ComTest.TestHelpper
Global list for test outLines
outLines - Variable in class comtest.ComTestCpp.TestHelpper
Global list for test outLines
outNewHeader() - Method in class comtest.ComTest.ComTestScanner.CommentCodeHandler
Moves header lines to outlines.
outNewHeader() - Method in class comtest.ComTestCpp.ComTestScanner.CommentCodeHandler
Moves header lines to outlines.

P

processFile(String) - Static method in class comtest.ComTest
Process the file and make a unit test
processFile(String) - Static method in class comtest.ComTestCpp
Process the file and make a unit test

Q

QUOTES - Static variable in class comtest.StringUtilities
Chars that are handled as quote chars

R

readCode(int) - Method in class comtest.ComTest.ComTestScanner.CommentCodeHandler
Reads the code from contents starting from line start and returns the line last handled.
readCode(int) - Method in class comtest.ComTestCpp.ComTestScanner.CommentCodeHandler
Reads the code from contents starting from line start and returns the line last handled.
remove(String, String) - Static method in class comtest.StringUtilities
Removes from s the first instance of what
remove(StringBuilder, String) - Static method in class comtest.StringUtilities
Removes from s the first instance of what
removeAllAfter(String, String) - Static method in class comtest.StringUtilities
Returns a string where all after afterWhat string is removed Also the afterWhat is removed.
removeAllAfter(StringBuilder, String) - Static method in class comtest.StringUtilities
Returns a string where all after afterWhat string is removed Also the afterWhat is removed.
removeFromBegining(String, String, int) - Static method in class comtest.StringUtilities
Removes n instances of what from the beginning of s
removeFromBegining(String, String) - Static method in class comtest.StringUtilities
Removes all instances of what from the beginning of s
removeFromBeginingTrim(String, String) - Static method in class comtest.StringUtilities
Removes all instances of what from the beginning of s If there is only spaces before s, then remove them also.
removeRange(int, int) - Method in class comtest.Strings
Remove a part from list
replace(String, String) - Method in class comtest.Strings
Replace from every line target by replacement.
run(String, String) - Static method in class comtest.ComTestCpp
Run the command and wait until end
run() - Method in class comtest.ComTestCpp.StreamGobbler
 

S

scan(String) - Method in class comtest.ComTest.ComTestScanner
Scan the contents and make a test class
scan(int) - Method in class comtest.ComTest.TestHelpper
Scan the contents
scan(String) - Method in class comtest.ComTest.TestHelpper
Scan the contents
scan(String) - Method in class comtest.ComTestCpp.ComTestScanner
Scan the contents and make a test class
scan(int) - Method in class comtest.ComTestCpp.TestHelpper
Scan the contents
scan(String) - Method in class comtest.ComTestCpp.TestHelpper
Scan the contents
scanLine(String) - Static method in class comtest.ComTest.TestHelpper
Scans a line and returns ComTest output for that line
scanLine(String) - Static method in class comtest.ComTestCpp.TestHelpper
Scans a line and returns ComTest output for that line
scanLineTrim(String) - Static method in class comtest.ComTest.TestHelpper
Scans a line and returns ComTest trimmed output for that line
scanLineTrim(String) - Static method in class comtest.ComTestCpp.TestHelpper
Scans a line and returns ComTest trimmed output for that line
scanner - Variable in class comtest.ComTest.TestHelpper
Global test scanner
scanner - Variable in class comtest.ComTestCpp.TestHelpper
Global test scanner
scanToLine(String) - Static method in class comtest.ComTest.TestHelpper
Scans line to one line
scanToLine(String) - Static method in class comtest.ComTestCpp.TestHelpper
Scans line to one line
splitBy(String, String, int, boolean) - Static method in class comtest.StringUtilities
Splits s to pieces from where.
splitBy(String, String, int) - Static method in class comtest.StringUtilities
Splits s to pieces from where.
splitBy(String, String) - Static method in class comtest.StringUtilities
Splits s to pieces from where.
splitToSentences(String) - Static method in class comtest.ComTest
Split line to smaller tokens.
splitToSentences(String) - Static method in class comtest.ComTestCpp
Split line to smaller tokens.
Strings - Class in comtest
Class for handling String lists
Strings() - Constructor for class comtest.Strings
 
StringsTest - Class in testcomtest
Test class made by ComTest
StringsTest() - Constructor for class testcomtest.StringsTest
 
StringUtilities - Class in comtest
A collection of static string handling functions to make the string handling in ComTest more easy.
StringUtilities() - Constructor for class comtest.StringUtilities
 
StringUtilitiesTest - Class in testcomtest
Test class made by ComTest
StringUtilitiesTest() - Constructor for class testcomtest.StringUtilitiesTest
 

T

TableExample - Class in example
A class for showing how to test table-like objects.
TableExample() - Constructor for class example.TableExample
 
TableExampleTest - Class in example.test
Test class made by ComTest
TableExampleTest() - Constructor for class example.test.TableExampleTest
 
template - Variable in class comtest.ComTest.TestHelpper
Global list for test templates
template - Variable in class comtest.ComTestCpp.TestHelpper
Global list for test templates
testAdd() - Method in class testcomtest.StringsTest
testAdd
testAdd24() - Method in class example.test.TableExampleTest
testAdd24
testAddToName() - Method in class testcomtest.StringUtilitiesTest
testAddToName
testCheckOptionLine1658() - Method in class testcomtest.ComTestTest
testCheckOptionLine1658
testCheckThrows939() - Method in class testcomtest.ComTestTest
testCheckThrows939
testClone() - Method in class testcomtest.StringsTest
testClone
testcomtest - package testcomtest
 
testCountEndIndex505() - Method in class testcomtest.StringUtilitiesTest
testCountEndIndex505
testCounterAdd() - Method in class example.test.CounterTest
testCounterAdd
testCounterAddTable() - Method in class example.test.CounterTest
testCounterAddTable
testCounterAddTable2() - Method in class example.test.CounterTest
testCounterAddTable2
testCounterAddTable3() - Method in class example.test.CounterTest
testCounterAddTable3
testDouble() - Method in class testcomtest.ComTestTest
testDouble
testException() - Method in class testcomtest.ComTestTest
testException
testGet48() - Method in class example.test.TableExampleTest
testGet48
testGetCount41() - Method in class example.test.IncrementerTest
testGetCount41
testGetFileContents() - Method in class testcomtest.StringUtilitiesTest
testGetFileContents
testGetLineIndent585() - Method in class testcomtest.StringUtilitiesTest
testGetLineIndent585
testGlobalList() - Method in class testcomtest.ComTestTest
testGlobalList
testGlobalList2() - Method in class testcomtest.ComTestTest
testGlobalList2
testHandleAnnotationInComments1099() - Method in class testcomtest.ComTestTest
testHandleAnnotationInComments1099
testHandleSentences1230() - Method in class testcomtest.ComTestTest
testHandleSentences1230
testHandleSentences1269() - Method in class testcomtest.ComTestTest
testHandleSentences1269
testHandleSentences1279() - Method in class testcomtest.ComTestTest
testHandleSentences1279
testHandleSentences1285() - Method in class testcomtest.ComTestTest
testHandleSentences1285
testInc27() - Method in class example.test.IncrementerTest
testInc27
testIncrementer14() - Method in class example.test.IncrementerTest
testIncrementer14
testIndexOfBack548() - Method in class testcomtest.StringUtilitiesTest
testIndexOfBack548
testIndexOfNotInQuotes() - Method in class testcomtest.StringUtilitiesTest
testIndexOfNotInQuotes
testIsEmpty605() - Method in class testcomtest.StringUtilitiesTest
testIsEmpty605
testIsEmpty629() - Method in class testcomtest.StringUtilitiesTest
testIsEmpty629
testIsTableLine1133() - Method in class testcomtest.ComTestTest
testIsTableLine1133
testJustFilePart() - Method in class testcomtest.StringUtilitiesTest
testJustFilePart
testRegExp() - Method in class testcomtest.ComTestTest
testRegExp
testRemove396() - Method in class testcomtest.StringUtilitiesTest
testRemove396
testRemove407() - Method in class testcomtest.StringUtilitiesTest
testRemove407
testRemove429() - Method in class testcomtest.StringUtilitiesTest
testRemove429
testRemove441() - Method in class testcomtest.StringUtilitiesTest
testRemove441
testRemoveAllAfter298() - Method in class testcomtest.StringUtilitiesTest
testRemoveAllAfter298
testRemoveAllAfter321() - Method in class testcomtest.StringUtilitiesTest
testRemoveAllAfter321
testRemoveFromBegining() - Method in class testcomtest.StringUtilitiesTest
testRemoveFromBegining
testRemoveFromBeginingN() - Method in class testcomtest.StringUtilitiesTest
testRemoveFromBeginingN
testRemoveFromBeginingTrim() - Method in class testcomtest.StringUtilitiesTest
testRemoveFromBeginingTrim
testReplace() - Method in class testcomtest.StringsTest
testReplace
testScanLine1945() - Method in class testcomtest.ComTestTest
testScanLine1945
testScanLineTrim1962() - Method in class testcomtest.ComTestTest
testScanLineTrim1962
testScanToLine1981() - Method in class testcomtest.ComTestTest
testScanToLine1981
testSplitBy() - Method in class testcomtest.StringUtilitiesTest
testSplitBy
testSplitBy87() - Method in class testcomtest.StringUtilitiesTest
testSplitBy87
testSplitToSentences433() - Method in class testcomtest.ComTestTest
testSplitToSentences433
testStringAdd() - Method in class testcomtest.ComTestTest
testStringAdd
testStringAdd2() - Method in class testcomtest.ComTestTest
testStringAdd2
testStringAdd3() - Method in class testcomtest.ComTestTest
testStringAdd3
testStringAdd4() - Method in class testcomtest.ComTestTest
testStringAdd4
testStringAdd5() - Method in class testcomtest.ComTestTest
testStringAdd5
testStrings() - Method in class testcomtest.StringsTest
testStrings
testToString118() - Method in class testcomtest.StringsTest
testToString118
testToString146() - Method in class testcomtest.StringsTest
testToString146
testTrim653() - Method in class testcomtest.StringUtilitiesTest
testTrim653
testTryToFindMethodName868() - Method in class testcomtest.ComTestTest
testTryToFindMethodName868
toString(String, String) - Method in class comtest.Strings
Returns the list as separated by separator;
toString(String) - Method in class comtest.Strings
Returns the list as separated by separator;
trim(StringBuilder) - Static method in class comtest.StringUtilities
Removes spaces from begin and end of s
tryToFindMethodName(Strings, int) - Method in class comtest.ComTest.ComTestScanner.CommentCodeHandler
Try to find name for next method.
tryToFindMethodName(Strings, int) - Method in class comtest.ComTestCpp.ComTestScanner.CommentCodeHandler
Try to find name for next method.

A C D E F G H I J M O P Q R S T