LCOV - code coverage report
Current view: top level - plugins/lisp/lisp-cp - lisp_test.c (source / functions) Hit Total Coverage
Test: coverage-filtered.info Lines: 5 8 62.5 %
Date: 2023-07-05 22:20:52 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /*
       2             :  * Copyright (c) 2020 Cisco and/or its affiliates.
       3             :  * Licensed under the Apache License, Version 2.0 (the "License");
       4             :  * you may not use this file except in compliance with the License.
       5             :  * You may obtain a copy of the License at:
       6             :  *
       7             :  *     http://www.apache.org/licenses/LICENSE-2.0
       8             :  *
       9             :  * Unless required by applicable law or agreed to in writing, software
      10             :  * distributed under the License is distributed on an "AS IS" BASIS,
      11             :  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      12             :  * See the License for the specific language governing permissions and
      13             :  * limitations under the License.
      14             :  */
      15             : 
      16             : #include <vat/vat.h>
      17             : #include <vlibapi/api.h>
      18             : #include <vlibmemory/api.h>
      19             : 
      20             : clib_error_t *vat_plugin_register_one (vat_main_t * vam);
      21             : clib_error_t *vat_plugin_register_cp (vat_main_t * vam);
      22             : clib_error_t *vat_plugin_register_gpe (vat_main_t * vam);
      23             : 
      24             : clib_error_t *
      25         559 : vat_plugin_register (vat_main_t * vam)
      26             : {
      27             :   clib_error_t *err;
      28             : 
      29         559 :   if ((err = vat_plugin_register_gpe (vam)))
      30           0 :     return err;
      31         559 :   if ((err = vat_plugin_register_cp (vam)))
      32           0 :     return err;
      33         559 :   if ((err = vat_plugin_register_one (vam)))
      34           0 :     return err;
      35             : 
      36         559 :   return NULL;
      37             : }
      38             : 
      39             : /*
      40             :  * fd.io coding-style-patch-verification: ON
      41             :  *
      42             :  * Local Variables:
      43             :  * eval: (c-set-style "gnu")
      44             :  * End:
      45             :  */

Generated by: LCOV version 1.14