Skip to content

Commit

Permalink
Remove test of removed method
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Sep 15, 2023
1 parent 2f45ec9 commit d5ae7a0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 33 deletions.
47 changes: 15 additions & 32 deletions Iceberg-Plugin-Migration-Tests/IceConvertFormatActionTest.class.st
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Class {
#name : #IceConvertFormatActionTest,
#superclass : #IceAbstractTestCase,
#category : 'Iceberg-Plugin-Migration-Tests'
#name : 'IceConvertFormatActionTest',
#superclass : 'IceAbstractTestCase',
#category : 'Iceberg-Plugin-Migration-Tests',
#package : 'Iceberg-Plugin-Migration-Tests'
}

{ #category : #tests }
{ #category : 'tests' }
IceConvertFormatActionTest >> commitProjectFile [

| change1 change2 |
Expand All @@ -24,12 +25,12 @@ IceConvertFormatActionTest >> commitProjectFile [
self repository commitWithMessage: 'Add project file'.
]

{ #category : #running }
{ #category : 'running' }
IceConvertFormatActionTest >> newFixture [
^ IceBasicRepositoryFixture inGit
]

{ #category : #tests }
{ #category : 'tests' }
IceConvertFormatActionTest >> testConvertEmptyRepositoryToFiletree [

self commitProjectFile.
Expand All @@ -46,7 +47,7 @@ IceConvertFormatActionTest >> testConvertEmptyRepositoryToFiletree [
equals: IceLibgitFiletreeWriter
]

{ #category : #tests }
{ #category : 'tests' }
IceConvertFormatActionTest >> testConvertEmptyRepositoryToTonel [

self commitProjectFile.
Expand All @@ -63,7 +64,7 @@ IceConvertFormatActionTest >> testConvertEmptyRepositoryToTonel [
equals: IceLibgitTonelWriter
]

{ #category : #tests }
{ #category : 'tests' }
IceConvertFormatActionTest >> testConvertToFiletree [
self repository properties fileFormat: IceLibgitTonelWriter.
self repository workingCopy addPackageNamed: self packageName1.
Expand All @@ -89,7 +90,7 @@ IceConvertFormatActionTest >> testConvertToFiletree [
self assert: (self repository headCommit packageNames includes: self packageName1)
]

{ #category : #tests }
{ #category : 'tests' }
IceConvertFormatActionTest >> testConvertToFiletreeDoesNotCorruptPropertiesFile [
self repository properties fileFormat: IceLibgitTonelWriter.
self repository workingCopy addPackageNamed: self packageName1.
Expand All @@ -116,7 +117,7 @@ IceConvertFormatActionTest >> testConvertToFiletreeDoesNotCorruptPropertiesFile
}')
]

{ #category : #tests }
{ #category : 'tests' }
IceConvertFormatActionTest >> testConvertToTonel [
self repository properties fileFormat: IceLibgitFiletreeWriter.
self repository workingCopy addPackageNamed: self packageName1.
Expand All @@ -142,7 +143,7 @@ IceConvertFormatActionTest >> testConvertToTonel [
self assert: (self repository headCommit packageNames includes: self packageName1)
]

{ #category : #tests }
{ #category : 'tests' }
IceConvertFormatActionTest >> testConvertToTonelDoesNotCorruptPropertiesFile [
self repository properties fileFormat: IceLibgitFiletreeWriter.
self repository workingCopy addPackageNamed: self packageName1.
Expand All @@ -169,7 +170,7 @@ IceConvertFormatActionTest >> testConvertToTonelDoesNotCorruptPropertiesFile [
}')
]

{ #category : #tests }
{ #category : 'tests' }
IceConvertFormatActionTest >> testConvertToTonelRemovesFiletreeMetadataFile [
self repository properties fileFormat: IceLibgitFiletreeWriter.
self repository workingCopy addPackageNamed: self packageName1.
Expand Down Expand Up @@ -199,7 +200,7 @@ IceConvertFormatActionTest >> testConvertToTonelRemovesFiletreeMetadataFile [
self deny: (self repository subdirectoryReference / '.filetree') exists
]

{ #category : #tests }
{ #category : 'tests' }
IceConvertFormatActionTest >> testConvertToTonelUsesCorrectPackageName [

self repository properties fileFormat: IceLibgitFiletreeWriter.
Expand Down Expand Up @@ -231,7 +232,7 @@ IceConvertFormatActionTest >> testConvertToTonelUsesCorrectPackageName [
self deny: (self repository headCommit packageNames includes: (self packageName1, '-Tagged'))
]

{ #category : #tests }
{ #category : 'tests' }
IceConvertFormatActionTest >> testConvertToTonelUsesCorrectPackageNameWhenMethodExtensions [

self repository properties fileFormat: IceLibgitFiletreeWriter.
Expand Down Expand Up @@ -263,21 +264,3 @@ IceConvertFormatActionTest >> testConvertToTonelUsesCorrectPackageNameWhenMethod
self assert: (self repository headCommit packageNames includes: self packageName1).
self deny: (self repository headCommit packageNames includes: (self packageName1, '-Tagged'))
]

{ #category : #tests }
IceConvertFormatActionTest >> testObtainCommonCategoryFrom [
| action categories |

action := IceConvertFormatAction new.
categories := #('Seaside-Tests-Component-Stubs' 'Seaside-Tests-Component-Base').

self
assert: (action obtainCommonCategory: 'Seaside-Tests-Component-Stubs' from: categories)
equals: 'Seaside-Tests-Component'.
self
assert: (action obtainCommonCategory: 'Seaside-Tests' from: categories)
equals: 'Seaside-Tests'.
self
assert: (action obtainCommonCategory: 'NONE' from: categories)
equals: ''
]
2 changes: 1 addition & 1 deletion Iceberg-Plugin-Migration-Tests/package.st
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Package { #name : #'Iceberg-Plugin-Migration-Tests' }
Package { #name : 'Iceberg-Plugin-Migration-Tests' }

0 comments on commit d5ae7a0

Please sign in to comment.