Skip to content

Commit

Permalink
Fixing Comments on abstract tests (.umpt)
Browse files Browse the repository at this point in the history
  • Loading branch information
SultanEid committed Jul 31, 2018
1 parent ac91455 commit 8003ee3
Show file tree
Hide file tree
Showing 19 changed files with 49 additions and 19 deletions.
2 changes: 1 addition & 1 deletion UmpleToTest/UmpleTLTemplates/TestClassGenerator.ump
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class TestClassGenerator {






<<#// if (uClass.numberOfComments() > 0) { if(!uClass.getComments().get(0).getIsInline()) {append(realSb, "\n{0}", Comment.format("Multiline",uClass.getComments()));} else { append(realSb, "\n{0}", Comment.format("Multiline",uClass.getComments()));} } #>> <<# if (uClass.numberOfComments() > 0) { if(!uClass.getComments().get(0).getIsInline()) {append(realSb, "\n{0}", Comment.format("Multiline",uClass.getComments()));} else { append(realSb, "\n{0}", Comment.format("Multiline",uClass.getComments()));} } #>>


////---- Tests for <<=model.getUmpleFile().getFileName().subSequence(0, model.getUmpleFile().getFileName().length()-4)>> ----///// ////---- Tests for <<=model.getUmpleFile().getFileName().subSequence(0, model.getUmpleFile().getFileName().length()-4)>> ----/////
<<# <<#
Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,22 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/




/*
* I am a class comment.
*
* Notice how there are 4 empty lines below me.
*
*
*
*
* And 2 below me.
*
*
* These lines should come out as we see here.
* Comments such as these are often used to improve readability through whitespace clarity.
*/


////---- Tests for ClassCommentWithEmptyLines ----///// ////---- Tests for ClassCommentWithEmptyLines ----/////
Test Foo { Test Foo {
Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,11 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/




/*
This is a student
*/


////---- Tests for ClassTemplateTest_Comment ----///// ////---- Tests for ClassTemplateTest_Comment ----/////
Test Student { Test Student {
Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,11 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/




/*
This is a student
*/


////---- Tests for ClassTemplateTest_GarbageComment ----///// ////---- Tests for ClassTemplateTest_GarbageComment ----/////
Test Student { Test Student {
Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,13 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/




/*
This is a student
Multiple comments
on several lines
*/


////---- Tests for ClassTemplateTest_MultiComment ----///// ////---- Tests for ClassTemplateTest_MultiComment ----/////
Test Student { Test Student {
Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,13 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/




/*
This is a student
Multiple comments
on several lines
*/


////---- Tests for ClassTemplateTest_MultiLineComment ----///// ////---- Tests for ClassTemplateTest_MultiLineComment ----/////
Test Student { Test Student {
Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */ /* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*PLEASE DO NOT EDIT THIS CODE*/ /*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE ${last.version} modeling language!*/ /*This code was generated using the UMPLE @UMPLE_VERSION@ modeling language!*/






Expand Down

0 comments on commit 8003ee3

Please sign in to comment.