egl/egltest/src/eglteststep.cpp
changeset 85 cdf2f6e5c390
parent 36 01a6848ebfd7
child 110 7f25ef56562d
child 121 d72fc2aace31
--- a/egl/egltest/src/eglteststep.cpp	Fri May 14 17:10:13 2010 +0300
+++ b/egl/egltest/src/eglteststep.cpp	Thu May 27 14:13:51 2010 +0300
@@ -31,6 +31,8 @@
 #include "egltest_image_multithread.h"
 #include "egltest_image_multiprocess.h"
 #include "egltest_benchmark_sgimage.h"
+#include "egltest_oom_sgimage.h"
+#include "egltest_stress_sgimage.h"
 #include "egltest_benchmark_swapbuffers.h"
 
 /*
@@ -150,11 +152,22 @@
 	else if (aStepName == KEGL_Image_Multi_Process_VgImage_ProcessTerminateNegative)				testStep = new CEglTest_EGL_Image_Multi_Process_VgImage_ProcessTerminateNegative;
 	else if (aStepName == KEGL_Image_Multi_Process_VgImage_ReadWrite)								testStep = new CEglTest_EGL_Image_Multi_Process_VgImage_ReadWrite;
 
-	// Benchmark
+	// Benchmark - SgImage
     else if (aStepName == KBenchmark_CreateCloseImage)                                              testStep = new CEglTest_Benchmark_CreateCloseImage;
     else if (aStepName == KBenchmark_Multi_Process_CreateCloseImage)                                testStep = new CEglTest_Benchmark_Multi_Process_CreateCloseImage;
     else if (aStepName == KBenchmark_DrawImage)                                                     testStep = new CEglTest_Benchmark_DrawImage;
+
+	// Benchmark - SwapBuffers
     else if (aStepName == KBenchmark_SwapBuffers)                                                   testStep = new CEglTest_Benchmark_SwapBuffers;
 
+	//OOM
+    else if (aStepName == KOOM_CloseVGImageWithTermination)                                         testStep = new CEglTest_OOM_CloseVGImageWithTermination;
+    else if (aStepName == KOOM_CloseVGImage)                                                        testStep = new CEglTest_OOM_CloseVGImage;
+    else if (aStepName == KOOM_ClosePixmapSurfaceWithTermination)                                   testStep = new CEglTest_OOM_ClosePixmapSurfaceWithTermination;
+    else if (aStepName == KOOM_ClosePixmapSurface)                                                  testStep = new CEglTest_OOM_ClosePixmapSurface;	
+
+    //Stress
+    else if (aStepName == KStress)                                                                  testStep = new CEglTest_Stress;
+
 	return testStep;
 	}