File: DefaultSchedulingManagerTest.cpp

package info (click to toggle)
warped 20031216-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,276 kB
  • ctags: 2,616
  • sloc: cpp: 16,610; sh: 7,071; makefile: 318
file content (48 lines) | stat: -rw-r--r-- 1,391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright (c) 2003 Clifton Labs, Inc.  All rights reserved.

// CLIFTON LABS MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE
// SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT
// NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
// PARTICULAR PURPOSE, OR NON-INFRINGEMENT.  CLIFTON LABS SHALL NOT BE
// LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, RESULT
// OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.

// By using or copying this Software, Licensee agrees to abide by the
// intellectual property laws, and all other applicable laws of the
// U.S., and the terms of this license.

// Authors: Dale E. Martin              dmartin@cliftonlabs.com

#include "DefaultSchedulingManagerTest.h"
#include "warped/DefaultSchedulingManager.h"

DefaultSchedulingManagerTest::DefaultSchedulingManagerTest()
 : toTest(0){}

void 
DefaultSchedulingManagerTest::setUp(){
  SchedulingManagerTest::setUp();
  toTest = new DefaultSchedulingManager( getSimManager() );
}

void
DefaultSchedulingManagerTest::teardown(){
  delete toTest;
  toTest = 0;
  SchedulingManagerTest::tearDown();
}

void
DefaultSchedulingManagerTest::testConstructor(){
  SchedulingManagerTest::testConstructor( toTest );
}

void
DefaultSchedulingManagerTest::testGetNextEvent(){
  SchedulingManagerTest::testGetNextEvent( toTest );
}