Refactoring-Tests

RBAbstractClassVariableTest
A RBAbstractClassVariableTest is xxxxxxxxx.
Instance Variables
setUp
testAbstractClassVariable
testInheritedName
testMetaClassFailure
testModelAbstractClassVariable
testModelAbstractClassVariableOverridenMethodsInSubclass
testNonExistantName
RBAbstractInstanceVariableTest
A RBAbstractInstanceVariableTest is xxxxxxxxx.
Instance Variables
setUp
testAbstractInstanceVariable
testAbstractWithAssignmentUsed
testAbstractWithDefaultNamesUsed
testInheritedName
testMetaclassInstanceVariables
testNonExistantName
RBAddClassTest
A RBAddClassTest is xxxxxxxxx.
Instance Variables
setUp
testAddClass
testExistingName
testInvalidSubclass
testMetaClassFailure
testModelAddClass
testModelExistingName
testModelInvalidSubclass
RBAddClassVariableTest
A RBAddClassVariableTest is xxxxxxxxx.
Instance Variables
setUp
testAddClassVariable
testAlreadyExistingName
testMetaClassFailure
testMetaclass
testModelAddClassVariable
testModelAlreadyExistingName
testModelMetaclass
RBAddInstanceVariableTest
A RBAddInstanceVariableTest is xxxxxxxxx.
Instance Variables
setUp
testAddInstanceVariable
testAddToModel
testAlreadyExistingName
testModelAlreadyExistingName
testModelMetaclassAlreadyExistingName
testNewExistingName
testNewHierarchyExistingName
RBAddMethodTest
A RBAddMethodTest is xxxxxxxxx.
Instance Variables
setUp
testAddMethod
testBadMethod
testExistingSelector
testModelAddMethod
testModelExistingSelector
testModelInheritedSelector
RBAddParameterTest
A RBAddParameterTest is xxxxxxxxx.
Instance Variables
setUp
testAddParameterForTwoArgumentMessage
testAddParameterThatReferencesGlobalAndLiteral
testAddParameterThatReferencesModelGlobal
testAddParameterThatReferencesSelf
testBadInitializationCode
testModelBadInitializationCode
testModelNonExistantName
testNonExistantName
testPrimitiveMethods
RBBasicLintRuleTest
A RBBasicLintRuleTest is xxxxxxxxx.
Instance Variables
classBlock: <Object>
methodBlock: <Object>
result: <Object>
classBlock
- xxxxx
methodBlock
- xxxxx
result
- xxxxx
abstractClass
addRemoveDependents
assignmentInBlock
assignmentInIfTrue
atIfAbsent
badMessage
badSelectors
booleanPrecedence
canCall:in:from:
checkClass:
checkMethod:
classBlock:
classNameInSelector
classNotReferenced
classShouldNotOverride
collectionCopyEmpty
collectionMessagesToExternalObject
collectionProtocol
consistencyCheck
contains
createMatcherFor:method:
createParseTreeRule:method:name:
createParseTreeRule:name:
definesEqualNotHash
detectContains
endTrueFalse
equalsTrue
equivalentSuperclassMethods
extraBlock
fileBlocks
foobar
fullBlocks
guardingClause
ifTrueBlocks
ifTrueReturns
implementedNotSent
initialize
Subclasses should redefine this method to perform initializations on instance creation
instVarInSubclasses
isEmpty
justSendsSuper
longMethodSize
longMethods
metaclassShouldNotOverride
methodBlock:
minMax
missingSubclassResponsibility
missingYourself
modifiesCollection
new
onlyReadOrWritten
overridesSpecialMessage
precedence
problemCount
protocols
refersToClass
resetResult
result
result:
resultClass:
returnsBooleanAndOther
returnsIfTrue
sendsDifferentSuper
sentNotImplemented
sentNotImplementedInApplication
sizeCheck
stringConcatenation
subclassOf:overrides:
subclassResponsibilityNotDefined
superMessages
superSends
tempVarOverridesInstVar
tempsReadBeforeWritten
threeElementPoint
toDo
unreferencedVariables
usesAdd
usesTrue
utilityMethods
utilityProtocols
variableAssignedLiteral
variableReferencedOnce
viewResults
whileTrue
yourselfNotUsed
RBBrowserEnvironmentTest
A RBBrowserEnvironmentTest is xxxxxxxxx.
Instance Variables
browser: <Object>
universalEnvironment: <Object>
browser
- xxxxx
universalEnvironment
- xxxxx
categoriesFor:
classNamesFor:
classesFor:
copyFor:
keysFor:
numberSelectorsFor:
setUp
storeStringFor:
testAllClassesDo
testAndEnvironment
testBrowserEnvironment
testCategoryEnvironment
testClassEnvironment
testConstructedClassEnvironment
testConstructedSelectorEnvironment
testEnvironmentWrapper
testImplementorsMatching
testMatches
testNotEnvironment
testOrEnvironment
testPackageEnvironment
testProtocolEnvironment
testRemoveSelectorByAndAndNot
testSelectMethods
testSelectorEnvironment
testSystemIntegrity
uniqueClassesIn:
universalTestFor:
RBChildrenToSiblingsTest
A RBChildrenToSiblingsTest is xxxxxxxxx.
Instance Variables
setUp
testBadName
testExistingName
testInvalidSubclass
testMetaClassFailure
testModelChildrenToSibling
RBClassTest
A RBClassTest is xxxxxxxxx.
Instance Variables
messageNodeClass: <Object>
newClass: <Object>
objectClass: <Object>
messageNodeClass
- xxxxx
newClass
- xxxxx
objectClass
- xxxxx
setUp
testDefinesClassVariable
testDefinesInstanceVariable
testDefinesMethod
testDefinesPoolDictionary
testHierarchy
RBClassToRename
A RBClassToRename is xxxxxxxxx.
Instance Variables
builder: <Object>
class: <Object>
rewriteRule: <Object>
builder
- xxxxx
class
- xxxxx
rewriteRule
- xxxxx
method1
method2
RBCompositeLintRuleTest
A RBCompositeLintRuleTest is xxxxxxxxx.
Instance Variables
rules: <Object>
rules
- xxxxx
allRules
checkClass:
checkMethod:
failedRules
hasConflicts
isComposite
isEmpty
lintChecks
problemCount
resetResult
ruleFor:protocol:
rules
rules:
rules:name:
transformations
viewResults
RBCreateAccessorsForVariableTest
A RBCreateAccessorsForVariableTest is xxxxxxxxx.
Instance Variables
setUp
testExistingInstanceVariableAccessors
testNewClassVariableAccessors
testNewInstanceVariableAccessors
testNonExistantName
RBExtractMethodTest
A RBExtractMethodTest is xxxxxxxxx.
Instance Variables
testBadInterval
testExtractFailure
testExtractMethodAtEndOfMethodThatNeedsReturn
testExtractMethodThatMovesTemporaryVariable
testExtractMethodThatNeedsArgument
testExtractMethodThatNeedsTemporaryVariable
testModelExtractMethodWithTemporariesSelected
testModelExtractMethodWithTemporaryAssigned
testNonExistantSelector
RBExtractMethodToComponentTest
A RBExtractMethodToComponentTest is xxxxxxxxx.
Instance Variables
testBadInterval
testExtractFailure
testExtractMethodAtEndOfMethodThatNeedsReturn
testMoveWithoutSelfReference
testNonExistantSelector
RBExtractToTemporaryTest
A RBExtractToTemporaryTest is xxxxxxxxx.
Instance Variables
testBadInterval
testBadName
testExtractToTemporaryForLastStatementInBlock
testExtractToTemporaryInsideBlock
testNonExistantSelector
RBFooLintRuleTest
A RBFooLintRuleTest is xxxxxxxxx.
Instance Variables
RBFormatterTests
A RBFormatterTests is xxxxxxxxx.
Instance Variables
format:
format:with:
formatters
testCoreSystem
RBInlineAllMethodTest
A RBInlineAllMethodTest is xxxxxxxxx.
Instance Variables
testInlineMethodWithMultipleSendersInMethod
testRecursiveMethod
RBInlineMethodFromComponentTest
A RBInlineMethodFromComponentTest is xxxxxxxxx.
Instance Variables
testInlineComponentIntoCascadedMessage
testInlineComponentMethodMax
testInlineEmptyComponentMethod
testInlineMethodFromComponentFailure
testModelInlineMethodWithSameVariableNames
testModelInlineMethodWithSameVariableNames1
testModelInlineMethodWithSameVariableNames2
RBInlineMethodTest
A RBInlineMethodTest is xxxxxxxxx.
Instance Variables
testBadInterval
testInlineMethod
testInlineMethod1
testInlineMethod2
testInlineMethod3
testInlineMethod4
testInlineMethod5
testInlineMethodForSuperSend
testInlineMethodForSuperSendThatAlsoSendsSuper
testInlineRecursiveCascadedMethod
testModelInlineRecursiveMethod
testNonExistantSelector
testOverriden
testPrimitive
testReturn
RBInlineParameterTest
A RBInlineParameterTest is xxxxxxxxx.
Instance Variables
testInlineBlockFailure
testInlineLiteralArray
RBInlineTemporaryTest
A RBInlineTemporaryTest is xxxxxxxxx.
Instance Variables
testInlineTemporary
testInlineTemporaryBadInterval
testInlineTemporaryMutlipleAssignment
testInlineTemporaryReadBeforeWritten
RBLintRuleTest
A RBLintRuleTest is xxxxxxxxx.
Instance Variables
foo1: <Object>
name: <Object>
foo1
- xxxxx
name
- xxxxx
checkClass:
checkMethod:
displayName
failedRules
hasConflicts
initialize
Subclasses should redefine this method to perform initializations on instance creation
isComposite
isEmpty
junk
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
name:
openEditor
printOn:
Append to the argument, aStream, a sequence of characters that
identifies the receiver.
problemCount
resetResult
run
runOnEnvironment:
viewResults
RBMoveMethodTest
A RBMoveMethodTest is xxxxxxxxx.
Instance Variables
testMoveMethodIntoArgument
testMoveMethodIntoClassVariable
testMoveMethodIntoInstanceVariable
testMoveMethodThatReferencesPoolDictionary
testMovePrimitiveMethod
RBMoveVariableDefinitionTest
A RBMoveVariableDefinitionTest is xxxxxxxxx.
Instance Variables
testMoveDefinition
testMoveDefinitionIntoBlockThatIsAReceiverOfACascadedMessage
testNoMoveDefinition
testNonExistantName
RBNamespaceTest
A RBNamespaceTest is xxxxxxxxx.
Instance Variables
testAllClassesDo
testCommentChange
testDefineClassAfterDeletedChange
testDefineClassChange
testImplementors
testIncludesClass
testModelImplementorsSenders
testRedefineClassChange
testReferencesPrintOn
testReferencesPrintOnAfterRemove
testRemoveClassChange
testReparentSuperclassChange
testRoots
RBParserTest
A RBParserTest is xxxxxxxxx.
Instance Variables
classSearches: <Object>
currentSelector: <Object>
classSearches
- xxxxx
currentSelector
- xxxxx
buildArgumentSearch
buildMessageSearch
buildMethodArgumentSearch
Two argument methods
buildMethodSearch
Simple forwarders
buildMethodTitleSearch
buildSimpleLiteralSearch
buildSimpleVariableSearch
buildStatementSearch
Two or more statements
compare:to:
createArgumentSearchWith:selectors:inClass:
createMethodSearchWith:selectors:inClass:
createSearchWith:selectors:inClass:
currentSelector
parseError:
setUp
testAllSearches
testArray
testBestNodeFor
testBlockRewrites
testCascadeReplacement
testComparingTrees
testCopy
testCreationProtocol
testEquivalentExceptRenaming
testFormatter
testIntervals
testIsA
testLiteralArray
testLiteralIntevals
testMethodPatterns
testModifying
testMultimatch
testNodesDo
testNumberParsing
testNumberRadixParsing
testParents
testParserErrors
testParsingLiteralMessages
testPatternCascade
testPositions
testPragmas
testPrimitives
testQuerying
testReadBeforeWritten
testReadBeforeWritten1
testReplacingNodes
testRewriteMethods
testRewrites
testSearching
testStatements
testSymbolLiteral
treeWithEverything
treeWithReallyEverything
RBProtectInstanceVariableTest
A RBProtectInstanceVariableTest is xxxxxxxxx.
Instance Variables
testProtectInstanceVariable
testVariableNotDefined
RBPullUpClassVariableTest
A RBPullUpClassVariableTest is xxxxxxxxx.
Instance Variables
testMetaClassFailure
testNonExistantName
testPullUpClassVariable
RBPushDownClassVariableTest
A RBPushDownClassVariableTest is xxxxxxxxx.
Instance Variables
testModelNonExistantName
testModelPushDownToMultipleSubclassesFailure
testModelPushDownVariable
testModelPushDownVariableToClassDownTwoLevels
testModelPushDownVariableToMultipleClassesInSameHierarchy
testModelRemoveUnusedVariable
testNonExistantName
testPushDownClassVariable
RBPushDownInstanceVariableTest
A RBPushDownInstanceVariableTest is xxxxxxxxx.
Instance Variables
testModelPushDownToMetaclass
testModelPushDownToMultipleSubclasses
testModelRemoveUnusedVariable
testNonExistantName
testPushDownInstanceVariable
RBPushDownMethodTest
A RBPushDownMethodTest is xxxxxxxxx.
Instance Variables
testPushDownMethod
testPushDownMethodOnNonAbstractClass
testPushDownMethodThatReferencesPoolDictionary
testPushDownNonExistantMenu
RBPushUpInstanceVariableTest
A RBPushUpInstanceVariableTest is xxxxxxxxx.
Instance Variables
testPullUpInstVar
testPullUpVariableNotDefined
RBPushUpMethodTest
A RBPushUpMethodTest is xxxxxxxxx.
Instance Variables
testPushUpAndCopyDown
testPushUpClassMethod
testPushUpMethodWithCopyOverriddenMethodsDown
testPushUpReferencesInstVar
testPushUpWithInvalidSuperSend
testPushUpWithMethodThatCannotBePushedDown
testPushUpWithSuperSendThatCannotBeCopiedDown
RBRefactoringBrowserTest
A RBRefactoringBrowserTest is xxxxxxxxx.
Instance Variables
convertInterval:for:
Convert the interval to ignore differences in end of line conventions.
executeRefactoring:
isAbstract
objectClassVariable
proceedThroughWarning:
RBRefactoringTest
A RBRefactoringTest is xxxxxxxxx.
Instance Variables
changeSet: <Object>
manager: <Object>
model: <Object>
changeSet
- xxxxx
manager
- xxxxx
model
- xxxxx
abstractVariableTestData
childrenToSiblingTestData
inlineMethodTestData
setUp
setupImplementorToInlineFor:toReturn:
setupInlineExpressionFor:toReturn:
setupMethodNameFor:toReturn:
setupMethodNameFor:toReturn:withArguments:
setupSelfArgumentNameFor:toReturn:
setupVariableToMoveToFor:toReturn:
setupVariableTypesFor:toReturn:
shouldFail:
shouldWarn:
tearDown
testConditions
testPrintRefactoringManager
RBRefactoryTestDataApp
A RBRefactoryTestDataApp is xxxxxxxxx.
Instance Variables
temporaryVariable: <Object>
temporaryVariable
- xxxxx
asOrderedCollectionNotNeeded
assignmentInBlock
assignmentInIfTrue
atIfAbsent
badMessage
booleanPrecedence
callFoo
callMethod
called:on1:
called:on:
caller
caller1
caller2
collectSelectNotUsed
collectionMessagesToExternalObject
collectionProtocol
consistencyCheck
contains
cruft
detectContains
endTrueFalse
equalNotUsed
equalsTrue
exampleCall
extraBlock
fileBlocks
foo:
fullBlocks
guardingClause
ifTrueReturns
inlineComponent
inlineFailed
inlineFoo:
inlineJunk
inlineLast
inlineMax
inlineMethod
inlineParameterMethod:
inlineTemporary
isLiteral
Answer whether the receiver has a literal text form recognized by the
compiler.
justSendsSuper
literalArrayCharacters
literalArrayWithTrueFalseOrNil
literalArrayWithTrueFalseOrNil2
longMethods
minMax
Bug in 3<5 ifTrue: [3] ifFalse: [5]
missingYourself
modifiesCollection
moveDefinition
multipleCalls
noIsNil:
noMoveDefinition
precedence
referencesConditionFor:
refersToClass
release
Remove references to objects that may refer to the receiver. This message
should be overridden by subclasses with any cycles, in which case the
subclass should also include the expression super release.
rename:two:
renameThisMethod:
returnInEnsure
returnsBooleanAndOther
returnsIfTrue
searchingLiteral
selectorNotReferenced
sendInlineParameterMethod
sendsDifferentSuper
sizeCheck
stringConcatenation
symbolReference
tempVarOverridesInstVar
tempsReadBeforeWritten
testFoo:
testMethod
testMethod1
threeElementPoint
toDo
toDoCollect
toDoWithIncrement
usesAdd
variableAssignedLiteral
whileTrue
yourselfNotUsed
RBRemoveClassTest
A RBRemoveClassTest is xxxxxxxxx.
Instance Variables
testBadName
testRemoveClass
testRemoveReferenced
RBRemoveClassVariableTest
A RBRemoveClassVariableTest is xxxxxxxxx.
Instance Variables
testNonExistantName
testReferencedVariable
testRemoveClassVar
RBRemoveInstanceVariableTest
A RBRemoveInstanceVariableTest is xxxxxxxxx.
Instance Variables
testModelRemoveInstanceVariable
testNonExistantName
testReferencedVariable
testRemoveInstVar
RBRemoveMethodTest
A RBRemoveMethodTest is xxxxxxxxx.
Instance Variables
expectedFailures
testModelRecursiveMethodThatIsNotReferencedFromOtherMethods
testRemoveMethod
testRemoveReferenced
testRemoveSameMethodButSendsSuper
RBRemoveParameterTest
A RBRemoveParameterTest is xxxxxxxxx.
Instance Variables
testNonExistantName
testPrimitiveMethods
testRemoveParameter
RBRenameClassTest
A RBRenameClassTest is xxxxxxxxx.
Instance Variables
testBadName
testExistingName
testMetaClassFailure
testModelRenameClass
testRenameClass
RBRenameClassVariableTest
A RBRenameClassVariableTest is xxxxxxxxx.
Instance Variables
testAlreadyExistingName
testMetaClassFailure
testNonExistantName
testRenameClassVar
RBRenameInstanceVariableTest
A RBRenameInstanceVariableTest is xxxxxxxxx.
Instance Variables
testAlreadyExistingName
testNonExistantName
testRenameInstVar
RBRenameMethodTest
A RBRenameMethodTest is xxxxxxxxx.
Instance Variables
testExistingSelector
testMultipleSelectors
testRenamePermuteArgs
testRenamePrimitive
testRenameTestMethod
testRenameTestMethod1
RBRenameTemporaryTest
A RBRenameTemporaryTest is xxxxxxxxx.
Instance Variables
testBadInterval
testBadName
testModelBadName
testRenameTemporary
RBSmalllintTest
A RBSmalllintTest is xxxxxxxxx.
Instance Variables
checkRule:isEqualTo:
compare:to:
currentSelector
refactoryTestAppEnvironment
ruleFor:
ruleFor:plusSelectors:
testAsOrderedCollectionNotNeeded
testAssignmentInBlock
testAssignmentInIfTrue
testAtIfAbsent
testBadMessage
testBooleanPrecedence
testCollectSelectNotUsed
testCollectionMessagesToExternalObject
testCollectionProtocol
testConsistencyCheck
testContains
testDetectContains
testEndTrueFalse
testEqualNotUsed
testEqualsTrue
testEquivalentSuperclassMethods
testExtraBlock
testFileBlocks
testFullBlocks
skip this test in squeak
testGuardingClause
testIfTrueBlocks
testIfTrueReturns
testJustSendsSuper
testLiteralArrayCharacters
testLongMethods
testMinMax
testMissingYourself
testModifiesCollection
testPrecedence
testRefersToClass
testReturnInEnsure
testReturnsBooleanAndOther
testReturnsIfTrue
testSearchingLiteral
testSendsDifferentSuper
testSizeCheck
testStringConcatenation
testTempVarOverridesInstVar
testTempsReadBeforeWritten
testThreeElementPoint
testToDo
testToDoCollect
testToDoWithIncrement
testUsesAdd
testWhileTrue
testYourselfNotUsed
RBSubclassOfClassToRename
A RBSubclassOfClassToRename is xxxxxxxxx.
Instance Variables
rewriteRule1: <Object>
rewriteRule1
- xxxxx
calls
calls1
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
reference
rewriteRule1
rewriteRule1:
symbolReference
RBTemporaryToInstanceVariableTest
A RBTemporaryToInstanceVariableTest is xxxxxxxxx.
Instance Variables
setUp
testNonExistantName
testRedefinedTemporary
testTemporaryToInstanceVariable
RBTransformationRuleTest
A RBTransformationRuleTest is xxxxxxxxx.
Instance Variables
builder: <Object>
class: <Object>
rewriteRule: <Object>
builder
- xxxxx
class
- xxxxx
rewriteRule
- xxxxx
assignmentInIfTrue
atIfAbsent
betweenAnd
checkMethod:
detectIfNone
equalNil
guardClause
hasConflicts
initializeAfterLoad1
isEmpty
minMax
notElimination
nuke
problemCount
resetResult
rewrite:methods:name:
rewriteUsing:
showWhileBlocks
superSends
unwindBlocks
viewResults
I reset the result so that we don't fill up memory with methods to compile in the builder.
RBVariableEnvironmentTest
A RBVariableEnvironmentTest is xxxxxxxxx.
Instance Variables
testAddRemove
testInstVars
RBVariableTypeTest
A RBVariableTypeTest is xxxxxxxxx.
Instance Variables
testBasicLintRuleTypes
testCompositeLintRuleTypes
testLintRuleTypes
testParseTreeTypes