This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebDriverBackedSelenium; | |
import org.openqa.selenium.firefox.FirefoxDriver; | |
import com.thoughtworks.selenium.Selenium; | |
public class SeleniumCheckboxExample { | |
public static void main(String[] args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.math.BigDecimal; | |
public class MoneyUtil { | |
public static int DECIMAL_PLACES = 2; | |
public static int ROUNDING = BigDecimal.ROUND_HALF_UP; | |
// convert | |
public static BigDecimal decimal(int value) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// usage: cat urls.txt | php checklinks.php --use-curl | |
// initialize results arrays | |
$valid_links = array(); | |
$invalid_links = array(); | |
// check command line option whether to use curl (prefered method) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using NUnit.Core; | |
using NUnit.Framework.Constraints; | |
namespace oneshore.qa.testrunner | |
{ | |
class TestRunner | |
{ | |
public static void Main(String[] args) | |
{ |
NewerOlder