src/t_tst_cse.c
void
t_tst_cse_getDescription( lua_State *L, int pos )
{
	int concat = 0;
	// description
	lua_getfield( L, pos, "description" );    //S: cse dsc
	concat++;                          //S: … dsc
	if (t_tst_cse_hasField( L, pos, "skip", 1 ))
	{
		lua_pushstring( L, " # SKIP: " );
		lua_insert( L, -2 );            //S: … nme skp
		concat+=2;
	}
	if (t_tst_cse_hasField( L, pos, "todo", 1 ))
	{
		lua_pushstring( L, " # TODO: " );
		lua_insert( L, -2 );            //S: … nme skp
		concat+=2;
	}
	if (concat > 1) lua_concat( L, concat );
}
/**--------------------------------------------------------------------------
 * Push Test.Case description information on stack
 * \param    L      Lua state.
 * \param    pos    int position of Test.Case on Stack.
 * \lparam   table  T.Test.Case Lua table instance.
 * \lresult  string T.Test.Case description.
 * --------------------------------------------------------------------------*/
Push Test.Case description information on stack
\param    L      Lua state.
\param    pos    int position of Test.Case on Stack.
\lparam   table  T.Test.Case Lua table instance.
Push Test . Case description information on stack \ param L Lua state . \ param pos int position of Test . Case on Stack . \ lparam table T . Test . Case Lua table instance .
void
t_tst_cse_getDescription( lua_State *L, int pos )
{
	int concat = 0;
	lua_getfield( L, pos, "description" );    
	concat++;                          
	if (t_tst_cse_hasField( L, pos, "skip", 1 ))
	{
		lua_pushstring( L, " # SKIP: " );
		lua_insert( L, -2 );            
		concat+=2;
	}
	if (t_tst_cse_hasField( L, pos, "todo", 1 ))
	{
		lua_pushstring( L, " # TODO: " );
		lua_insert( L, -2 );            
		concat+=2;
	}
	if (concat > 1) lua_concat( L, concat );
}
void t_tst_cse_getDescription ( lua_State * L , int pos ) { int concat = 0 ; lua_getfield ( L , pos , " " ) ; concat ++ ; if ( t_tst_cse_hasField ( L , pos , " " , 1 ) ) { lua_pushstring ( L , " " ) ; lua_insert ( L , -2 ) ; concat += 2 ; } if ( t_tst_cse_hasField ( L , pos , " " , 1 ) ) { lua_pushstring ( L , " " ) ; lua_insert ( L , -2 ) ; concat += 2 ; } if ( concat > 1 ) lua_concat ( L , concat ) ; }
Push Test.Case description information on stack
 \param    L      Lua state.
Push Test . Case description information on stack \ param L Lua state .
// description //S: cse dsc //S: … dsc //S: … nme skp //S: … nme skp