summaryrefslogtreecommitdiffstats
path: root/test/t/test_javadoc.py
blob: 395d196dd49294837fe0b658438c79336cb8bae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import pytest


class TestJavadoc:
    @pytest.mark.complete("javadoc ")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("javadoc -linkoffline shared/default/")
    def test_2(self, completion):
        assert completion == ["bar bar.d/", "foo.d/"]

    @pytest.mark.complete(
        "javadoc -nodeprecated -linkoffline foo shared/default/"
    )
    def test_3(self, completion):
        assert completion == ["bar bar.d/", "foo.d/"]