tools/testy/sample/SimpleTest.cpp
author Daniel Holbert <dholbert@cs.stanford.edu>
Mon, 04 Feb 2013 08:17:31 -0800
changeset 120772 b40b5c2a7592cb44717b5dd199ac9c6bacfe0677
parent 108752 2d1a365a332043ac3cc4bbc0cc2c216610004ce8
permissions -rw-r--r--
Bug 836957 part 3: Mark remaining nsIFrame::GetSkipSides() overrides as MOZ_OVERRIDE, and remove stale comments. r=mats

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#include "nspr.h"
#include "TestySupport.h"

extern "C" {
PR_EXPORT(int) Testy_Init();
PR_EXPORT(int) Testy_RunTest();
PR_EXPORT(int) Testy_Shutdown();
}


int Testy_Init() 
{
  return 0;
}


int Testy_RunTest() 
{
  const char* testCaseName1 = "Simple Test 1";

  Testy_LogStart(testCaseName1);
  Testy_LogComment(testCaseName1, "Comment 1");
  Testy_LogEnd(testCaseName1, true);

  const char* testCaseName2 = "Simple Test 2";

  Testy_LogStart(testCaseName2);
  Testy_LogComment(testCaseName2, "Comment 2");
  Testy_LogEnd(testCaseName2, false);

  return 0;
}

int Testy_Shutdown() 
{
  return 0;
}