blob: 5cd897a973de826fc2e1265572755ff3e07a4eb7 [file] [log] [blame]
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
parcel TestLucy;
/** Schema for use by the test suite.
*
* Exposes problems faced by much larger indexes by using an TestArchitecture,
* which returns absurdly low values for [](cfish:.Index_Interval) and [](cfish:.Skip_Interval).
*/
class Lucy::Test::TestSchema inherits Lucy::Plan::Schema {
bool use_alt_arch;
inert incremented TestSchema*
new(bool use_alt_arch = false);
inert TestSchema*
init(TestSchema *self, bool use_alt_arch = false);
public incremented Architecture*
Architecture(TestSchema *self);
}
class Lucy::Test::TestBatchSchema
inherits Clownfish::TestHarness::TestBatch {
inert incremented TestBatchSchema*
new();
void
Run(TestBatchSchema *self, TestBatchRunner *runner);
}