LEFT | RIGHT |
(no file at all) | |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2009 University of Washington | 3 * Copyright (c) 2009 University of Washington |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1264 * If the TestRunner is invoked with "--update-data", this will be | 1264 * If the TestRunner is invoked with "--update-data", this will be |
1265 * the data directory instead. | 1265 * the data directory instead. |
1266 * | 1266 * |
1267 * \param [in] filename The bare (no path) file name | 1267 * \param [in] filename The bare (no path) file name |
1268 * \return The full path to \p filename in the temporary directory. | 1268 * \return The full path to \p filename in the temporary directory. |
1269 */ | 1269 */ |
1270 std::string CreateTempDirFilename (std::string filename); | 1270 std::string CreateTempDirFilename (std::string filename); |
1271 /**@}*/ | 1271 /**@}*/ |
1272 ·· | 1272 ·· |
1273 private: | 1273 private: |
| 1274 /// allow TestRunnerImpl class friend access |
1274 friend class TestRunnerImpl; | 1275 friend class TestRunnerImpl; |
1275 | 1276 |
1276 /** | 1277 /** |
1277 * \brief Implementation to do any local setup required for this | 1278 * \brief Implementation to do any local setup required for this |
1278 * TestCase. | 1279 * TestCase. |
1279 * | 1280 * |
1280 * Subclasses should override this method to perform any costly | 1281 * Subclasses should override this method to perform any costly |
1281 * per-test setup before DoRun is invoked. | 1282 * per-test setup before DoRun is invoked. |
1282 */ | 1283 */ |
1283 virtual void DoSetup (void); | 1284 virtual void DoSetup (void); |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1474 T | 1475 T |
1475 TestVectors<T>::Get (uint32_t i) const | 1476 TestVectors<T>::Get (uint32_t i) const |
1476 { | 1477 { |
1477 NS_ABORT_MSG_UNLESS (m_vectors.size () > i, "TestVectors::Get(): Bad index"); | 1478 NS_ABORT_MSG_UNLESS (m_vectors.size () > i, "TestVectors::Get(): Bad index"); |
1478 return m_vectors[i]; | 1479 return m_vectors[i]; |
1479 } | 1480 } |
1480 | 1481 |
1481 } // namespace ns3· | 1482 } // namespace ns3· |
1482 | 1483 |
1483 #endif /* NS3_TEST_H */ | 1484 #endif /* NS3_TEST_H */ |
LEFT | RIGHT |