summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorDragos Sbirlea <dragoss@google.com>2013-08-08 10:43:47 -0700
committerDragos Sbirlea <dragoss@google.com>2013-08-08 10:53:50 -0700
commitb0f871965d588cce066785728fb105248b38bb4a (patch)
tree777eb2adbcfc35858135756d893cda86b333b9f4 /runtime
parent597e46bf300244a45d1e214c618e89250b39912b (diff)
downloadart-b0f871965d588cce066785728fb105248b38bb4a.zip
art-b0f871965d588cce066785728fb105248b38bb4a.tar.gz
art-b0f871965d588cce066785728fb105248b38bb4a.tar.bz2
Removed unused friend classes for tests.
Change-Id: I7f08b0cd4abbbc82f329a8bec0d0994327b6dba9
Diffstat (limited to 'runtime')
-rw-r--r--runtime/base/mutex.h2
-rw-r--r--runtime/class_linker.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/runtime/base/mutex.h b/runtime/base/mutex.h
index 21ba0d2..2f41bcd 100644
--- a/runtime/base/mutex.h
+++ b/runtime/base/mutex.h
@@ -179,7 +179,6 @@ class LOCKABLE Mutex : public BaseMutex {
const bool recursive_; // Can the lock be recursively held?
unsigned int recursion_count_;
friend class ConditionVariable;
- friend class MutexTester;
DISALLOW_COPY_AND_ASSIGN(Mutex);
};
@@ -290,7 +289,6 @@ class LOCKABLE ReaderWriterMutex : public BaseMutex {
#else
pthread_rwlock_t rwlock_;
#endif
- friend class MutexTester;
DISALLOW_COPY_AND_ASSIGN(ReaderWriterMutex);
};
diff --git a/runtime/class_linker.h b/runtime/class_linker.h
index 060c26c..67be2ff 100644
--- a/runtime/class_linker.h
+++ b/runtime/class_linker.h
@@ -617,9 +617,7 @@ class ClassLinker {
const void* portable_resolution_trampoline_;
const void* quick_resolution_trampoline_;
- friend class CommonTest;
friend class ImageWriter; // for GetClassRoots
- friend class ObjectTest;
FRIEND_TEST(ClassLinkerTest, ClassRootDescriptors);
FRIEND_TEST(mirror::DexCacheTest, Open);
FRIEND_TEST(ExceptionTest, FindExceptionHandler);