summaryrefslogtreecommitdiffstats
path: root/testing
Commit message (Collapse)AuthorAgeFilesLines
* [Android] Consolidate and upgrade OWNERS for test filesmiguelg@chromium.org2013-10-231-0/+6
| | | | | | | | | | | Part of a bigger change that can be seen here for context https://codereview.chromium.org/27311005/ BUG=308421 Review URL: https://codereview.chromium.org/26880007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230400 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Add settings link on EME infobar.kkimlabs@chromium.org2013-10-041-1/+1
| | | | | | | | BUG=298445 Review URL: https://codereview.chromium.org/25370002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227089 0039d316-1c4b-4281-b951-d872f2087c98
* Build with API level 18 on Android.joaodasilva@chromium.org2013-10-011-2/+2
| | | | | | | | BUG=294699 Review URL: https://codereview.chromium.org/23604064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226343 0039d316-1c4b-4281-b951-d872f2087c98
* Change method of activity tracking done in ActivityStatus.tedchoc@chromium.org2013-09-162-7/+3
| | | | | | | | | | | | | Use the ability to track activity changes by registering a listener on the application. Also, this will manage the state of various activities on the java side. BUG=286071 Review URL: https://chromiumcodereview.appspot.com/23522032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223437 0039d316-1c4b-4281-b951-d872f2087c98
* Add support in iossim for recognizing sandboxed system logs.lliabraa@chromium.org2013-09-121-24/+69
| | | | | | | | BUG=None Review URL: https://chromiumcodereview.appspot.com/23460032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222918 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out a perf test result printer method.tonyg@chromium.org2013-09-023-0/+316
| | | | | | | | | | This is to allow cc_perftests to share this code without depending on chrome/. BUG= Review URL: https://chromiumcodereview.appspot.com/23509002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220803 0039d316-1c4b-4281-b951-d872f2087c98
* Move ReadFileToString to the base namespace.brettw@chromium.org2013-08-301-1/+1
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/19579005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220612 0039d316-1c4b-4281-b951-d872f2087c98
* Android: removes obsolete comment.bulach@chromium.org2013-08-161-2/+0
| | | | | | | | | | | Following crrev.com/144038, RunTests is executed in the main thread, so the comment is obsolete. BUG= Review URL: https://chromiumcodereview.appspot.com/22890005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218032 0039d316-1c4b-4281-b951-d872f2087c98
* Target iOS 6.1 in a test script.lpromero@chromium.org2013-08-071-1/+1
| | | | | | | | | | This CL updates the iOS version used during tests launched with testing/gtest_ios/run-unittest.sh. BUG=none Review URL: https://chromiumcodereview.appspot.com/22569004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216205 0039d316-1c4b-4281-b951-d872f2087c98
* Fix unintentional revert of SYMROOT change to testing/iossim.justincohen@google.com2013-07-231-1/+1
| | | | | | | | | | | | | | A change made to iossim.gyp in https://chromiumcodereview.appspot.com/14835006 was unintentionally reverted by https://chromiumcodereview.appspot.com/14597007. Restoring CL 14835006 updates the iossim output path to use $(SYMROOT). BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/19985004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213010 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the variable expansion prefix for copy_asan_dylib_path in the direct ↵glider@chromium.org2013-07-091-1/+1
| | | | | | | | | | | | | | | dependent settings. According to https://code.google.com/p/gyp/wiki/InputFormatReference#Processing_Order, in order for the path variable to be expanded in the context of the dependent target dictionary, it should have the '>' prefix. BUG=228243 R=mark@chromium.org Review URL: https://codereview.chromium.org/18903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210562 0039d316-1c4b-4281-b951-d872f2087c98
* Include the ASan runtime dylib into the test app bundles on iOSglider@chromium.org2013-07-031-0/+24
| | | | | | | | | BUG=228243 R=stuartmorgan@chromium.org, thakis@chromium.org Review URL: https://codereview.chromium.org/18516005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209918 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the OWNERS that no longer work on the project.aurimas@chromium.org2013-07-011-1/+0
| | | | | | | | | Remove jcivelli@, and nileshagrawal@ who no longer work on Chrome for Android. Review URL: https://chromiumcodereview.appspot.com/18178014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209531 0039d316-1c4b-4281-b951-d872f2087c98
* Only remove CHROME_SANDBOX_ENV from env if it is present.jln@chromium.org2013-06-251-1/+2
| | | | | | | | | | | | This will fix an error occuring on Windows. (patch from csharp@chromium.org) TBR=csharp Review URL: https://codereview.chromium.org/17702004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208535 0039d316-1c4b-4281-b951-d872f2087c98
* testing/test_env.py: don't silently disable the sandboxjln@chromium.org2013-06-251-3/+5
| | | | | | | | | | | If the sandbox is not installed, don't silently disable it. BUG=245376 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/17648002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208512 0039d316-1c4b-4281-b951-d872f2087c98
* Move CreateFIFO() and RedirectStream() from testing/android/ to base/android/.scherkus@chromium.org2013-06-183-52/+46
| | | | | | | | | | | They will be used by content_shell to create the necessary fifos when running layout tests. BUG=232044 TBR=darin,yfriedman Review URL: https://chromiumcodereview.appspot.com/16599008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207060 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in testing/, third_party/, tools/.avi@chromium.org2013-06-112-2/+2
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/15851009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205470 0039d316-1c4b-4281-b951-d872f2087c98
* Fix GTestMac.AssertNSEQ on Mac 64.avi@chromium.org2013-05-291-4/+4
| | | | | | | | | | | Switch to NSStrings; NSNumbers may be tagged pointers. BUG=244703 TEST=Mac 64 tester goes green Review URL: https://chromiumcodereview.appspot.com/15690016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202944 0039d316-1c4b-4281-b951-d872f2087c98
* Support target/host architecture with ninja iOS buildsjustincohen@google.com2013-05-132-72/+72
| | | | | | | | | | | | | When iOS builds support ninja and enable GYP_CROSSCOMPILE=1, ninja will build breakpad, protoc and iossim using host arch instead of the sub-out-ninja workaround. TBR=mark@chromium.org BUG=236517 Review URL: https://chromiumcodereview.appspot.com/14597007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199827 0039d316-1c4b-4281-b951-d872f2087c98
* Updated iossim output path to use $(SYMROOT).sanjeevr@chromium.org2013-05-031-1/+1
| | | | | | | | | | Previously it was hardcoded to use the xcodebuild folder. BUG=NONE Review URL: https://chromiumcodereview.appspot.com/14835006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198112 0039d316-1c4b-4281-b951-d872f2087c98
* testing: Use base::MessageLoop.xhwang@chromium.org2013-05-011-2/+2
| | | | | | | | | TBR=stoyan@chromium.org BUG=236029 Review URL: https://codereview.chromium.org/14305033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197630 0039d316-1c4b-4281-b951-d872f2087c98
* Update the path to iossim in the script run by Xcode to launch tests on ↵lliabraa@chromium.org2013-04-301-1/+1
| | | | | | | | | | simulator. BUG=228157 Review URL: https://chromiumcodereview.appspot.com/14373011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197491 0039d316-1c4b-4281-b951-d872f2087c98
* Don't copy iossim after compilation.lliabraa@chromium.org2013-04-191-34/+1
| | | | | | | | | | | The scripts that were relying on the post-copy location are being updated to use the pre-copy location. BUG=228157 Review URL: https://chromiumcodereview.appspot.com/14295006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195228 0039d316-1c4b-4281-b951-d872f2087c98
* Fix iossim's support for retina devices.lliabraa@chromium.org2013-04-181-6/+5
| | | | | | | | | | | | | | Mac 10.8 started caching prefs so even though iossim writes the SimulatorDevice value to the .plist on disk, the iPhone Simulator may not see that change and therefore not respect the -d (device) parameter passed to iossim. Using the CFPreferences API to set and sync the pref fixes the issue. BUG=224892 Review URL: https://chromiumcodereview.appspot.com/14308003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194939 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Build gtest APKs like other APKscjhopman@chromium.org2013-04-114-303/+2
| | | | | | | | | | | | After much work, we can build gtest APKs without first transforming .java files, resource files, or the AndroidManifest.xml. We can directly use java_apk.gypi and build like all other APKs. Do that. Also, native_test_apk.xml was the last user of common.xml and sdk-targets.xml, and so those can now be removed. Review URL: https://chromiumcodereview.appspot.com/13828003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193576 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Use the build-generated list of libraries for gtest APKscjhopman@chromium.org2013-04-112-60/+10
| | | | | | | | | | | | | | | For normal APKs, the build generates a list of libraries to load at build time and this is used at runtime to load libraries. Update our gtest APKs to use this. This makes gtest APKs work in the component build. BUG=158821 Review URL: https://chromiumcodereview.appspot.com/13962003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193536 0039d316-1c4b-4281-b951-d872f2087c98
* Split the power monitoring feature from SystemMonitorhongbo.min@intel.com2013-04-031-2/+2
| | | | | | | | | | | | | | | | | | The SystemMonitor is a mixed monitor which not only monitors the power state changes but also the devices changes. This patch is to separate the power monitor from SystemMonitor as a new class PowerMonitor which is dedicated to monitor power state. The next step is to seek a opportunity to refactor SystemMonitor as something like DeviceMonitor. BUG=149059 TEST=base_unittests --gtest_filter=PowerMonitorTest.* Review URL: https://chromiumcodereview.appspot.com/10959020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192114 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Fix remaining linker errors for components buildyfriedman@chromium.org2013-04-031-0/+1
| | | | | | | | | | | Miscellaneous missing dependencies and a few more exports. BUG=158821 Review URL: https://chromiumcodereview.appspot.com/12988003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191944 0039d316-1c4b-4281-b951-d872f2087c98
* Added a StringDescription() function to safely print object pointers that ↵pkl@chromium.org2013-03-291-4/+10
| | | | | | | | | | | | | may be nil. If expected or actual is nil, calling [[obj description] UTF8String] returns nil and results in a call to std::string constructor with a nil pointer. This causes a C++ exception. Review URL: https://chromiumcodereview.appspot.com/13318003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191439 0039d316-1c4b-4281-b951-d872f2087c98
* Add MODIFY_AUDIO_SETTINGS permission in Android manifest and implementation ↵wjia@chromium.org2013-03-201-1/+1
| | | | | | | | | | | | | | | in android audio manager. MODIFY_AUDIO_SETTINGS allows application to be able to configure audio settings. In android audio manager, a function SetAudioMode is added to set audio mode. BUG=180328 Contributed by leozwang@chromium.org (https://codereview.chromium.org/12571006/). Review URL: https://codereview.chromium.org/12843015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189210 0039d316-1c4b-4281-b951-d872f2087c98
* [Cleanup] Remove StringPrintf from global namespacegroby@chromium.org2013-03-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | use of StringPrintf now requires prefixing with base:: or a per-scope using directive TBR'd: abodenha: chrome/service brettw: content, third_party, webkit darin: base, chrome/browser, chrome/renderer dgarret: courgette enne: cc fischmann: media gbillock: sql joi: google_apis,components rsleevi: net, crypto sky: chrome/test thestig: printing, chrome/common, tsepez: ipc wez: remoting yfriedman: testing/android NOTRY=true R=brettw@chromium.org TBR=joi@chromium.org, rsleevi@chromium.org, enne@chromium.org, thestig@chromium.org, darin@chromium.org, abodenha@chromium.org, sky@chromium.org, dgarret@chromium.org, tsepez@chromium.org, fishman@chromium.org, wez@chromium.org, gbillock@chromium.org, yfriedman@chromium.org BUG= Review URL: https://codereview.chromium.org/12767006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188857 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Change jni_gen_dir to jni_gen_package for jni_generator.yfriedman@chromium.org2013-03-071-1/+1
| | | | | | | | | | | | | With the old name it was getting relativized which is undesirable. See bug for more details. BUG=159133 TBR=ben (nobody really cares about this outside of build/ which cjhopman approved) Review URL: https://chromiumcodereview.appspot.com/12558005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186803 0039d316-1c4b-4281-b951-d872f2087c98
* Move file_path.h to base/files.brettw@chromium.org2013-02-242-3/+3
| | | | | | TBR=sky git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184344 0039d316-1c4b-4281-b951-d872f2087c98
* Add a white Default-568h@2x.png placeholder in iOS unit tests bundles.lliabraa@google.com2013-02-212-0/+1
| | | | | | | | BUG=None Review URL: https://codereview.chromium.org/12328038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183839 0039d316-1c4b-4281-b951-d872f2087c98
* Move ant call from python to gypcjhopman@chromium.org2013-02-201-11/+12
| | | | | | | | | | | | | | | | | All of our APKs should be built with build/java_apk.gypi. Currently, native test APKs are built very differently. This change makes them build more like other apks, as a first step to using java_apk.gypi. Since WebKit's gyp files use generate_native_test.py directly, rather than including apk_test.gypi, generate_native_test.py needs to continue to support using it for ant compilation. :( BUG=177121 Review URL: https://chromiumcodereview.appspot.com/12310002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183614 0039d316-1c4b-4281-b951-d872f2087c98
* Fix more remaining FilePath -> base::FilePath.brettw@chromium.org2013-02-181-5/+6
| | | | | | | | This removes the "using" in file_path.h for Mac since Mac now passes trybots with no using. It still leaves the using for Windows. Review URL: https://codereview.chromium.org/12294008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183066 0039d316-1c4b-4281-b951-d872f2087c98
* Add RECORD_AUDIO in Android manifest.leozwang@chromium.org2013-02-091-0/+1
| | | | | | | | | | This CL enables audio capture on Android. BUG=161417 Review URL: https://chromiumcodereview.appspot.com/12209041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181610 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Refactor native test setup in a util class.nileshagrawal@chromium.org2013-02-094-86/+159
| | | | | | | | | | | | This is also needed by content_browsertests. Also redirecting stdout,stderr for content_browsertests to a fifo file to be read by the test runner scripts. BUG=138275 TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/12213035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181587 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude duplicate gmock_mutant functor templates in WIN64wolenetz@chromium.org2013-02-072-102/+104
| | | | | | | | | | | | | | | On WIN64, there is only one calling convention. Therefore, implicit calling conventions and __stdcall are the same, hence template redefinition errors occur in the previous gmock_mutant.h on WIN64. BUG=173697, 166496 TEST=media_unittests target builds without template redefinition errors. With other build errors fixed in privates (ignore C4267 & lift MEDIA...INTRINSICS... definition into yuv_convert.h and use it to not link in methods that use MMX intrinsics), media_unittests executes Review URL: https://chromiumcodereview.appspot.com/12208028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181348 0039d316-1c4b-4281-b951-d872f2087c98
* Move string tokenizer to base/strings.brettw@chromium.org2013-02-021-3/+3
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/12087091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180211 0039d316-1c4b-4281-b951-d872f2087c98
* Add camera permission in manifest files.wjia@chromium.org2013-01-311-0/+1
| | | | | | | | | This allows webrtc to access camera. This is a split of https://codereview.chromium.org/11860002/. BUG=161417 Review URL: https://codereview.chromium.org/12090095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179959 0039d316-1c4b-4281-b951-d872f2087c98
* Support Visual Studio Express 2012.wtc@chromium.org2013-01-231-1/+1
| | | | | | | | | | | | | Remove Visual Studio 2005 and 2008 support from build/common.gypi. R=mark@chromium.org,scottmg@chromium.org BUG=171142 TEST=none Review URL: https://chromiumcodereview.appspot.com/11933005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178369 0039d316-1c4b-4281-b951-d872f2087c98
* Nuke jrg from android OWNERS files.yfriedman@chromium.org2013-01-161-1/+0
| | | | | | | | | | It's the only way to be sure... ... he doesn't get android code reviews. Review URL: https://codereview.chromium.org/11968018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177174 0039d316-1c4b-4281-b951-d872f2087c98
* Throw exception when initialization failed.michaelbai@chromium.org2013-01-151-26/+21
| | | | | | | | | | | | | | | | | | | | | Previously the initialization return code was ignored, it will lead us crash later. We need a way to exit and maybe show error message if something wrong during initialization. Using exception might better than returning the result code since the initialization code could be called from constructor and initialization error is an exception at most of time. In activity, the exception is caught, then call finish() to exit. In tests, the exception is wrapped with Error and threw out. BUG=b/7705055 Review URL: https://chromiumcodereview.appspot.com/11567061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176975 0039d316-1c4b-4281-b951-d872f2087c98
* Fix findbugs issueskristianm@chromium.org2013-01-111-3/+3
| | | | | | | | | | | | Constants should be private static final. Since I'm there, renamed TAG to LOGTAG so it is obvious it is only used for logging. BUG= Review URL: https://chromiumcodereview.appspot.com/11827057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176288 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 176198yfriedman@chromium.org2013-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed permissions on build/android/envsetup.sh > Revert 176176 > > Update Android build to API level 17 and SDK Tools version 21 > > > > Some fixes included: > > - Changes to resource management to account for new R.java packaging > > from library projects > > (https://android-review.googlesource.com/#/c/43134/). > > - Fixed the package for some inludes in ModalDialogTest.java. This only > > worked because of how we previously used to aggregate all resoures > > from the prior layer. With the new packaging, we must use the resource > > from the appropriate layer. > > > > BUG=163001,166434 > > NOTRY=true > > > > Review URL: https://chromiumcodereview.appspot.com/11819047 > > TBR=yfriedman@chromium.org > Review URL: https://codereview.chromium.org/11783108 TBR=smckay@chromium.org Review URL: https://codereview.chromium.org/11820065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176202 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 176176smckay@chromium.org2013-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | > Update Android build to API level 17 and SDK Tools version 21 > > Some fixes included: > - Changes to resource management to account for new R.java packaging > from library projects > (https://android-review.googlesource.com/#/c/43134/). > - Fixed the package for some inludes in ModalDialogTest.java. This only > worked because of how we previously used to aggregate all resoures > from the prior layer. With the new packaging, we must use the resource > from the appropriate layer. > > BUG=163001,166434 > NOTRY=true > > Review URL: https://chromiumcodereview.appspot.com/11819047 TBR=yfriedman@chromium.org Review URL: https://codereview.chromium.org/11783108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176198 0039d316-1c4b-4281-b951-d872f2087c98
* Update Android build to API level 17 and SDK Tools version 21yfriedman@chromium.org2013-01-101-1/+1
| | | | | | | | | | | | | | | | | | Some fixes included: - Changes to resource management to account for new R.java packaging from library projects (https://android-review.googlesource.com/#/c/43134/). - Fixed the package for some inludes in ModalDialogTest.java. This only worked because of how we previously used to aggregate all resoures from the prior layer. With the new packaging, we must use the resource from the appropriate layer. BUG=163001,166434 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11819047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176176 0039d316-1c4b-4281-b951-d872f2087c98
* Add lliabraa to src/testing/iossim/OWNERSlliabraa@chromium.org2013-01-021-0/+1
| | | | | | | | | BUG=None Review URL: https://chromiumcodereview.appspot.com/11665031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174803 0039d316-1c4b-4281-b951-d872f2087c98
* In iossim, ignore harmless messages from launchd.lliabraa@chromium.org2013-01-021-8/+12
| | | | | | | | | | | iossim checks the system log for messages from launchd about the simulated app and returns failure if anything is found. Some messages are harmless, so this CL updates iossim to log them but not return failure. BUG=None Review URL: https://chromiumcodereview.appspot.com/11699005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174802 0039d316-1c4b-4281-b951-d872f2087c98