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

209 Коммитов

Автор SHA1 Сообщение Дата
Alessio Placitelli abbda700d2 Backport updates from application-services gradle files
This applies the changes from c40e2cc in mozilla/application-services
to our repo, with minimal tweaks due to the different
directory layout and the glean parsers integration.
2019-05-13 16:23:47 +02:00
Jan-Erik Rediger 4f6159c10b
Update the developer setup notes (#48)
Update the developer setup notes
2019-05-13 11:38:24 +02:00
Alessio Placitelli 08224a823f Remove the TOC and the untested maven bits 2019-05-13 11:26:56 +02:00
Alessio Placitelli d2fe97cdf6
Merge pull request #49 from Dexterp37/license_heders
Add the MPL 2.0 license header to all the source code files
2019-05-13 11:22:26 +02:00
Alessio Placitelli d1e9a45466 Add the MPL 2.0 license header to all the source code files 2019-05-13 11:16:15 +02:00
Alessio Placitelli b3727d43bf Update the developer setup notes 2019-05-13 11:07:16 +02:00
Alessio Placitelli 46c8aac1d7
Merge pull request #41 from Dexterp37/kotlin_tests
Import test coverage from Glean-legacy for Counters and Strings
2019-05-10 13:56:40 +02:00
Alessio Placitelli 202ee528a2 Import test coverage from Glean-legacy for Counters and Strings 2019-05-10 13:46:38 +02:00
Michael Droettboom 139fdd72ef
Be more dynamic in use of glean_parser (#45)
* Be more dynamic in use of glean_parser

* Fix sample app
2019-05-10 06:09:36 -04:00
Jan-Erik Rediger b9c234e02a
Install mdbook from released binary (#44)
Install mdbook from released binary
2019-05-10 11:46:53 +02:00
Jan-Erik Rediger 106dd6a73b Install mdbook from released binary
This should speed up documentation generation by a bit.
2019-05-10 11:11:08 +02:00
Jan-Erik Rediger 1394f43e8b
Enable gradle tests on CI (#42)
Enable gradle tests on CI
2019-05-10 10:50:15 +02:00
Jan-Erik Rediger a4087602a3 Install missing SDK and run tests 2019-05-10 10:42:37 +02:00
Jan-Erik Rediger 97a27dce9c Re-enable android tests 2019-05-10 10:04:07 +02:00
Jan-Erik Rediger ca6ffdcde5
Merge pull request #40 from badboy/fix-the-build-i-guess
Include android resources when running tests
2019-05-09 18:25:23 +02:00
Jan-Erik Rediger 2bd57b6c60 Include android resources when running tests
This ... seems to fix the build issues.

Fixes #39
2019-05-09 18:22:43 +02:00
Alessio Placitelli b9e7a144e0
Merge pull request #38 from Dexterp37/add_smoke_values
Add smoke values for common fields to make valid pings
2019-05-09 17:53:01 +02:00
Alessio Placitelli db693d7202 Add smoke values for common fields to make valid pings 2019-05-09 17:39:15 +02:00
Michael Droettboom e63c63e8be
Send a ping from the button (#37) 2019-05-09 11:31:59 -04:00
Jan-Erik Rediger b22ab8be19
Expose test api (#27)
Expose test api
2019-05-09 17:00:10 +02:00
Jan-Erik Rediger 5e48c9e1f9
Make use of test API (#25)
Make use of test API
2019-05-09 16:58:47 +02:00
Jan-Erik Rediger 128224e554
Sample generate (#24)
Sample generate
2019-05-09 16:56:03 +02:00
Jan-Erik Rediger 4c14c3c459 Wrap the glean-core-exposed testing API 2019-05-09 16:55:19 +02:00
Jan-Erik Rediger 08d528c006 Expose test API for counters over Ffi 2019-05-09 16:47:49 +02:00
Alessio Placitelli 6553128441
Merge pull request #23 from Dexterp37/core_metrics
Add a few core metrics
2019-05-09 16:42:07 +02:00
Alessio Placitelli 291030c44b Add a comment about staged init in Glean.kt 2019-05-09 16:37:36 +02:00
Jan-Erik Rediger 047ba7a4c4 Generate the boolean user metric 2019-05-09 16:36:05 +02:00
Jan-Erik Rediger d074af41f3 Make use of test API 2019-05-09 16:26:02 +02:00
Jan-Erik Rediger e611ff08c3 Generate metrics for sample app 2019-05-09 16:25:37 +02:00
Michael Droettboom 701549c96b
Add handleBackgroundEvent (#22) 2019-05-09 10:24:45 -04:00
Jan-Erik Rediger 6d5eaa8db2 Track if it is started early
Also don't send a ping just yet
2019-05-09 16:23:28 +02:00
Alessio Placitelli 7571f31061 Add a few core metrics 2019-05-09 16:22:27 +02:00
Alessio Placitelli 474848394c
Merge pull request #21 from badboy/null-check
Don't handle the array when getting a null pointer
2019-05-09 15:49:35 +02:00
Jan-Erik Rediger a95af6bb2a Don't handle the array when getting a null pointer 2019-05-09 15:40:58 +02:00
Jan-Erik Rediger bf0a58ddce
Introduce automatic metrics generation (#20)
Introduce automatic metrics generation
2019-05-09 15:40:26 +02:00
Alessio Placitelli 2ef559b53d Change the Windows toolchain to msvc 2019-05-09 15:24:58 +02:00
Alessio Placitelli 3780887769 Pass in the Lifetime and Ping information 2019-05-09 15:24:43 +02:00
Alessio Placitelli a2d75dc0ad Wire up Counters and Strings to the Rust FFI 2019-05-09 15:05:57 +02:00
Alessio Placitelli 240c9e58f4 Generate metrics from the metrics.yaml
This additionally stubs out all the required
metrics from service-glean.
2019-05-09 15:05:57 +02:00
Alessio Placitelli c13361d83e Fix klint errors in BooleanMetricType.kt 2019-05-09 15:05:56 +02:00
Alessio Placitelli 43bc4e986d Fix klint problems in Glean.kt 2019-05-09 15:05:56 +02:00
Alessio Placitelli e1a44fab6d Update the dependencies and tweak the Kotlin API 2019-05-09 15:05:56 +02:00
Jan-Erik Rediger c99ce4ba0a
Merge pull request #18 from badboy/pass-meta-data
Pass meta data
2019-05-09 15:03:52 +02:00
Jan-Erik Rediger 1117181c7d Add a comment to fix the error handling later 2019-05-09 14:59:08 +02:00
Jan-Erik Rediger bdb5fe6eff Pass more common meta data over Ffi on metric creation 2019-05-09 14:36:47 +02:00
Jan-Erik Rediger 5a14ef34bb Convert an integer into a lifetime
This will be used in the FFI part.
2019-05-09 14:31:52 +02:00
Michael Droettboom 66e39a524a
Add simple Kotlin test (#17)
* Add simple Kotlin test

* Use android docker

* Change robolectric version

* Fix syntax

* Fix android docker name

* Fix docker tag

* Disable android testing on Circle

* Update .circleci/config.yml

Co-Authored-By: Jan-Erik Rediger <badboy@archlinux.us>
2019-05-09 07:15:16 -04:00
Alessio Placitelli 3a21db06bf
Merge pull request #16 from Dexterp37/rkv_tests
Add test coverage for Database record
2019-05-09 12:10:02 +02:00
Alessio Placitelli 0158649be0
Merge branch 'master' into rkv_tests 2019-05-09 12:06:03 +02:00
Alessio Placitelli a07f0e3950 Add test coverage for Database record
This additionally moves some Database specific
detail (i.e. storage names formatted as "{}#")
back to the Database.
2019-05-09 12:02:25 +02:00