summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/bind_unittest.cc4
-rw-r--r--base/message_loop/message_loop_unittest.cc25
-rw-r--r--base/prefs/pref_notifier_impl_unittest.cc7
-rw-r--r--base/synchronization/condition_variable_unittest.cc5
4 files changed, 0 insertions, 41 deletions
diff --git a/base/bind_unittest.cc b/base/bind_unittest.cc
index 2c93d53..e1f15cb 100644
--- a/base/bind_unittest.cc
+++ b/base/bind_unittest.cc
@@ -127,10 +127,6 @@ class CopyCounter {
return *copies_;
}
- int assigns() const {
- return *assigns_;
- }
-
private:
int* copies_;
int* assigns_;
diff --git a/base/message_loop/message_loop_unittest.cc b/base/message_loop/message_loop_unittest.cc
index 4637165..7ccee73 100644
--- a/base/message_loop/message_loop_unittest.cc
+++ b/base/message_loop/message_loop_unittest.cc
@@ -53,36 +53,11 @@ class Foo : public RefCounted<Foo> {
Foo() : test_count_(0) {
}
- void Test0() {
- ++test_count_;
- }
-
void Test1ConstRef(const std::string& a) {
++test_count_;
result_.append(a);
}
- void Test1Ptr(std::string* a) {
- ++test_count_;
- result_.append(*a);
- }
-
- void Test1Int(int a) {
- test_count_ += a;
- }
-
- void Test2Ptr(std::string* a, std::string* b) {
- ++test_count_;
- result_.append(*a);
- result_.append(*b);
- }
-
- void Test2Mixed(const std::string& a, std::string* b) {
- ++test_count_;
- result_.append(a);
- result_.append(*b);
- }
-
int test_count() const { return test_count_; }
const std::string& result() const { return result_; }
diff --git a/base/prefs/pref_notifier_impl_unittest.cc b/base/prefs/pref_notifier_impl_unittest.cc
index 29ea322..8482c02 100644
--- a/base/prefs/pref_notifier_impl_unittest.cc
+++ b/base/prefs/pref_notifier_impl_unittest.cc
@@ -80,13 +80,6 @@ class PrefObserverMock : public PrefObserver {
virtual ~PrefObserverMock() {}
MOCK_METHOD2(OnPreferenceChanged, void(PrefService*, const std::string&));
-
- void Expect(PrefService* prefs,
- const std::string& pref_name,
- const base::Value* value) {
- EXPECT_CALL(*this, OnPreferenceChanged(prefs, pref_name))
- .With(PrefValueMatches(prefs, pref_name, value));
- }
};
// Test fixture class.
diff --git a/base/synchronization/condition_variable_unittest.cc b/base/synchronization/condition_variable_unittest.cc
index ee554ff..5f947a9 100644
--- a/base/synchronization/condition_variable_unittest.cc
+++ b/base/synchronization/condition_variable_unittest.cc
@@ -101,7 +101,6 @@ class WorkQueue : public PlatformThread::Delegate {
int GetNumThreadsTakingAssignments() const;
int GetNumThreadsCompletingTasks() const;
int GetNumberOfCompletedTasks() const;
- TimeDelta GetWorkTime() const;
void SetWorkTime(TimeDelta delay);
void SetTaskCount(int count);
@@ -651,10 +650,6 @@ int WorkQueue::GetNumberOfCompletedTasks() const {
return total;
}
-TimeDelta WorkQueue::GetWorkTime() const {
- return worker_delay_;
-}
-
void WorkQueue::SetWorkTime(TimeDelta delay) {
worker_delay_ = delay;
}