From 671d220bb6593f89e944e4e0716e7ef83763968d Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Mon, 7 Dec 2015 16:29:38 +0000
Subject: [PATCH] SSDM-2788 : Refactoring and special handlers

SVN: 35236
---
 .../html/test/test-jsVSjava.js                    | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/js-test/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/test-jsVSjava.js b/js-test/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/test-jsVSjava.js
index f2a4e0fffe8..6073fa43417 100644
--- a/js-test/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/test-jsVSjava.js
+++ b/js-test/servers/common/core-plugins/tests/1/as/webapps/openbis-v3-api-test/html/test/test-jsVSjava.js
@@ -28,6 +28,13 @@ define([ 'jquery', 'underscore', 'openbis', 'test/common' ], function($, _, open
 			callback();
 		}
 		
+		var notCheckedButWeShould = function(testsResults, javaClassReport, callback) {
+			var warningResult = "Java class ignored, exists in custom file, special case not validated yet: " + javaClassReport.name;
+			testsResults.warning.push(warningResult);
+			console.info(warningResult);
+			callback();
+		}
+		
 		var javaLevelHandlers = {
 				"AbstractCollectionView" : ignoredHandler,
 				"ListView" : ignoredHandler,
@@ -48,7 +55,13 @@ define([ 'jquery', 'underscore', 'openbis', 'test/common' ], function($, _, open
 				"DataSetFileSearchCriteria" : toBeImplementedHandler,
 				"DataSetFile" : toBeImplementedHandler,
 				"DataSetFilePermId" : toBeImplementedHandler,
-				"IDataSetFileId" : toBeImplementedHandler
+				"IDataSetFileId" : toBeImplementedHandler,
+				"DataSetChildrenSearchCriteria" : notCheckedButWeShould,
+				"DataSetContainerSearchCriteria" : notCheckedButWeShould,
+				"DataSetParentsSearchCriteria" : notCheckedButWeShould,
+				"SampleChildrenSearchCriteria" : notCheckedButWeShould,
+				"SampleContainerSearchCriteria" : notCheckedButWeShould,
+				"SampleParentsSearchCriteria" : notCheckedButWeShould
 		}
 		
 		//
-- 
GitLab