# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
vespa_add_library(searchlib_test
    SOURCES
    attribute_builder.cpp
    document_weight_attribute_helper.cpp
    doc_builder.cpp
    docid_iterator.cpp
    ft_test_app_base.cpp
    imported_attribute_fixture.cpp
    initrange.cpp
    make_attribute_map_lookup_node.cpp
    mock_attribute_context.cpp
    mock_attribute_manager.cpp
    searchiteratorverifier.cpp
    schema_builder.cpp
    string_field_builder.cpp
    tensor_divergence.cpp
    test_features.cpp
    vector_buffer_writer.cpp
    weightedchildrenverifiers.cpp
    $<TARGET_OBJECTS:searchlib_test_fakedata>
    $<TARGET_OBJECTS:searchlib_searchlib_test_diskindex>
    DEPENDS
    vespa_searchlib
    searchlib_searchlib_test_features
    searchlib_searchlib_test_memoryindex
    GTest::gtest
)
