blob: a03bcb7bc8bcd86704a05bc2771f357fde03b446 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2008 Nanorex, Inc. See LICENSE file for details.
#include "NXCommandResultTest.h"
CPPUNIT_TEST_SUITE_REGISTRATION(NXCommandResultTest);
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(NXCommandResultTest, "NXCommandResultTestSuite");
/* FUNCTION: setUp */
void NXCommandResultTest::setUp() {
}
/* FUNCTION: tearDown */
void NXCommandResultTest::tearDown() {
}
/* FUNCTION: basicTest */
void NXCommandResultTest::basicTest() {
NXCommandResult* commandResult = new NXCommandResult();
QString translation = GetNV1ResultCodeString(commandResult);
CPPUNIT_ASSERT(translation == "Internal error: NXCommandResult not populated.");
}
|