Commit graph

17 commits

Author SHA1 Message Date
Steven Moreland
44b99959b0 Remove versioning tests interfaces. am: 1cb1e14fae am: 45b2a58130
am: ca4611d6c2

Change-Id: Ie6ba94cf1386eedcd1b53d08f697af83c57f39d6
2017-05-26 19:15:52 +00:00
Steven Moreland
1cb1e14fae Remove versioning tests interfaces.
These are moved to system/tools/hidl/test in
a form that can have build time tests added
and which don't affect checkbuild time by
adding various Java targets.

Test: none
Bug: 38242758
Change-Id: I747619389e667f5660cdc0bf2cccd9df6bbb8eb4
2017-05-26 16:46:59 +00:00
Steven Moreland
e5a50aa9d2 Merge "libhwbinder test: Android.mk -> Android.bp" am: 154040c0ca am: e7d4e66030
am: ce443e0b23

Change-Id: I2b63cd362403db78159f05f5dbf4a13d7a0d7d79
2017-05-25 21:03:20 +00:00
Steven Moreland
63a733ab33 libhwbinder test: Android.mk -> Android.bp
Test: links

Change-Id: Iaaa27cb0f398ee4b9a273916454f3110ddee0e3b
2017-05-24 14:39:57 -07:00
Yifan Hong
4cee676539 Merge "Test for getHashChain() in IBase." am: c8c7ab74a1 am: 2699ac5b94
am: 679dab8b8d

Change-Id: I0265655d9b997af47ab7b3877d712516908733ef
2017-04-03 22:19:50 +00:00
Yifan Hong
604e8f0da2 Test for getHashChain() in IBase.
Each interface has a getHashChain() method that
returns the hash of all .hal files from the rtti
of the interface up to IBase.

Test: hidl_test

Bug: 36602587
Change-Id: I53a79ba69edd109f169c37dbe0fd10e302eb929c
2017-03-30 17:34:03 -07:00
Steven Moreland
2628f37ba0 Versioning, add additional package import. am: a233c182be am: f0dd7270f1
am: 3bb7c80e1d

Change-Id: I41d46e089aca2ef875ce28a5bfad3ab3745184ac
2017-03-20 17:20:41 +00:00
Steven Moreland
a233c182be Versioning, add additional package import.
Added versioning@2.4. This tests the same as 2.2->2.3, but also repros
an issue in hidl-gen where triple inheritance isn't allowed.

Test: minor version inheritance doesn't fail, triple inheritance works
Bug: 36162559
Change-Id: Id5518621cd068b1b623f30f6f6762a1bf8ae6a80
2017-03-20 14:15:46 +00:00
Hridya Valsaraju
2394c4830a Merge "Move FMQ tests to hardware/interfaces" am: 96b3cce92c am: 35b5786cd7
am: 56fbe8aef2

Change-Id: Ic97ea0e01ff430806cc96cf89c4205b4bb044778
2017-03-08 00:11:57 +00:00
Hridya Valsaraju
8a7086296c Move FMQ tests to hardware/interfaces
Test: FMQ unit tests pass
Bug: 32284445

Change-Id: I1daf563560d12fc7a4433ae98876331c37509980
2017-03-07 09:02:23 -08:00
Hridya Valsaraju
48c9837a55 Merge "Move baz default implementation to hardware/interfaces" am: b541affafb am: c990e2e15f
am: 7e7d3758d1

Change-Id: I6b8c250747d938d7ca56cd87bf89291c3a61f87f
2017-02-28 21:51:39 +00:00
Hridya Valsaraju
6cf95f3710 Move baz default implementation to hardware/interfaces
Test: hidl_test and hidl_java_test passes

Change-Id: Iaacfc3f203368ca674cbaddc6cdf06ddb8e34500
2017-02-24 16:10:25 -08:00
Steven Moreland
21a1c58b6c Move example extensions to test folder.
Fixes: 34969978
Test: hal registers itself and works.

Change-Id: I9e4795b1acbabceed017c469b89baea7e529308a
2017-02-15 14:25:00 -08:00
Yifan Hong
4650ce9d25 Add tests for minor version upgrade enforcement.
Test: compiles
Test: add folder test/versioning/2.0 will make update-makefiles.sh to
fail.
Test: removing @2.3::IBar will let update-makefiles.sh to pass.
Test: Change @2.3::IBar to extend from @2.2::IFoo will let
update-makefiles.sh to fail.

Bug: 28825532
Change-Id: Iad1138b784505c903ab1049f08f6c07c38b777e1
2017-02-09 18:24:18 -08:00
Martijn Coenen
0cb4a94083 Test interface for hidlized IMemory.
Test: hidl_test
Change-Id: I9d6260092bf58406905e543065319bc1f4db119f
2016-12-02 08:53:17 -08:00
Yifan Hong
cc6ad7dfe5 add test for binder inheritance.
Test: hidl_test
Test: `make hidl_test_java` compiles
Change-Id: Ie9217b79e369f2a1e7a7c9ed02524b17e3fc8b7f
2016-10-26 15:27:23 -07:00
Steven Moreland
7a4f118c48 Stop all these merge conflicts.
Test: mma -j64
Change-Id: I319198af32adf1fef180c5c2c22ba4b360fa7609
2016-10-26 12:05:29 +02:00