Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: source/test/threadtest/threadtest.h

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/test/threadtest/stringtest.cpp ('k') | source/test/threadtest/threadtest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/threadtest/threadtest.h
diff --git a/source/test/threadtest/threadtest.h b/source/test/threadtest/threadtest.h
deleted file mode 100644
index 1ad74cfe4ac2d3988898380db2580ff6a91e7bd0..0000000000000000000000000000000000000000
--- a/source/test/threadtest/threadtest.h
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-//********************************************************************
-// Copyright (C) 2002-2011, International Business Machines
-// Corporation and others. All Rights Reserved.
-//********************************************************************
-//
-// File threadtest.h
-//
-#ifndef ABSTRACTTHREADTEST_H
-#define ABSTRACTTHREADTEST_H
-//------------------------------------------------------------------------------
-//
-// class AbstractThreadTest Base class for threading tests.
-// Use of this abstract base isolates the part of the
-// program that nows how to spin up and control threads
-// from the specific stuff being tested, and (hopefully)
-// simplifies adding new threading tests for different parts
-// of ICU.
-//
-// Derived classes: A running test will have exactly one instance of a
-// derived class, which will persist for the duration of the
-// test and be shared among all of the threads involved in
-// the test.
-//
-// The constructor will be called in a single-threaded environment,
-// and should set up any data that will need to persist for the
-// duration.
-//
-// runOnce() will be called repeatedly by the working threads of
-// the test in the full multi-threaded environment.
-//
-// check() will be called periodically in a single threaded
-// environment, with the worker threads temporarily suspended between
-// between calls to runOnce(). Do consistency checks here.
-//
-//------------------------------------------------------------------------------
-class AbstractThreadTest {
-public:
- AbstractThreadTest() {};
- virtual ~AbstractThreadTest();
- virtual void check() = 0;
- virtual void runOnce() = 0;
-};
-
-#endif // ABSTRACTTHREADTEST_H
« no previous file with comments | « source/test/threadtest/stringtest.cpp ('k') | source/test/threadtest/threadtest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698