third_party.pigweed.src/pw_software_update/bundled_update_service_pwpb_test.cc
Eli Lipsitz f62d19548d pw_software_update: Add pw_protobuf-based service
Previously, pw_software_update only had a nanopb RPC
BundledUpdateService. This commit adds a new version of the service that
uses pw_protobuf RPC.

The service was essentially copy-pasted from the nanopb version, with
changes made to the RPC method handlers to use all of the new types.

Change-Id: Ib561407e50bbe1ff953439be4b570e08e8587b6a
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/104866
Reviewed-by: Ali Zhang <alizhang@google.com>
Commit-Queue: Eli Lipsitz <elipsitz@google.com>
2022-08-09 00:50:24 +00:00

20 lines
729 B
C++

// Copyright 2021 The Pigweed Authors
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
// License for the specific language governing permissions and limitations under
// the License.
#include "pw_software_update/bundled_update_service_pwpb.h"
#include "gtest/gtest.h"
TEST(BundledUpdateServicePwpb, Compiles) {}