Internals: Rename selfTest, no functional change.

This commit is contained in:
Wilson Snyder 2017-10-30 19:01:58 -04:00
parent df471e87eb
commit 52c3031a82
4 changed files with 5 additions and 5 deletions

View File

@ -363,7 +363,7 @@ public:
};
return names[m_e];
};
static void test() {
static void selfTest() {
UASSERT(0==strcmp(AstBasicDTypeKwd(_ENUM_MAX).ascii()," MAX"),"Enum array mismatch");
UASSERT(0==strcmp(AstBasicDTypeKwd(_ENUM_MAX).dpiType()," MAX"),"Enum array mismatch");
}

View File

@ -132,7 +132,7 @@ public:
void dumpDotFilePrefixedAlways(const string& nameComment, bool colorAsSubgraph=false) const;
void userClearVertices();
void userClearEdges();
static void test();
static void selfTest();
// CALLBACKS
virtual void loopsMessageCb(V3GraphVertex* vertexp) { v3fatalSrc("Loops detected in graph: "<<vertexp); }

View File

@ -351,7 +351,7 @@ void V3GraphTestImport::dotImport() {
//======================================================================
void V3Graph::test() {
void V3Graph::selfTest() {
// Execute all of the tests
UINFO(2,__FUNCTION__<<": "<<endl);
{ V3GraphTestStrong test; test.run(); }

View File

@ -585,8 +585,8 @@ int main(int argc, char** argv, char** env) {
// Internal tests (after option parsing as need debug() setting)
VHashSha1::selfTest();
AstBasicDTypeKwd::test();
V3Graph::test();
AstBasicDTypeKwd::selfTest();
V3Graph::selfTest();
//--FRONTEND------------------