Eric Rahm
e81d8845f5
Bug 1313467 - Part 4: Convert TestAutoPtr to a gtest. r=froydnj
...
MozReview-Commit-ID: EOKHAQyZ4fZ
2016-11-04 11:13:58 -07:00
Eric Rahm
3d5f080d4d
Bug 1313466 - Remove XPCOM test ShowAlignments. r=froydnj
...
MozReview-Commit-ID: 9FpMhw2MsjH
2016-11-04 11:13:25 -07:00
Phil Ringnalda
0b16f0020b
Backed out 18 changesets (bug 1313469, bug 1313468, bug 1313474, bug 1313472, bug 1313473, bug 1313470, bug 1313471, bug 1313467, bug 1313466) for OS X gtest crashes
...
CLOSED TREE
Backed out changeset 5b5686e1bcd1 (bug 1313474)
Backed out changeset e8d20bdd13d4 (bug 1313473)
Backed out changeset 643bdd25166e (bug 1313473)
Backed out changeset 9a33c84ab30a (bug 1313472)
Backed out changeset 4d84926813e9 (bug 1313472)
Backed out changeset c85e7a7a5a99 (bug 1313471)
Backed out changeset 5d82bc9436ab (bug 1313471)
Backed out changeset 00f7b342bb29 (bug 1313470)
Backed out changeset f012923cfd8b (bug 1313470)
Backed out changeset e7d5b8135ae6 (bug 1313470)
Backed out changeset 82bf00ff6505 (bug 1313469)
Backed out changeset 5364fc8db9b0 (bug 1313469)
Backed out changeset 02959aa60196 (bug 1313468)
Backed out changeset 3c25a6ed5914 (bug 1313467)
Backed out changeset 0acc0a131101 (bug 1313467)
Backed out changeset 6fae1bbd3819 (bug 1313467)
Backed out changeset 107eb264a40d (bug 1313467)
Backed out changeset 9b60e295a885 (bug 1313466)
MozReview-Commit-ID: IKsAZxBYMfv
2016-11-03 23:00:47 -07:00
Phil Ringnalda
931ffed058
Backed out changeset 14d7b6dbe0fb (bug 1314827) to be able to back out something else
...
MozReview-Commit-ID: 39mFOtrNixM
2016-11-03 22:59:49 -07:00
Nicholas Nethercote
d83841d2fe
Bug 1314827 - gtestify dom/base/test/*.cpp. r=baku.
...
The commit removes TestGetURL.cpp which wasn't doing anything useful anyway
because it required an argument but wasn't being passed one, and so it was just
aborting immediately with a usage message.
2016-11-04 14:36:23 +11:00
Eric Rahm
cec37a0f20
Bug 1313474 - Convert XPCOM test TestID to a gtest. r=froydnj
...
MozReview-Commit-ID: 7rLi2Y9lYEI
2016-11-03 17:56:02 -07:00
Eric Rahm
fcb72c75a1
Bug 1313473 - Part 2: Convert XPCOM test TestHashtables to a gtest. r=froydnj
...
MozReview-Commit-ID: DTOeKiesYBP
2016-10-31 16:58:42 -07:00
Eric Rahm
3cb90d4b34
Bug 1313472 - Part 1: Convert XPCOM test TestFile to a gtest. r=froydnj
...
This is a very straightforward conversion of TestFile to a gtest. It sticks
with using one main test function to avoid dealing with possible dependency
issues between subtests.
MozReview-Commit-ID: IoIeGgisMGE
2016-11-03 17:55:30 -07:00
Eric Rahm
ee8e417c51
Bug 1313471 - Part 2: Convert TestCOMPtrEq to a gtest. r=froydnj
...
MozReview-Commit-ID: GifbCK1zzxh
2016-11-03 17:55:28 -07:00
Eric Rahm
f780946530
Bug 1313470 - Part 2: Convert TestCOMPtr to a gtest. r=froydnj
...
MozReview-Commit-ID: HfcLTmvkRc8
2016-11-03 17:55:25 -07:00
Eric Rahm
d869e6ca7c
Bug 1313469 - Part 2: Convert TestCOMArray to a gtest. r=froydnj
...
MozReview-Commit-ID: CEhXX60lpZ8
2016-11-03 17:55:21 -07:00
Eric Rahm
253614aaeb
Bug 1313468: Convert XPCOM test TestAutoRef to a gtest. r=froydnj
...
MozReview-Commit-ID: GkEPSkzNeuB
2016-11-03 17:55:16 -07:00
Eric Rahm
c857e0bc4e
Bug 1313467 - Part 4: Convert TestAutoPtr to a gtest. r=froydnj
...
MozReview-Commit-ID: EOKHAQyZ4fZ
2016-11-03 17:49:01 -07:00
Eric Rahm
9a9c79d1fd
Bug 1313466 - Remove XPCOM test ShowAlignments. r=froydnj
...
MozReview-Commit-ID: 9FpMhw2MsjH
2016-11-03 17:48:13 -07:00
Nicholas Nethercote
aba30ba87f
Bug 1314497 (part 1) - Convert intl/lwbrk/tests/TestLineBreak.cpp to a gtest. r=emk.
...
This commit does the following.
- Converts the test to a gtest, including renaming the directory.
- Factors out the duplicated checking code into a separate Check() function.
- Avoids printing any output unless a failure occurs. (The gtest harness prints
out minimal output, like the name of the current test.)
- Removes SampleWordBreakUsage(), which prints some output but doesn't actually
test anything, and so isn't useful.
2016-11-03 13:46:12 +11:00
Nicholas Nethercote
c1b0c7ceca
Bug 1314556 - Convert TestAudioEventTimeline.cpp to a gtest. r=padenot.
...
This required moving template function ValidateEvent into the .h file to avoid
linking problems in xul-gtest.
2016-11-03 13:39:26 +11:00
James Cheng
722f741a46
Bug 1309466 - Add Test for the init value by constructor. r=froydnj
...
MozReview-Commit-ID: 9BguTY6dlRD
2016-10-19 18:12:11 +08:00
David Keeler
c81d368351
bug 1311077 - fix builtin root module loading so it works in Android Cpp unit tests r=Cykesiopka
...
Also updates the relevant test (TestCertDB) to ensure that we actually are
loading builtin root certificates.
MozReview-Commit-ID: LXA4TqTzy8T
2016-10-19 15:14:23 -07:00
Nathan Froyd
844a073368
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]
528386aa0d
Bug 1157323 - Part 1: Make TestTimers a unit-test. r=froydnj
...
MozReview-Commit-ID: HPdP3muvzU8
2016-06-23 17:05:40 -05:00
Jeremy Chen
43a4f4efc9
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
2016-09-07 10:20:16 +08:00
Nathan Froyd
9dbb557285
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
ea62aba8b5
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
2016-06-27 09:06:51 -07:00
Jon Coppeard
d4cda4b637
Bug 1265033 - Add some mfbt tests that were not being run r=Waldo
2016-04-19 11:55:43 +01:00
David Keeler
7212a18710
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
2016-03-04 17:06:33 -08:00
Thomas Zimmermann
33e0c72a78
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
fccd733703
Backed out changeset 8d6c228ef008 (bug 1194721) on developers request
2016-02-03 16:25:00 +01:00
Thomas Zimmermann
027480fd4c
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
7567a6df6b
Bug 1228641. Add a polyfill of std::initializer_list. r=froydnj
2016-01-06 22:06:35 -05:00
Byron Campen [:bwc]
5e78d533c6
Bug 1192390 - Part 2: Simulcast and RID negotiation. r=mt
2015-11-02 09:32:16 -06:00
sajitk
516b58a3a2
Bug 1201997 - Part 1 - Converted compiled test to gtest for nsDeque class. Added tests to test untested methods. r=froydn
2015-11-15 14:47:49 +01:00
Liang-Heng Chen
460fd4818b
Bug 1186315 - Fix TestTuple error and add it into testing list. r=nfroyd
2015-07-21 22:54:00 +02:00
Ehsan Akhgari
9561182acb
Bug 1113086 follow-up: Remove TestAudioChannelService from cppunittest.init
2015-07-11 13:15:12 -04:00
Xidorn Quan
b58337ab6f
Bug 1175485 part 4 - Add unit test for integer range. r=waldo
2015-07-02 13:31:07 +10:00
Andrew Bartlett
b865214844
bug 496234 - add test vectors from RFC 1320 for md4 implementation r=mayhemer
2015-06-25 12:10:40 -07:00
Nils Ohlmeier [:drno]
2fb98dfeca
Bug 1176377 - Activate multi_tcp_socket_unittest. r=jesup
2015-06-19 13:17:58 -07:00
Byron Campen [:bwc]
7b82de460e
Bug 1035468: A NAT simulator based on NrSocket, and integrate into ice_unittest. r=ekr
2015-06-10 15:27:12 -07:00
Geoff Brown
74ea9c3309
Bug 1140454 - Disable a few cppunit tests on Android debug; r=me,test-only
2015-06-04 10:51:14 -06:00
Randall Barker
120ec73b75
Bug 1101651 - Part 3: Update cppunitest.ini file. r=dminor
...
Enable WebRTC unit tests to be built using standalone WebRTC
2015-04-09 09:16:00 -04:00
Wes Kocher
0c7d6fb163
Backed out changeset af45e9fc2953 (bug 1101651)
2015-04-02 13:42:27 -07:00
Randall Barker
ed78faa148
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
fa82bb910c
Bug 1146574 - Update Android 4.3 configs for cppunit; r=dminor
2015-03-26 20:35:36 -06:00
Byron Campen [:bwc]
50623e08aa
Bug 1140637: Add jsep_session_unittest to testing/cppunittest.ini, and unbust it. r=jesup
2015-03-09 14:45:46 -07:00
Anish
fe58834cf9
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
460fdebe82
Bug 1087567 - Add proper manifest for cppunit tests; r=ted
2014-10-28 09:38:21 -04:00