summaryrefslogtreecommitdiffstats
path: root/services/tests
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2011-11-17 15:30:46 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-11-17 15:30:46 -0800
commit8549aeea0af63810bd5a661a23079d6554e4717b (patch)
tree33845eb8b3980323504cbedce8bc2e7952491d4f /services/tests
parenta5ca41e9cc82628a8776d8dd78f0ec270d69dda4 (diff)
parent6967cbc959b079fa7e4411360e40e2a0ed65da29 (diff)
downloadframeworks_base-8549aeea0af63810bd5a661a23079d6554e4717b.zip
frameworks_base-8549aeea0af63810bd5a661a23079d6554e4717b.tar.gz
frameworks_base-8549aeea0af63810bd5a661a23079d6554e4717b.tar.bz2
Merge "Rename EntropyService to EntropyMixer"
Diffstat (limited to 'services/tests')
-rw-r--r--services/tests/servicestests/src/com/android/server/EntropyMixerTest.java (renamed from services/tests/servicestests/src/com/android/server/EntropyServiceTest.java)6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/tests/servicestests/src/com/android/server/EntropyServiceTest.java b/services/tests/servicestests/src/com/android/server/EntropyMixerTest.java
index 636ba21..21a8ec2 100644
--- a/services/tests/servicestests/src/com/android/server/EntropyServiceTest.java
+++ b/services/tests/servicestests/src/com/android/server/EntropyMixerTest.java
@@ -23,9 +23,9 @@ import android.test.AndroidTestCase;
import java.io.File;
/**
- * Tests for {@link com.android.server.EntropyService}
+ * Tests for {@link com.android.server.EntropyMixer}
*/
-public class EntropyServiceTest extends AndroidTestCase {
+public class EntropyMixerTest extends AndroidTestCase {
public void testInitialWrite() throws Exception {
File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE);
@@ -34,7 +34,7 @@ public class EntropyServiceTest extends AndroidTestCase {
assertEquals(0, FileUtils.readTextFile(file, 0, null).length());
// The constructor has the side effect of writing to file
- new EntropyService("/dev/null", file.getCanonicalPath());
+ new EntropyMixer("/dev/null", file.getCanonicalPath());
assertTrue(FileUtils.readTextFile(file, 0, null).length() > 0);
}