コード例 #1
0
void TeamcityMessages::testFailed(string name, string message, string details) {
    openMsg("testFailed");
    writeProperty("name", name);
    writeProperty("message", message);
    writeProperty("details", details);
    closeMsg();
}
コード例 #2
0
void TeamcityMessages::testIgnored(std::string name, std::string message)
{
	openMsg("testIgnored");
	writeProperty("name", name);
	writeProperty("message", message);
	closeMsg();
}
コード例 #3
0
ファイル: SPELLserverCif.C プロジェクト: unnch/spell-sat
//=============================================================================
// METHOD: SPELLserverCif::closeSubprocedure
//=============================================================================
void SPELLserverCif::closeSubprocedure( const std::string& procId )
{
    SPELLipcMessage closeMsg(ContextMessages::REQ_CLOSE_EXEC);
    closeMsg.setType(MSG_TYPE_REQUEST);
    closeMsg.set(MessageField::FIELD_SPROC_ID, procId);

    SPELLipcMessage* response = sendCTXRequest( &closeMsg, SPELL_CIF_CTXREQUEST_TIMEOUT_SEC );
    delete response;
}
コード例 #4
0
void TeamcityMessages::testStarted(string name, string flowid) {
    openMsg("testStarted");
    writeProperty("name", name);
    if(flowid.length() > 0) {
        writeProperty("flowId", flowid);
    }

    closeMsg();
}
コード例 #5
0
void TeamcityMessages::testFailed(string name, string message, string details, string flowid) {
    openMsg("testFailed");
    writeProperty("name", name);
    writeProperty("message", message);
    writeProperty("details", details);
    if(flowid.length() > 0) {
        writeProperty("flowId", flowid);
    }

    closeMsg();
}
コード例 #6
0
void TeamcityMessages::testFinished(string name, int durationMs, string flowid) {
    openMsg("testFinished");

    writeProperty("name", name);

    if(flowid.length() > 0) {
        writeProperty("flowId", flowid);
    }

    if(durationMs >= 0) {
        stringstream out;
        out << durationMs;
        writeProperty("duration", out.str());
    }

    closeMsg();
}
コード例 #7
0
ファイル: ZMQActor.cpp プロジェクト: ciuc/sipxecs
void ZMQActor::stopPerformingTasks()
{

  if (_isSubscribed)
    stopReadingEvents();
  
  if (_isReading)
  {
    ZMQMessage closeMsg("ZMQActor::stopPerformingTasks");
    putTask(closeMsg);

    _isReading = false;
    if (_pReadThread)
      _pReadThread->join();
  }

  _taskQueue.close(100);
  _actor.close(100);

}
コード例 #8
0
void TeamcityMessages::testStarted(string name)
{
	openMsg("testStarted");
	writeProperty("name", name);
	closeMsg();
}
コード例 #9
0
void TeamcityMessages::suiteFinished(string name)
{
	openMsg("testSuiteFinished");
	writeProperty("name", name);
	closeMsg();
}