polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject polygene-java git commit: Putting in appTypes into generator.
Date Thu, 13 Apr 2017 05:59:25 GMT
Repository: polygene-java
Updated Branches:
  refs/heads/develop 1f47208e2 -> 0fc84c742


Putting in appTypes into generator.


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/0fc84c74
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/0fc84c74
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/0fc84c74

Branch: refs/heads/develop
Commit: 0fc84c742a499b0728d666067056ff441f29ed36
Parents: 1f47208
Author: niclas <niclas@spicter.com>
Authored: Thu Apr 13 13:59:07 2017 +0800
Committer: niclas <niclas@spicter.com>
Committed: Thu Apr 13 13:59:07 2017 +0800

----------------------------------------------------------------------
 tools/generator-polygene/test/generator_test.js | 21 +++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/0fc84c74/tools/generator-polygene/test/generator_test.js
----------------------------------------------------------------------
diff --git a/tools/generator-polygene/test/generator_test.js b/tools/generator-polygene/test/generator_test.js
index 6982c27..5ca6e8b 100644
--- a/tools/generator-polygene/test/generator_test.js
+++ b/tools/generator-polygene/test/generator_test.js
@@ -87,13 +87,15 @@ featuresset.forEach(function (feature) {
 });
 
 // All Tests !!!!
-entityStores.forEach(function (entitystore) {
-    indexings.forEach(function (indexing) {
-        serializations.forEach(function (serialization) {
-            cachings.forEach(function (caching) {
-                metricses.forEach(function (metrics) {
-                    featuresset.forEach(function (features) {
-                        test(entitystore, indexing, serialization, caching, metrics, features)
+appTypes.forEach(function (appType) {
+    entityStores.forEach(function (entitystore) {
+        indexings.forEach(function (indexing) {
+            serializations.forEach(function (serialization) {
+                cachings.forEach(function (caching) {
+                    metricses.forEach(function (metrics) {
+                        featuresset.forEach(function (features) {
+                            test(appType, entitystore, indexing, serialization, caching,
metrics, features)
+                        });
                     });
                 });
             });
@@ -101,10 +103,10 @@ entityStores.forEach(function (entitystore) {
     });
 });
 
-function test(entityStore, indexing, serialization, caching, metrics, features) {
+function test(appType, entityStore, indexing, serialization, caching, metrics, features)
{
     describe('polygene-generator', function () {
         this.timeout(10000);
-        it('generates a Gradle buildable Apache Polygene project with '
+        it('generates a Gradle buildable ' + appType + ' Apache Polygene project with '
             + entityStore + 'EntityStore, '
             + indexing + 'Indexing, '
             + serialization + 'Serialzation, '
@@ -117,6 +119,7 @@ function test(entityStore, indexing, serialization, caching, metrics,
features)
                     .withPrompts({
                         name: 'test-project',
                         packageName: 'org.apache.polygene.generator.test',
+                        applicationtype: appType,
                         entitystore: entityStore,
                         serialization: serialization,
                         indexing: indexing,


Mime
View raw message