Skip to content
Success

Changes

Summary

  1. Core: - Added check regarding the existence of at least one constructor in the ConstructorReferencer. This means that all classes defined in wtf-models need an explicitely defined constructor from now on! CoreTests: - Adapted test models to the change above by adding constructors. Generator: - No Constructors will be generated anymore if the constructor list of the ast type is empty. - For every constructor in the AST-types list a constructor with the mutable map as parameter (calling $super) and another constructor without the mutable map that calls the constructor with the mutable map will be generated from now on. - Adapted test cases due to the changes above (Added constructors).
Revision 4146 by hfi413te:
Core: - Added check regarding the existence of at least one constructor in the ConstructorReferencer.
This means that all classes defined in wtf-models need an explicitely defined constructor from now on!

CoreTests: - Adapted test models to the change above by adding constructors.
Generator: - No Constructors will be generated anymore if the constructor list of the ast type is empty.
- For every constructor in the AST-types list a constructor with the mutable map as parameter (calling $super) and another constructor without the mutable map that calls the constructor with the mutable map will be generated from now on.
- Adapted test cases due to the changes above (Added constructors).
Change TypePath in RepositoryPath in Workspace
The file was modified/trunk/Workspace/Core/src/main/java/de/fhdw/wtf/walker/tasks/ConstructorReferencer.javaCore/src/main/java/de/fhdw/wtf/walker/tasks/ConstructorReferencer.java
The file was modified/trunk/Workspace/CoreTests/src/test/java/de/fhdw/wtf/common/ast/type/test/StandardizeSumsTest.javaCoreTests/src/test/java/de/fhdw/wtf/common/ast/type/test/StandardizeSumsTest.java
The file was modified/trunk/Workspace/CoreTests/src/test/java/de/fhdw/wtf/tooling/test/SyntaxCheckTest.javaCoreTests/src/test/java/de/fhdw/wtf/tooling/test/SyntaxCheckTest.java
The file was modified/trunk/Workspace/CoreTests/src/test/java/de/fhdw/wtf/tooling/test/files/InvalidPerson.modelCoreTests/src/test/java/de/fhdw/wtf/tooling/test/files/InvalidPerson.model
The file was modified/trunk/Workspace/CoreTests/src/test/java/de/fhdw/wtf/tooling/test/files/Person.modelCoreTests/src/test/java/de/fhdw/wtf/tooling/test/files/Person.model
The file was modified/trunk/Workspace/CoreTests/src/test/java/de/fhdw/wtf/tooling/test/files/ProblemModel.modelCoreTests/src/test/java/de/fhdw/wtf/tooling/test/files/ProblemModel.model
The file was modified/trunk/Workspace/CoreTests/src/test/java/de/fhdw/wtf/tooling/test/files/ProblemModel2.modelCoreTests/src/test/java/de/fhdw/wtf/tooling/test/files/ProblemModel2.model
The file was modified/trunk/Workspace/Generator/src/main/java/de/fhdw/wtf/generator/transformer/transformers/classTransformer/ConstructorCallGenerationTask.javaN/A
The file was modified/trunk/Workspace/Generator/src/test/java/clipper/LinkToGenClassTest.javaN/A
The file was modified/trunk/Workspace/Generator/src/test/java/integration/GenerationTest.javaN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/ClassTwoHierarchieWithVisitableModifiers.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/ClassWithSumAttributeOnlyBasetypesInTheSum.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/ClassWithTwoSubclassesAndSumOfSubclasses.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/OperationWithManyThrownType.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/OperationWithOneThrownType.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/OperationWithThrownTypesAndReturnedException.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/Person.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/Person2.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/testClassComment.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/testConstructor.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/testImportOperations.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/testImportOperationsMC.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/testImportOverridingOperations.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/testImports.modelN/A
The file was modified/trunk/Workspace/Generator/src/test/resources/models/testProtectedArea.modelN/A