MCPcopy Create free account
hub / github.com/Kitware/VTK / Exit

Method Exit

Wrapping/Java/vtk/vtkJavaTesting.java:91–102  ·  view source on GitHub ↗
(int retVal)

Source from the content-addressed store, hash-verified

89 }
90
91 public static void Exit(int retVal) {
92 vtkJavaTesting.Tester = null;
93 System.gc();
94 vtkObjectBase.JAVA_OBJECT_MANAGER.gc(true);
95
96 if (retVal == vtkJavaTesting.FAILED || retVal == vtkJavaTesting.NOT_RUN) {
97 System.out.println("Test failed or was not run");
98 System.exit(1);
99 }
100 System.out.println("Test passed");
101 System.exit(0);
102 }
103
104 public static int RegressionTest(vtkRenderWindow renWin, double threshold) {
105 vtkJavaTesting.Tester.SetRenderWindow(renWin);

Callers 6

mainMethod · 0.80
runMethod · 0.80
runMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80

Calls 2

gcMethod · 0.65
exitMethod · 0.45

Tested by

no test coverage detected