Skip to content

Commit f304eb3

Browse files
authored
[breaking] Deprecate the MOI.Test submodule (#1407)
* [breaking] Deprecate the MOI.Test submodule by moving it to MOI.DeprecatedTests This is the first step in a series of pull requests to rewrite our existing testing infrastructure. Rather than rewriting it in-place, we're starting afresh to simplify the transition process for solvers. * Fix segfault
1 parent 9fb8da1 commit f304eb3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+112
-103
lines changed

docs/src/manual/implementing.md

Lines changed: 1 addition & 1 deletion

docs/src/submodules/Test/overview.md

Lines changed: 23 additions & 23 deletions

src/Test/Test.jl renamed to src/DeprecatedTest/DeprecatedTest.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Test
1+
module DeprecatedTest
22

33
using MathOptInterface
44
const MOI = MathOptInterface
File renamed without changes.

src/Test/UnitTests/constraints.jl renamed to src/DeprecatedTest/UnitTests/constraints.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ function solve_start_soc(model::MOI.ModelLike, config::Config{T}) where {T}
540540
end
541541
if config.solve
542542
MOI.optimize!(model)
543-
MOI.Test.test_model_solution(
543+
test_model_solution(
544544
model,
545545
config;
546546
objective_value = o,
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)