Merge "VideoEditor:IssueID:3396697: Added Performance test code"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3ed54d03ee
@@ -17,7 +17,8 @@
|
||||
package com.android.mediaframeworktest;
|
||||
|
||||
import com.android.mediaframeworktest.performance.MediaPlayerPerformance;
|
||||
|
||||
/*Video Editor performance Test cases*/
|
||||
import com.android.mediaframeworktest.performance.VideoEditorPerformance;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import android.test.InstrumentationTestRunner;
|
||||
@@ -26,7 +27,7 @@ import android.test.InstrumentationTestSuite;
|
||||
|
||||
/**
|
||||
* Instrumentation Test Runner for all MediaPlayer tests.
|
||||
*
|
||||
*
|
||||
* Running all tests:
|
||||
*
|
||||
* adb shell am instrument \
|
||||
@@ -40,6 +41,8 @@ public class MediaFrameworkPerfTestRunner extends InstrumentationTestRunner {
|
||||
public TestSuite getAllTests() {
|
||||
TestSuite suite = new InstrumentationTestSuite(this);
|
||||
suite.addTestSuite(MediaPlayerPerformance.class);
|
||||
/*Video Editor performance Test cases*/
|
||||
suite.addTestSuite(VideoEditorPerformance.class);
|
||||
return suite;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@ package com.android.mediaframeworktest;
|
||||
import android.test.InstrumentationTestRunner;
|
||||
import android.test.InstrumentationTestSuite;
|
||||
import com.android.mediaframeworktest.stress.MediaPlayerStressTest;
|
||||
/** Import for Video Editor Stress Test cases*/
|
||||
import com.android.mediaframeworktest.stress.VideoEditorStressTest;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
@@ -28,6 +30,8 @@ public class MediaPlayerStressTestRunner extends InstrumentationTestRunner {
|
||||
public TestSuite getAllTests() {
|
||||
TestSuite suite = new InstrumentationTestSuite(this);
|
||||
suite.addTestSuite(MediaPlayerStressTest.class);
|
||||
/** Video Editor Stress Test cases*/
|
||||
suite.addTestSuite(VideoEditorStressTest.class);
|
||||
return suite;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user