#
46d7ea4c |
| 12-Jul-2023 |
Ed Tanous <edtanous@google.com> |
Use a real struct
There's no usage of these structures as a tuple, and get<0> isn't very descriptive. Replace them with a struct.
Change-Id: I7705a14fe1486c9398fd4bbc426f3c8208060c8e Signed-off-by
Use a real struct
There's no usage of these structures as a tuple, and get<0> isn't very descriptive. Replace them with a struct.
Change-Id: I7705a14fe1486c9398fd4bbc426f3c8208060c8e Signed-off-by: Ed Tanous <edtanous@google.com>
show more ...
|
#
69cea063 |
| 12-Jul-2023 |
Ed Tanous <edtanous@google.com> |
Use scopes for construction
Change-Id: I92ed65c2b47ad427a36cce7de7db82162f53f28c Signed-off-by: Ed Tanous <edtanous@google.com>
|
#
2fddc40c |
| 23-May-2022 |
Ed Tanous <edtanous@google.com> |
Make test code use the correct signed types
There were a number of comparisons in the tests that were comparing signed ints to unsigned ints. This lead to compiler errors in some cases.
../../../.
Make test code use the correct signed types
There were a number of comparisons in the tests that were comparing signed ints to unsigned ints. This lead to compiler errors in some cases.
../../../../../../workspace/sources/phosphor-snmp/test/test_error_notification.cpp:35:5: required from here | /usr/src/gtest/include/gtest/gtest.h:1545:11: error: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Werror=sign-compare] | if (lhs == rhs) {
This commit fixes it.
Tested: Code compiles, unit test changes only.
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Ib6dd2afced3672ec1f7096ade07b36d53049cf1a
show more ...
|
#
1334b7b3 |
| 22-Feb-2021 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format-11: reformat The .clang-format file here is an old version of the common one. Upgrade to the latest and reformat. Signed-off-by: Patrick Williams <patrick@stwcx.xyz
clang-format-11: reformat The .clang-format file here is an old version of the common one. Upgrade to the latest and reformat. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic87853e6004d2d5ad6645a3ece8c0c87ccc96efd
show more ...
|
#
aea53d07 |
| 06-Sep-2018 |
Ratan Gupta <ratagupt@in.ibm.com> |
Fix spelling errors Change-Id: I60d7f1974dc665647115bbeb9d8172b8790e9c92 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
#
ec26fa6b |
| 16-Apr-2018 |
Ratan Gupta <ratagupt@in.ibm.com> |
Implement sendTrap function This function gets all the objects from the specific notification class and send the snmp trap using the netsnmp lib functions. This commt adds t
Implement sendTrap function This function gets all the objects from the specific notification class and send the snmp trap using the netsnmp lib functions. This commt adds the configure, makefile, bootstrap.sh, clangformat file. Add the unit test cases for ErrorNotification unit. Change-Id: I2e982f18eb2745f2c0c8de0702cc85d12e80f6e3 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|