90
90
import org .junit .jupiter .api .BeforeEach ;
91
91
import org .junit .jupiter .api .Disabled ;
92
92
import org .junit .jupiter .api .Test ;
93
+ import org .junit .jupiter .api .condition .DisabledIf ;
93
94
import org .junit .jupiter .api .condition .EnabledForJreRange ;
94
95
import org .junit .jupiter .api .condition .EnabledOnJre ;
95
96
import org .junit .jupiter .api .condition .JRE ;
@@ -1715,6 +1716,9 @@ public void evaluateAtExitFalse() throws IOException, URISyntaxException {
1715
1716
}
1716
1717
1717
1718
@ Test
1719
+ @ DisabledIf (
1720
+ value = "datadog.trace.api.Platform#isJ9" ,
1721
+ disabledReason = "we cannot get local variable debug info" )
1718
1722
public void uncaughtExceptionConditionLocalVar () throws IOException , URISyntaxException {
1719
1723
final String CLASS_NAME = "CapturedSnapshot05" ;
1720
1724
LogProbe probe =
@@ -1745,6 +1749,9 @@ public void uncaughtExceptionConditionLocalVar() throws IOException, URISyntaxEx
1745
1749
}
1746
1750
1747
1751
@ Test
1752
+ @ DisabledIf (
1753
+ value = "datadog.trace.api.Platform#isJ9" ,
1754
+ disabledReason = "we cannot get local variable debug info" )
1748
1755
public void uncaughtExceptionCaptureLocalVars () throws IOException , URISyntaxException {
1749
1756
final String CLASS_NAME = "com.datadog.debugger.CapturedSnapshot31" ;
1750
1757
LogProbe probe = createProbeAtExit (PROBE_ID , CLASS_NAME , "uncaughtException" , null );
@@ -1766,6 +1773,9 @@ public void uncaughtExceptionCaptureLocalVars() throws IOException, URISyntaxExc
1766
1773
}
1767
1774
1768
1775
@ Test
1776
+ @ DisabledIf (
1777
+ value = "datadog.trace.api.Platform#isJ9" ,
1778
+ disabledReason = "we cannot get local variable debug info" )
1769
1779
public void methodProbeLocalVarsLocalScopes () throws IOException , URISyntaxException {
1770
1780
final String CLASS_NAME = "com.datadog.debugger.CapturedSnapshot31" ;
1771
1781
LogProbe probe = createProbeAtExit (PROBE_ID , CLASS_NAME , "localScopes" , "(String)" );
@@ -1779,6 +1789,9 @@ public void methodProbeLocalVarsLocalScopes() throws IOException, URISyntaxExcep
1779
1789
}
1780
1790
1781
1791
@ Test
1792
+ @ DisabledIf (
1793
+ value = "datadog.trace.api.Platform#isJ9" ,
1794
+ disabledReason = "we cannot get local variable debug info" )
1782
1795
public void methodProbeLocalVarsDeepScopes () throws IOException , URISyntaxException {
1783
1796
final String CLASS_NAME = "com.datadog.debugger.CapturedSnapshot31" ;
1784
1797
LogProbe probe = createProbeAtExit (PROBE_ID , CLASS_NAME , "deepScopes" , "(String)" );
@@ -1796,6 +1809,9 @@ public void methodProbeLocalVarsDeepScopes() throws IOException, URISyntaxExcept
1796
1809
}
1797
1810
1798
1811
@ Test
1812
+ @ DisabledIf (
1813
+ value = "datadog.trace.api.Platform#isJ9" ,
1814
+ disabledReason = "we cannot get local variable debug info" )
1799
1815
public void methodProbeExceptionLocalVars () throws IOException , URISyntaxException {
1800
1816
final String CLASS_NAME = "com.datadog.debugger.CapturedSnapshot31" ;
1801
1817
LogProbe probe = createProbeAtExit (PROBE_ID , CLASS_NAME , "caughtException" , "(String)" );
0 commit comments