Skip to content

Commit f044434

Browse files
committed
Remove obsolete test cases.
Signed-off-by: Rahul Krishna <[email protected]>
1 parent bec7ad7 commit f044434

File tree

6 files changed

+1285
-1340
lines changed

6 files changed

+1285
-1340
lines changed

poetry.lock

Lines changed: 408 additions & 435 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/analysis/java/test_java.py

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
1-
from typing import List, Tuple
2-
3-
import pytest
4-
51
from cldk import CLDK
2+
from typing import List, Tuple
63
from cldk.analysis import AnalysisLevel
74
from cldk.models.java.models import JMethodDetail
8-
import toml
9-
import shutil
10-
import pytest
11-
import zipfile
12-
from pathlib import Path
13-
from urllib.request import urlretrieve
145

156

16-
# @pytest.mark.parametrize("test_fixture", ["daytrader"], indirect=["test_fixture"])
177
def test_get_class_call_graph(test_fixture, codeanalyzer_jar_path):
188
# Initialize the CLDK object with the project directory, language, and analysis_backend.
199
cldk = CLDK(language="java")
@@ -29,22 +19,3 @@ def test_get_class_call_graph(test_fixture, codeanalyzer_jar_path):
2919
qualified_class_name="com.ibm.websphere.samples.daytrader.impl.direct.TradeDirectDBUtils"
3020
)
3121
assert class_call_graph is not None
32-
33-
34-
# @pytest.mark.parametrize("test_fixture", ["CLI"], indirect=["test_fixture"])
35-
# def test_get_class_call_graph_using_symbol_table(test_fixture):
36-
# # Initialize the CLDK object with the project directory, language, and analysis_backend.
37-
# cldk = CLDK(language="java")
38-
39-
# analysis = cldk.analysis(
40-
# project_path=test_fixture,
41-
# analysis_backend="codeanalyzer",
42-
# analysis_json_path="../../../tests/resources/java/analysis_db",
43-
# eager=False,
44-
# analysis_level=AnalysisLevel.symbol_table,
45-
# )
46-
# class_call_graph: List[Tuple[JMethodDetail, JMethodDetail]] = analysis.get_class_call_graph(
47-
# qualified_class_name="org.apache.commons.cli.DefaultParser", method_signature="handleConcatenatedOptions(String)", using_symbol_table=True
48-
# )
49-
50-
# assert class_call_graph is not None

0 commit comments

Comments
 (0)