History log of /system/tools/aidl/tests/fake_io_delegate.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e9351ccad61f2f7fc4a0721480119112c97f049e 22-Jan-2016 Christopher Wiley <wiley@google.com> aidl-cpp: Reject parcelable import without C++ header

Bug: 26251671
Test: built AOSP ToT for angler-userdebug, ran unittests

Change-Id: Iea2d2a8f710a10210ddbe580899a6379f758434a
/system/tools/aidl/tests/fake_io_delegate.cpp
0a62067f35e957493bc37c4b42dfdcfc16353831 04-Dec-2015 Elliott Hughes <enh@google.com> Track base/ -> android-base/ change.

Change-Id: I02b64b42c17d248c5fb2c4de4b0778a441e018e3
/system/tools/aidl/tests/fake_io_delegate.cpp
c5442de40df22a763804648f5ee1d16ec28a7cd2 13-Nov-2015 Christopher Wiley <wiley@google.com> Remove aidl_unittest dependency on libchrome

This allows us to build on branches that don't include libchrome.

Bug: 25691685
Test: Compiles, unittests pass

Change-Id: I768a14722661c07929ded0e672c7d36cd689c419
/system/tools/aidl/tests/fake_io_delegate.cpp
9d6e0b29add607669e440085f1fc60cd434dc987 13-Nov-2015 Christopher Wiley <wiley@google.com> Remove generated code on IO errors

Bug: 25026025
Test: unit tests

Change-Id: Ice5d823102c742d546386f1ad71ef63a48c90820
/system/tools/aidl/tests/fake_io_delegate.cpp
ef1409302aa97b1807e55c63588ac0a428f41a06 03-Nov-2015 Christopher Wiley <wiley@google.com> Allow mocking of preprocessed file read

Bug: 17415692
Test: Clean build of AOSP succeeds.

Change-Id: I723031e9847b589909825736f1094e6bba039f7a
/system/tools/aidl/tests/fake_io_delegate.cpp
a30a45e7b7cdd3c4b5b7c5dcc6ce005abfe7c90f 17-Oct-2015 Christopher Wiley <wiley@google.com> Mock IO in all unit tests

Bug: 24816077
Test: unittests pass

Change-Id: I3e269106727370173a45a3443602a33eb4d7e9f8
/system/tools/aidl/tests/fake_io_delegate.cpp
ea6e382143e4a8df894d47db3a6cb79a38ad4530 07-Oct-2015 Christopher Wiley <wiley@google.com> Mock file system dependencies in end to end tests

Use FakeIoDelegate in end to end tests to abstract file I/O.

Bug: 24703046
Test: Unittests pass

Change-Id: I1496d6e8d120a193262c2f90b2dec646a5c939c5
/system/tools/aidl/tests/fake_io_delegate.cpp
72877acd3b57462fcd452bff4a9d7ff936936a8e 06-Oct-2015 Christopher Wiley <wiley@google.com> Add ImportResolver class

This class delegates to an IoDelegate for file I/O.
This replaces the search_path.* files.

Bug: 24703046
Test: Unittests pass

Change-Id: I261f6066cef514926b45174988863b745a37e87c
/system/tools/aidl/tests/fake_io_delegate.cpp
4a2884b0e9414ed9dfee4e141e8bd462c07b442b 07-Oct-2015 Christopher Wiley <wiley@google.com> Read all files through IoDelegate

This allows us to easily fake out file IO in tests.

Bug: 24703046
Change-Id: I33a59c8e43489b03f27f99fb2949e58cc0311eb1
Test: unittests still pass, clean build of android passes
/system/tools/aidl/tests/fake_io_delegate.cpp