[forge/scaffold-html5] c44353: Added tests to verify the generated AngularJS part...
by Vineet Reynolds
Branch: refs/heads/master
Home: https://github.com/forge/scaffold-html5
Commit: c44353c7ea10833eb24ccbfd414651d4ee38a833
https://github.com/forge/scaffold-html5/commit/c44353c7ea10833eb24ccbfd41...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M pom.xml
M src/main/java/org/jboss/forge/scaffold/html5/Html5Scaffold.java
M src/main/resources/scaffold/angularjs/index.html.ftl
M src/main/resources/scaffold/angularjs/partials/detail.html.ftl
A src/main/resources/scaffold/angularjs/partials/includes/basicPropertyDetail.html.ftl
A src/main/resources/scaffold/angularjs/partials/includes/nToManyPropertyDetail.html.ftl
A src/main/resources/scaffold/angularjs/partials/includes/nToOnePropertyDetail.html.ftl
A src/main/resources/scaffold/angularjs/partials/includes/searchFormInput.html.ftl
A src/main/resources/scaffold/angularjs/partials/includes/searchResults.html.ftl
A src/main/resources/scaffold/angularjs/partials/includes/searchResultsPaginator.html.ftl
M src/main/resources/scaffold/angularjs/partials/search.html.ftl
M src/main/resources/scaffold/angularjs/scripts/app.js.ftl
M src/main/resources/scaffold/angularjs/scripts/entityModule.js.ftl
M src/main/resources/scaffold/angularjs/scripts/filters.js.ftl
M src/main/resources/scaffold/angularjs/scripts/includes/editEntityController.js.ftl
M src/main/resources/scaffold/angularjs/scripts/includes/entityFactory.js.ftl
M src/main/resources/scaffold/angularjs/scripts/includes/newEntityController.js.ftl
M src/main/resources/scaffold/angularjs/scripts/includes/searchEntityController.js.ftl
A src/test/java/org/jboss/forge/scaffold/html5/FreemarkerClientPartialsBasicPropertyTest.java
A src/test/java/org/jboss/forge/scaffold/html5/FreemarkerClientPartialsNToManyPropertyTest.java
A src/test/java/org/jboss/forge/scaffold/html5/FreemarkerClientPartialsNToOnePropertyTest.java
A src/test/java/org/jboss/forge/scaffold/html5/FreemarkerClientPartialsSearchInputTest.java
A src/test/java/org/jboss/forge/scaffold/html5/FreemarkerClientPartialsSearchResultsPaginatorTest.java
A src/test/java/org/jboss/forge/scaffold/html5/FreemarkerClientPartialsSearchResultsTest.java
M src/test/java/org/jboss/forge/scaffold/html5/FreemarkerClientTest.java
Log Message:
-----------
Added tests to verify the generated AngularJS partials.
Also refactored the FTL files into more compact units, for the purpose of unit-testing.
Added a callback function to display the generic error message in the event of an error encountered during removal of a JPA entity.
11 years, 8 months