From 7d209d55290ca2ee1d3ad072608ce58952513f83 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 5 Dec 2024 17:40:53 +0100 Subject: [PATCH] Add test that we have no source of associations that are stub --- .../FamixPythonProject1Test.class.st | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Famix-Python-Importer-Tests/FamixPythonProject1Test.class.st b/src/Famix-Python-Importer-Tests/FamixPythonProject1Test.class.st index b4d23be..1e1fd0d 100644 --- a/src/Famix-Python-Importer-Tests/FamixPythonProject1Test.class.st +++ b/src/Famix-Python-Importer-Tests/FamixPythonProject1Test.class.st @@ -58,6 +58,12 @@ FamixPythonProject1Test >> testAllSourcedEntitiesNotSubHaveSourceAnchor [ self denyEmpty: entity sourceText ] ] +{ #category : 'tests' } +FamixPythonProject1Test >> testAssociationsSourcesAreNeverStub [ + + (self model allUsing: FamixTAssociation) do: [ :association | self deny: association source isStub ] +] + { #category : 'tests - from-import' } FamixPythonProject1Test >> testClassImportsClassFromAModule [