summaryrefslogtreecommitdiffstats
path: root/logcat/tests/logcat_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused variableBernhard Rosenkränzer2014-11-241-1/+0
| | | | | Change-Id: Ifba91dd93a9c8170f8837c413756554e117be894 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* Made suffix length of rotated logcat files constant.Aristidis Papaioannou2014-10-291-0/+54
| | | | | | | | | The suffix now uses as many digits as needed to cover the maximum number of rotated files. eg, for 20 files it would use 2 digits: log_file.{01,02,03,...,20} Change-Id: I4709b3cf4bf88c209db3c4d9e24a3a4731c98bae
* logcat: tests: deal with -v threadtime defaultMark Salyzyn2014-09-181-7/+11
| | | | | | | - specify -v brief where necessary to preserve tests - fix an occasional issue for logrotate and device block size Change-Id: I09b02cc0359dc351a89311abc3ee762a0f23582c
* logcat: test: logrotate flagsMark Salyzyn2014-07-241-5/+48
| | | | | | | | - test -f -n and -r flags - fix issue with parse error for sizes in bytes (no multiplier) Bug: 16147190 Change-Id: Iadf2fd903d5e881d02f1d2b491441cc8090ee1c9
* logcat: test: modernizeMark Salyzyn2014-06-181-105/+50
| | | | | | | | | | | - split sequential sort output test out as a benchmark check - Allow up to two failures of sort results because of occasional reader locks. - logcat -g output was changed to handle wider set of values incorporating a multiplier for UX, and would not pass test if 'logcat -G 1M' was run. - If spam filter is turned off, prune checks would fail, allowed for an empty default. Change-Id: I06d6089e18279df7525d1c16a1f76b3125ddbf05
* logcat: turn on -WerrorMark Salyzyn2014-05-021-3/+3
| | | | | | - Deal with some -Wunused issues Change-Id: Ic4ab9a49f13e156a73d40266e413dee3e6396178
* logd: liblog: logcat: enable prune features for userMark Salyzyn2014-04-021-2/+0
| | | | | | - Enable whitelist, blacklist and logsize tuneables for user Change-Id: Id0c283844c71c5263a8cfbebf2e550f7ac415858
* logcat: test arbitrary time to tailMark Salyzyn2014-03-261-33/+108
| | | | | | | | | - Add tail_time - Use EXPECT instead of ASSERT to provide more coverage - Use EXPECT_TRUE/ASSERT_TRUE when comparing NULL - Itemize order complaints in sorted_order test Change-Id: I55a7543fa3300c0a9524fac70111e680c2877eea
* logcat: timed tests fail under loadMark Salyzyn2014-03-241-3/+0
| | | | Change-Id: Ic1cdf0509617720eef7a3ad0b17a3b6f88c9d87e
* logcat: white and blacklist failureMark Salyzyn2014-03-211-1/+11
| | | | | | | | - logcat improperly squashes out count - logcat test enhanced to catch failure - logd places entries in ascending sorted order Change-Id: If39d8e2c40852b520c98e7840034ab63c2538e5d
* logcat: test White Black listMark Salyzyn2014-03-141-0/+97
| | | | Change-Id: Ia9509ad09dd86e4d9169ed7d0b33911f1ca9eec6
* logcat: test: add clear and blocking checkMark Salyzyn2014-02-261-9/+95
| | | | | | (cherry picked from commit 1beb2ab6f6f7cec157b25a2e728c6de8c6be58c4) Change-Id: I243b1338c4a5935a297a0519c03697fd828e47e6
* logcat: Add -T flag (-t w/o assumption of -d)Mark Salyzyn2014-01-271-0/+68
| | | | | | (cherry picked from commit de02546e3d7c9c307e3d87e0a7fe8bb39b363a72) Change-Id: I49763e2db83755e0b7b12dfa3f83a3957c54d389
* logcat: Add logcat test suiteMark Salyzyn2014-01-271-0/+375
(cherry picked from commit 2807db9a269baaa7b3f67c337d3312877ba90aa0) Change-Id: Ic4c84b88b8d899965c9765bdc3ee223ef73ba7d1