diff --git a/doc-test/src/test/java/org/neo4j/gds/doc/HarmonicCentralityDocTest.java b/doc-test/src/test/java/org/neo4j/gds/doc/HarmonicCentralityDocTest.java new file mode 100644 index 0000000000..33b783b237 --- /dev/null +++ b/doc-test/src/test/java/org/neo4j/gds/doc/HarmonicCentralityDocTest.java @@ -0,0 +1,53 @@ +/* + * Copyright (c) "Neo4j" + * Neo4j Sweden AB [http://neo4j.com] + * + * This file is part of Neo4j. + * + * Neo4j is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package org.neo4j.gds.doc; + +import org.neo4j.gds.catalog.GraphProjectProc; +import org.neo4j.gds.functions.AsNodeFunc; +import org.neo4j.gds.harmonic.HarmonicCentralityMutateProc; +import org.neo4j.gds.harmonic.HarmonicCentralityStatsProc; +import org.neo4j.gds.harmonic.HarmonicCentralityStreamProc; +import org.neo4j.gds.harmonic.HarmonicCentralityWriteProc; + +import java.util.List; + +class HarmonicCentralityDocTest extends SingleFileDocTestBase { + + @Override + protected List> functions() { + return List.of(AsNodeFunc.class); + } + + @Override + protected List> procedures() { + return List.of( + HarmonicCentralityStreamProc.class, + HarmonicCentralityStatsProc.class, + HarmonicCentralityWriteProc.class, + HarmonicCentralityMutateProc.class, + GraphProjectProc.class + ); + } + + @Override + protected String adocFile() { + return "pages/algorithms/harmonic-centrality.adoc"; + } +}