Package net.stoerr.chatgpt.codevengine
Class ReplaceRegexActionIT
- java.lang.Object
-
- net.stoerr.chatgpt.codevengine.AbstractActionIT
-
- net.stoerr.chatgpt.codevengine.ReplaceRegexActionIT
-
public class ReplaceRegexActionIT extends AbstractActionIT
-
-
Field Summary
-
Fields inherited from class net.stoerr.chatgpt.codevengine.AbstractActionIT
collector
-
-
Constructor Summary
Constructors Constructor Description ReplaceRegexActionIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
testBothLiteralSearchStringAndPatternGiven()
void
testBothReplacementsGiven()
void
testComplainAboutMultiplesSinceManyMatches()
void
testComplainAboutMultiplesSinceNoMatch()
void
testLiteralReplaceOperation()
void
testLiteralReplaceOperationFileNotFound()
void
testLiteralReplaceOperationMulti()
Deprecated.void
testLiteralSearchStringReplaceOperation()
void
testNoReplacementsGiven()
void
testReplacementWithGroupReferencesNoGroup()
void
testReplacementWithGroupReferencesSuccessful()
void
testReplacementWithGroupReferencesSuccessfulWithMulti()
Deprecated.-
Methods inherited from class net.stoerr.chatgpt.codevengine.AbstractActionIT
checkResponse, readFile, setUp, setUpClass, tearDown, tearDownClass, writeActualAndCompareExpected
-
-
-
-
Method Detail
-
testLiteralReplaceOperation
public void testLiteralReplaceOperation() throws Exception
- Throws:
Exception
-
testLiteralReplaceOperationMulti
@Deprecated public void testLiteralReplaceOperationMulti() throws Exception
Deprecated.- Throws:
Exception
-
testComplainAboutMultiplesSinceNoMatch
public void testComplainAboutMultiplesSinceNoMatch() throws Exception
- Throws:
Exception
-
testComplainAboutMultiplesSinceManyMatches
public void testComplainAboutMultiplesSinceManyMatches() throws Exception
- Throws:
Exception
-
testLiteralReplaceOperationFileNotFound
public void testLiteralReplaceOperationFileNotFound() throws Exception
- Throws:
Exception
-
testBothReplacementsGiven
public void testBothReplacementsGiven() throws Exception
- Throws:
Exception
-
testReplacementWithGroupReferencesNoGroup
public void testReplacementWithGroupReferencesNoGroup() throws Exception
- Throws:
Exception
-
testReplacementWithGroupReferencesSuccessful
public void testReplacementWithGroupReferencesSuccessful() throws Exception
- Throws:
Exception
-
testReplacementWithGroupReferencesSuccessfulWithMulti
@Deprecated public void testReplacementWithGroupReferencesSuccessfulWithMulti() throws Exception
Deprecated.- Throws:
Exception
-
testLiteralSearchStringReplaceOperation
public void testLiteralSearchStringReplaceOperation() throws Exception
- Throws:
Exception
-
-