Move some NetworkStats tests to tests/net.

This groups them together with the rest of the networking unit
tests. It also speeds up compile/test cycles ("runtest -x" of one
file goes from 1m15s to 30s).

Bug: 33681750
Test: runtest frameworks-net passes on internal tree
Merged-In: I53cb0c51355fe4b4b30e451fa09fbbf58da39efd
Change-Id: I5ae5dbf74c94feb0fe3759681e5e6d6fba62fa32

(cherry picked from commit c86013be936f36c61fa0cdfad95141f6de3c6ef7)
This commit is contained in:
Lorenzo Colitti
2017-04-13 01:18:05 +09:00
committed by Hugo Benichi
parent 500dbae1b5
commit f7ffa460e4
7 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ import android.test.suitebuilder.annotation.SmallTest;
import android.test.suitebuilder.annotation.Suppress; import android.test.suitebuilder.annotation.Suppress;
import android.util.Log; import android.util.Log;
import com.android.frameworks.coretests.R; import com.android.frameworks.tests.net.R;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;

View File

@@ -30,7 +30,7 @@ import android.net.NetworkStats;
import android.net.TrafficStats; import android.net.TrafficStats;
import android.test.AndroidTestCase; import android.test.AndroidTestCase;
import com.android.frameworks.coretests.R; import com.android.frameworks.tests.net.R;
import java.io.File; import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;

Binary file not shown.