From 9aec70f134460df65e112ac81bd320eceea7c46d Mon Sep 17 00:00:00 2001 From: sarahtathy Date: Thu, 18 Jul 2024 11:23:47 +0200 Subject: [PATCH 1/2] move MFIleTest>>testMDFileOverwriteFileReferenceWhenAnotherSameFile to the class MFEditorFilePresenterTest because this test should use a presenter. --- src/MicroEd-Spec-Tests/MDEditorFilePresenterTest.class.st | 7 +++++++ src/MicroEd-Tests/MDFileTest.class.st | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/MicroEd-Spec-Tests/MDEditorFilePresenterTest.class.st b/src/MicroEd-Spec-Tests/MDEditorFilePresenterTest.class.st index 7458b0d..0e4fd2a 100644 --- a/src/MicroEd-Spec-Tests/MDEditorFilePresenterTest.class.st +++ b/src/MicroEd-Spec-Tests/MDEditorFilePresenterTest.class.st @@ -76,6 +76,13 @@ MDEditorFilePresenterTest >> testGotSyntaxStateWhenIsNotSpecify [ self assert: presenter syntaxState class equals: MDMicroDownSyntax ] +{ #category : 'running' } +MDEditorFilePresenterTest >> testMDFileOverwriteFileReferenceWhenAnotherSameFile [ + + "We want to test how to overwrite the content of a file when there is another file with the same name. " + self skip. +] + { #category : 'tests-interaction' } MDEditorFilePresenterTest >> testOpenIsWorkingSmokeTest [ diff --git a/src/MicroEd-Tests/MDFileTest.class.st b/src/MicroEd-Tests/MDFileTest.class.st index 8475cc5..2409b15 100644 --- a/src/MicroEd-Tests/MDFileTest.class.st +++ b/src/MicroEd-Tests/MDFileTest.class.st @@ -36,13 +36,6 @@ MDFileTest >> tearDown [ super tearDown ] -{ #category : 'running' } -MDFileTest >> testMDFileCreationOverwriteExistingFile [ - - " dans quel cas on voudrait remplacer un fichier. - peut etre si le fichier en question existe deja. il faut donc penser à réécrire le nom du fichier. " -] - { #category : 'running' } MDFileTest >> testMDFileCreationWithExistingFile [ From 39cd5de5a2d8cb5c1f46c6197ab9ddb070f7179e Mon Sep 17 00:00:00 2001 From: sarahtathy Date: Thu, 18 Jul 2024 11:26:16 +0200 Subject: [PATCH 2/2] move the MDFileTest>> testMDFileOverwriteFileReferenceWhenAnotherSameFile to the class MDEditorFilePresenterTest because this test should use a presenter --- src/MicroEd-Spec-Tests/MDEditorFilePresenterTest.class.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MicroEd-Spec-Tests/MDEditorFilePresenterTest.class.st b/src/MicroEd-Spec-Tests/MDEditorFilePresenterTest.class.st index 0e4fd2a..b9292e1 100644 --- a/src/MicroEd-Spec-Tests/MDEditorFilePresenterTest.class.st +++ b/src/MicroEd-Spec-Tests/MDEditorFilePresenterTest.class.st @@ -80,7 +80,7 @@ MDEditorFilePresenterTest >> testGotSyntaxStateWhenIsNotSpecify [ MDEditorFilePresenterTest >> testMDFileOverwriteFileReferenceWhenAnotherSameFile [ "We want to test how to overwrite the content of a file when there is another file with the same name. " - self skip. + self skip. ] { #category : 'tests-interaction' }