1 /** 2 * Copyright 2020 Huawei Technologies Co., Ltd 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 #include <iostream> 17 #include <memory> 18 #include "common/common_test.h" 19 #include "graph/tensor.h" 20 21 #ifdef OPEN_SOURCE 22 #include "ge/client/ge_api.h" 23 #else 24 #include "external/ge/ge_api.h" 25 #endif 26 #include "graph/operator.h" 27 #include "graph/operator_reg.h" 28 29 namespace mindspore { 30 namespace transform { 31 32 class TestGEStub : public UT::Common { 33 public: TestGEStub()34 TestGEStub() {} 35 }; 36 TEST_F(TestGEStub,TestAPI)37TEST_F(TestGEStub, TestAPI) { 38 // only test for ge header compiling 39 ASSERT_TRUE(true); 40 } 41 42 } // namespace transform 43 } // namespace mindspore 44