Skip to content
Permalink
Browse files

Fixing Comments on abstract tests (.umpt)

  • Loading branch information...
SultanEid committed Jul 31, 2018
1 parent ac91455 commit 8003ee357c590b304603eb7ae7180866ef61b4b7
Showing with 49 additions and 19 deletions.
  1. +1 −1 UmpleToTest/UmpleTLTemplates/TestClassGenerator.ump
  2. +1 −1 cruise.umple/test/cruise/umple/implementation/test/Bar1Test.umpt
  3. +1 −1 cruise.umple/test/cruise/umple/implementation/test/Bar2Test.umpt
  4. +1 −1 cruise.umple/test/cruise/umple/implementation/test/Bar3Test.umpt
  5. +1 −1 cruise.umple/test/cruise/umple/implementation/test/Bar4Test.umpt
  6. +1 −1 cruise.umple/test/cruise/umple/implementation/test/BarTest.umpt
  7. +15 −1 ...umple/test/cruise/umple/implementation/test/ClassTemplateTest_ClassCommentWithEmptyLines.test.txt
  8. +4 −1 cruise.umple/test/cruise/umple/implementation/test/ClassTemplateTest_Comment.test.txt
  9. +4 −1 cruise.umple/test/cruise/umple/implementation/test/ClassTemplateTest_GarbageComment.test.txt
  10. +6 −1 cruise.umple/test/cruise/umple/implementation/test/ClassTemplateTest_MultiComment.test.txt
  11. +6 −1 cruise.umple/test/cruise/umple/implementation/test/ClassTemplateTest_MultiLineComment.test.txt
  12. +1 −1 cruise.umple/test/cruise/umple/implementation/test/FooTest.umpt
  13. +1 −1 cruise.umple/test/cruise/umple/implementation/test/StudentTest.umpt
  14. +1 −1 cruise.umple/test/cruise/umple/implementation/test/TokenTest.umpt
  15. +1 −1 cruise.umple/test/cruise/umple/implementation/test/test/ATest.umpt
  16. +1 −1 cruise.umple/test/cruise/umple/implementation/test/test/BTest.umpt
  17. +1 −1 cruise.umple/test/cruise/umple/implementation/test/test/ImmutableATest.umpt
  18. +1 −1 cruise.umple/test/cruise/umple/implementation/test/test/LazyATest.umpt
  19. +1 −1 cruise.umple/test/cruise/umple/implementation/test/test/MethodAssertionTest.umpt
@@ -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)>> ----/////
<<#
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,8 +1,22 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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 ----/////
Test Foo {
@@ -1,8 +1,11 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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 ----/////
Test Student {
@@ -1,8 +1,11 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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 ----/////
Test Student {
@@ -1,8 +1,13 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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 ----/////
Test Student {
@@ -1,8 +1,13 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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 ----/////
Test Student {
@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



@@ -1,6 +1,6 @@
/* EXPERIMENTAL CODE - NON COMPILEABLE VERSION OF Umple xUnit Model */
/*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!*/



0 comments on commit 8003ee3

Please sign in to comment.
You can’t perform that action at this time.