chromium/third_party/crashpad/crashpad/util/stream/base94_output_stream_test.cc

// Copyright 2019 The Crashpad 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
//
//     http://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 "util/stream/base94_output_stream.h"

#include <string.h>

#include <algorithm>
#include <iterator>
#include <sstream>

#include "base/containers/heap_array.h"
#include "base/rand_util.h"
#include "base/strings/stringprintf.h"
#include "gtest/gtest.h"
#include "util/stream/test_output_stream.h"

namespace crashpad {
namespace test {
namespace {

constexpr size_t kLongDataLength =;

std::string DumpInput(const uint8_t* input, size_t size) {}

class Base94OutputStreamTest : public testing::Test {};

TEST_F(Base94OutputStreamTest, Encoding) {}

TEST_F(Base94OutputStreamTest, Encoding1) {}

TEST_F(Base94OutputStreamTest, Encoding2) {}

TEST_F(Base94OutputStreamTest, Encoding3) {}

TEST_F(Base94OutputStreamTest, Encoding4) {}

TEST_F(Base94OutputStreamTest, Encoding10) {}

TEST_F(Base94OutputStreamTest, Encoding11) {}

TEST_F(Base94OutputStreamTest, Encoding12) {}

TEST_F(Base94OutputStreamTest, Encoding13) {}

TEST_F(Base94OutputStreamTest, Encoding14) {}

TEST_F(Base94OutputStreamTest, Printable94) {}

TEST_F(Base94OutputStreamTest, WriteLongDataMultipleTimes) {}

TEST_F(Base94OutputStreamTest, WriteDeterministicLongDataMultipleTimes) {}

TEST_F(Base94OutputStreamTest, NoWriteOrFlush) {}

TEST_F(Base94OutputStreamTest, FlushWithoutWrite) {}

TEST_F(Base94OutputStreamTest, WriteEmptyData) {}

TEST_F(Base94OutputStreamTest, Process7bitsInFinishDecoding) {}

}  // namespace
}  // namespace test
}  // namespace crashpad