Blender V5.3
remote_library_test.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2026 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#include "testing/testing.h"
6
8
10
11TEST(RemoteLibraryTest, url_ends_with_top_meta_file_name)
12{
15
17 "https://example.com/_asset-library-meta.json"));
18
23 "https://example.com/_asset-library-meta.json/"));
24 /* Missing slash. */
26 "https://example.com_asset-library-meta.json"));
27}
28
29} // namespace blender::asset_system::tests
#define EXPECT_FALSE(result)
#define EXPECT_TRUE(result)
TEST(EssentialsLibraryTest, is_online_essentials_url)
bool remote_library_url_ends_with_top_meta_file_name(const StringRef url)