From 7a4f831a17e3e12d594b5706853e6d50044afad2 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Mon, 26 Aug 2024 16:25:13 +0200 Subject: [PATCH] Split tests and importer --- src/BaselineOfMoosePy/BaselineOfMoosePy.class.st | 5 +++-- .../FamixPythonImporterTest.class.st | 3 +-- src/Moose-Python-Importer-Tests/package.st | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) rename src/{Moose-Python-Importer => Moose-Python-Importer-Tests}/FamixPythonImporterTest.class.st (99%) create mode 100644 src/Moose-Python-Importer-Tests/package.st diff --git a/src/BaselineOfMoosePy/BaselineOfMoosePy.class.st b/src/BaselineOfMoosePy/BaselineOfMoosePy.class.st index c615976..78425e2 100644 --- a/src/BaselineOfMoosePy/BaselineOfMoosePy.class.st +++ b/src/BaselineOfMoosePy/BaselineOfMoosePy.class.st @@ -15,10 +15,11 @@ BaselineOfMoosePy >> baseline: spec [ spec package: 'Famix-Python-Entities'; package: 'Famix-Python-Generator'; - package: 'Moose-Python-Importer' with: [ spec requires: #( 'Famix-Python-Entities' 'PythonParser' ) ]. + package: 'Moose-Python-Importer' with: [ spec requires: #( 'Famix-Python-Entities' 'PythonParser' ) ]; + package: 'Moose-Python-Importer-Tests' with: [ spec requires: #( 'Famix-Python-Importer' ) ]. spec - group: 'Core' with: #( 'Famix-Python-Entities' 'Moose-Python-Importer' ); + group: 'Core' with: #( 'Famix-Python-Entities' 'Moose-Python-Importer' 'Moose-Python-Importer-Tests'); group: 'Generator' with: #( 'Core' 'Famix-Python-Generator' ) ]. spec for: #NeedsFamix do: [ diff --git a/src/Moose-Python-Importer/FamixPythonImporterTest.class.st b/src/Moose-Python-Importer-Tests/FamixPythonImporterTest.class.st similarity index 99% rename from src/Moose-Python-Importer/FamixPythonImporterTest.class.st rename to src/Moose-Python-Importer-Tests/FamixPythonImporterTest.class.st index 931e5bd..dad17c3 100644 --- a/src/Moose-Python-Importer/FamixPythonImporterTest.class.st +++ b/src/Moose-Python-Importer-Tests/FamixPythonImporterTest.class.st @@ -10,8 +10,7 @@ Class { 'file2' ], #category : 'Moose-Python-Importer-Tests', - #package : 'Moose-Python-Importer', - #tag : 'Tests' + #package : 'Moose-Python-Importer-Tests' } { #category : 'accessing' } diff --git a/src/Moose-Python-Importer-Tests/package.st b/src/Moose-Python-Importer-Tests/package.st new file mode 100644 index 0000000..450910e --- /dev/null +++ b/src/Moose-Python-Importer-Tests/package.st @@ -0,0 +1 @@ +Package { #name : 'Moose-Python-Importer-Tests' }