From: "plaisthos (Code Review)"
Date: Mon, 5 Feb 2024 13:43:11 +0000
In-Reply-To:
References:
Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net,
frank@...2641...
Message-ID: <682960e273c54f8b1026567b5f594b9ed64a9f09-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="ye7ynpN4Qfw="; charset=UTF-8
Subject: [Openvpn-devel] [L] Change in openvpn[master]: Turn dead list test
code into unit test
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: flichtenheld , openvpn-devel
--ye7ynpN4Qfw=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld.
plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c=
/openvpn/+/446?usp=3Demail )
Change subject: Turn dead list test code into unit test
......................................................................
Patch Set 4:
(3 comments)
File tests/unit_tests/openvpn/test_misc.c:
http://gerrit.openvpn.net/c/openvpn/+/446/comment/7dac6168_d24ef656 :
PS2, Line 203: ASSERT(hash_add(hash, w->word, w, fa=
lse));
> Should probably use the cmocka assert_true here?
Done
http://gerrit.openvpn.net/c/openvpn/+/446/comment/e8916ca3_ce20ce1e :
PS2, Line 261: ASSERT(count =3D=3D hash_n_elements(hash));
> should use assert_int_equal
Done
http://gerrit.openvpn.net/c/openvpn/+/446/comment/1c366976_7d353c43 :
PS2, Line 268: hash_remove_by_value(nhash, (void *) i);
> can we test that this was successful?
Done
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/446?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7511bc43cd6a0bcb89476f27d5822ab4a78d0d21
Gerrit-Change-Number: 446
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos
Gerrit-Reviewer: flichtenheld
Gerrit-CC: openvpn-devel
Gerrit-Attention: flichtenheld
Gerrit-Comment-Date: Mon, 05 Feb 2024 13:43:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld
Gerrit-MessageType: comment
--ye7ynpN4Qfw=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld.
View C=
hange
3 comments:
Done
To view, visit change 446. To un=
subscribe, or for help writing mail filters, visit settings.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7511bc43cd6a0bcb89476f27d58=
22ab4a78d0d21
Gerrit-Change-Number: 446
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <arne-openvpn@...1711...=
27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...=
41...>
Gerrit-Comment-Date: Mon, 05 Feb 2024 13:43:11=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <frank@...1186...=
.2641...>
Gerrit-MessageType: comment
--ye7ynpN4Qfw=--