summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2023-10-17 18:27:46 +0000
committer Steven Moreland <smoreland@google.com> 2023-10-17 18:29:33 +0000
commita5fec0bbd30c82016b06aedddc2fe6fa6ee93588 (patch)
tree61d16d481f66b25f9789f000413bcd1d91988b2b
parentecf372879bdbb2a6fef8f738fba3846e44fe0e7e (diff)
binderRpcWireProtocolTest: remove experimental
We are no longer testing that when the wire protocol version is not experimental, that the experimental wire protocol version has no changes. Due to TARGET_RELEASE, we will never mark the 'current' or 'default' version of the wire protocol to be the experimental version. Instead, the experimental version would stage various changes to the wire protocol, and we'd update the default once we want to stabilize that. Bug: 305786304 Test: binderRpcWireProtocolTest on -next Change-Id: Ie4db164bc00ff5980c2c10f0697a05557c752a3a
-rw-r--r--libs/binder/tests/binderRpcWireProtocolTest.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/libs/binder/tests/binderRpcWireProtocolTest.cpp b/libs/binder/tests/binderRpcWireProtocolTest.cpp
index 642cea440d..2718af6d70 100644
--- a/libs/binder/tests/binderRpcWireProtocolTest.cpp
+++ b/libs/binder/tests/binderRpcWireProtocolTest.cpp
@@ -263,16 +263,4 @@ TEST(RpcWire, ReleaseBranchHasFrozenRpcWireProtocol) {
}
}
-TEST(RpcWire, IfNotExperimentalCodeHasNoExperimentalFeatures) {
- if (RPC_WIRE_PROTOCOL_VERSION == RPC_WIRE_PROTOCOL_VERSION_EXPERIMENTAL) {
- GTEST_SKIP() << "Version is experimental, so experimental features are okay.";
- }
-
- // if we set the wire protocol version to experimental, none of the code
- // should introduce a difference (if this fails, it means we have features
- // which are enabled under experimental mode, but we aren't actually using
- // or testing them!)
- checkRepr(kCurrentRepr, RPC_WIRE_PROTOCOL_VERSION_EXPERIMENTAL);
-}
-
} // namespace android