[common][mltrain][remove compile option ABortError] 39/275539/1
authorchen <chen89.chen@samsung.com>
Thu, 26 May 2022 06:20:25 +0000 (14:20 +0800)
committerchen <chen89.chen@samsung.com>
Thu, 26 May 2022 06:21:19 +0000 (14:21 +0800)
Change-Id: I3199fc31ede38388cb0d7a3014bd74e542dcad7c
Signed-off-by: chen <chen89.chen@samsung.com>
common/tct-mltrain-tizen-tests/mltrain/Model_compile_options_AbortError.html [deleted file]
common/tct-mltrain-tizen-tests/tests.full.xml
common/tct-mltrain-tizen-tests/tests.xml

diff --git a/common/tct-mltrain-tizen-tests/mltrain/Model_compile_options_AbortError.html b/common/tct-mltrain-tizen-tests/mltrain/Model_compile_options_AbortError.html
deleted file mode 100755 (executable)
index 8244a5c..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2022 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Chen Chen <chen89.chen@samsung.com>
-
--->
-<html>
-<head>
-<title>Model_compile_options_AbortError</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: Model_compile_options_AbortError
-//==== LABEL Check if Model:compile() with incorrect argument throws an exception.
-//==== SPEC Tizen Web API:TBD:Trainer:Model:compile M
-//==== SPEC_URL TBD
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
-    var model = tizen.ml.trainer.createModel();
-    var compileOpts = {
-        loss: "cross", batch_size: "16"
-    }
-    assert_throws(ABORT_EXCEPTION, function () {
-        model.compile(compileOpts);
-    }, "should be thrown - given incorrect option.");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
index 15604a9339108eb6325f5482ed998f1599483254..c7f40996211206f281a52771cd2b00cab02209ec 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if Model:compile() with incorrect argument throws an exception. " type="compliance" status="approved" component="Tizen Web Device APIs/TBD/Trainer" execution_type="auto" priority="P2 " id="Model_compile_options_AbortError">
+      <!-- <testcase purpose="Check if Model:compile() with incorrect argument throws an exception. " type="compliance" status="approved" component="Tizen Web Device APIs/TBD/Trainer" execution_type="auto" priority="P2 " id="Model_compile_options_AbortError">
         <description>
           <test_script_entry>/opt/tct-mltrain-tizen-tests/mltrain/Model_compile_options_AbortError.html</test_script_entry>
         </description>
             <spec_statement>TBD</spec_statement>
           </spec>
         </specs>
-      </testcase>
+      </testcase> -->
       <!-- <testcase purpose="Check if Model:dispose() throw exception ModificationNotAllowedError if Model compilation or training is in progress . " type="compliance" status="approved" component="Tizen Web Device APIs/TBD/Trainer" execution_type="auto" priority="P1 " id="Model_dispose_ModificationNotAllowedError">
         <description>
           <test_script_entry>/opt/tct-mltrain-tizen-tests/mltrain/Model_dispose_ModificationNotAllowedError.html</test_script_entry>
index 6cb6ab63b4a55dc3cb51432c00dd084c26b34b83..f724edaf144e6b09adcfcb4536d8d4d2dccfd159 100755 (executable)
           <test_script_entry>/opt/tct-mltrain-tizen-tests/mltrain/MachineLearningTrainer_createOptimizer_type_AbortError.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if Model:compile() with incorrect argument throws an exception. " component="Tizen Web Device APIs/TBD/Trainer" execution_type="auto" priority="P2 " id="Model_compile_options_AbortError">
+      <!-- <testcase purpose="Check if Model:compile() with incorrect argument throws an exception. " component="Tizen Web Device APIs/TBD/Trainer" execution_type="auto" priority="P2 " id="Model_compile_options_AbortError">
         <description>
           <test_script_entry>/opt/tct-mltrain-tizen-tests/mltrain/Model_compile_options_AbortError.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase> -->
       <!-- <testcase purpose="Check if Model:dispose() throw exception ModificationNotAllowedError if Model compilation or training is in progress . " component="Tizen Web Device APIs/TBD/Trainer" execution_type="auto" priority="P1 " id="Model_dispose_ModificationNotAllowedError">
         <description>
           <test_script_entry>/opt/tct-mltrain-tizen-tests/mltrain/Model_dispose_ModificationNotAllowedError.html</test_script_entry>