Граф коммитов

27 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd d1108c1e52 Bug 1311068 - remove InitializerList.h; r=botond
We needed this polyfill for <initializer_list> when some of our C++
standard libraries did not support said header.  They all do now, so the
polyfill is redundant.
2016-10-19 00:33:14 -04:00
Byron Campen [:bwc] f6af4a9282 Bug 1157323 - Part 1: Make TestTimers a unit-test. r=froydnj
MozReview-Commit-ID: HPdP3muvzU8

--HG--
extra : rebase_source : a4728b9a4fdf1b1de354c04351d35dfb58edf693
2016-06-23 17:05:40 -05:00
Jeremy Chen 722ad026a3 Bug 1297306 - part4:rename IsEnumFittingWithin with EnumTypeFitsWithin and move it to mfbt/EnumTypeTraits.h. r=froydnj
With this change, we could share this EnumTypeTraits between files easily.

MozReview-Commit-ID: 9Q2augati7l

--HG--
extra : rebase_source : b7d9fc95d9d7722ba3eb99ec9798a64ebdbeb484
2016-09-07 10:20:16 +08:00
Nathan Froyd 114e020c41 Bug 1294809 - remove cppunittest TestPipe; r=erahm
We have TestPipes gtests that does the same thing (see the TestPipe2
function and callers) as this test.
2016-08-15 21:31:04 -04:00
Cykesiopka d93f9d1b28 Bug 1282004 - Convert TestMD4 CPP unit test into a GTest. r=mgoodwin
Nothing in the file requires functionality provided by the CPP unit test harness,
so making the file a GTest makes it more accessible.

MozReview-Commit-ID: FaAtF0blCwV

--HG--
rename : security/manager/ssl/tests/compiled/TestMD4.cpp => security/manager/ssl/tests/gtest/MD4Test.cpp
extra : transplant_source : edV%1F%0B97%1B%25%FA%0ABH%14%F5%A2Ms/%7E
2016-06-27 09:06:51 -07:00
Jon Coppeard e416ea06e2 Bug 1265033 - Add some mfbt tests that were not being run r=Waldo 2016-04-19 11:55:43 +01:00
David Keeler 2f0004e1be bug 1228175 - fix IsCertBuiltInRoot r=Cykesiopka,mgoodwin
When a built-in root certificate has its trust changed from the default value,
the platform has to essentially create a copy of it in the read/write
certificate database with the new trust settings. At that point, the desired
behavior is that the platform still considers that certificate a built-in root.
Before this patch, this would indeed happen for the duration of that run of the
platform, but as soon as it restarted, the certificate in question would only
appear to be from the read/write database, and thus was not considered a
built-in root. This patch changes the test of built-in-ness to explicitly
search the built-in certificate slot for the certificate in question. If found,
it is considered a built-in root.

MozReview-Commit-ID: HCtZpPQVEGZ

--HG--
extra : rebase_source : 759e9c5a7bb14f14a77e62eae2ba40c085f04ccd
2016-03-04 17:06:33 -08:00
Thomas Zimmermann ad6d42d817 Bug 1194721: Add |Saturate| template for saturation arithmetics, r=nfroyd
|Saturate<T>| implements saturation arithmetics for arbitrary basic
types. Operations on its value won't over- or underflow the type's
range.
2016-02-04 12:35:12 +01:00
Carsten "Tomcat" Book 4ff72292de Backed out changeset 8d6c228ef008 (bug 1194721) on developers request 2016-02-03 16:25:00 +01:00
Thomas Zimmermann 3d9f64bb3e Bug 1194721: Add |Saturate| template for saturation arithmetics, r=nfroyd
|Saturate<T>| implements saturation arithmetics for arbitrary basic
types. Operations on its value won't over- or underflow the type's
range.
2016-02-03 15:16:00 +01:00
Jeff Muizelaar b29099ae6d Bug 1228641. Add a polyfill of std::initializer_list. r=froydnj 2016-01-06 22:06:35 -05:00
Byron Campen [:bwc] bc30932b74 Bug 1192390 - Part 2: Simulcast and RID negotiation. r=mt
--HG--
extra : transplant_source : %D1%CAj%05%C7%7B%92%D9%CDV%24j%FF%CB%24B%D4%03%92%5E
2015-11-02 09:32:16 -06:00
sajitk 6418c52357 Bug 1201997 - Part 1 - Converted compiled test to gtest for nsDeque class. Added tests to test untested methods. r=froydn
--HG--
rename : xpcom/tests/TestDeque.cpp => xpcom/glue/tests/gtest/TestNsDeque.cpp
2015-11-15 14:47:49 +01:00
Liang-Heng Chen 5a9d777bf3 Bug 1186315 - Fix TestTuple error and add it into testing list. r=nfroyd 2015-07-21 22:54:00 +02:00
Ehsan Akhgari cc1bfa080c Bug 1113086 follow-up: Remove TestAudioChannelService from cppunittest.init 2015-07-11 13:15:12 -04:00
Xidorn Quan 5ebb867d28 Bug 1175485 part 4 - Add unit test for integer range. r=waldo
--HG--
extra : source : 2fb0dd6ca01c21b9282e0d7637ac09c2e8539a02
2015-07-02 13:31:07 +10:00
Andrew Bartlett 8cdf1bf8c6 bug 496234 - add test vectors from RFC 1320 for md4 implementation r=mayhemer 2015-06-25 12:10:40 -07:00
Nils Ohlmeier [:drno] 0dd79f25d9 Bug 1176377 - Activate multi_tcp_socket_unittest. r=jesup
--HG--
extra : rebase_source : 0a6d88bb86fa3b4b444c650993c0ec0ed2212b5e
2015-06-19 13:17:58 -07:00
Byron Campen [:bwc] dc3971b1c9 Bug 1035468: A NAT simulator based on NrSocket, and integrate into ice_unittest. r=ekr
--HG--
extra : rebase_source : 1ca1bb919526b3a4e091022e5aba04140efc9c90
extra : source : d354fa12177226f079090cc34277aaf1016e23fa
2015-06-10 15:27:12 -07:00
Geoff Brown 9ed314bccf Bug 1140454 - Disable a few cppunit tests on Android debug; r=me,test-only 2015-06-04 10:51:14 -06:00
Randall Barker ef19488c6f Bug 1101651 - Part 3: Update cppunitest.ini file. r=dminor
Enable WebRTC unit tests to be built using standalone WebRTC

--HG--
extra : rebase_source : f6b8b12eef419d56fed4e1c6559ac2d38e357427
2015-04-09 09:16:00 -04:00
Wes Kocher 8fb9e9e391 Backed out changeset af45e9fc2953 (bug 1101651) 2015-04-02 13:42:27 -07:00
Randall Barker e8247909b0 Bug 1101651 - Part 3, update cppunitest.ini file. r=jesup
Enable WebRTC unit tests to be built using standalone WebRTC
2015-04-02 12:15:12 -07:00
Geoff Brown 8cc673ff66 Bug 1146574 - Update Android 4.3 configs for cppunit; r=dminor 2015-03-26 20:35:36 -06:00
Byron Campen [:bwc] f6c5da1b53 Bug 1140637: Add jsep_session_unittest to testing/cppunittest.ini, and unbust it. r=jesup
--HG--
extra : rebase_source : 91980628dd06114ab24be29c9b77629fef387619
extra : amend_source : 10cd425cafef72cc3555b27e1f05acf25e8ec856
2015-03-09 14:45:46 -07:00
Anish 4063a569ed Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Dan Minor 7c19db87c2 Bug 1087567 - Add proper manifest for cppunit tests; r=ted
--HG--
extra : rebase_source : 622e454f491462d9d2c4125d1309a28854a92b0b
2014-10-28 09:38:21 -04:00