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
Feature: Counting lines of source code | |
Scenario: Counting lines succesfully | |
Given I have filled all the parameters correctly | |
When I click the GO button | |
Then I should have shown a line count | |
And I should have a file report generated in CSV format | |
And I should not have any error messages displaying | |
Scenario: Invalid parameters |
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
From e86d28bb6a46160b7b1fc1cf7b55b473aec8ed1e Mon Sep 17 00:00:00 2001 | |
From: Demetrius Nunes <[email protected]> | |
Date: Sun, 17 May 2009 23:55:26 -0300 | |
Subject: [PATCH] Just fixing the file name of README so it looks better on github | |
--- | |
README | 56 -------------------------------------------------------- | |
README.rdoc | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
2 files changed, 56 insertions(+), 56 deletions(-) | |
delete mode 100644 README |
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 org.netbeans.jemmy.drivers.DefaultDriverInstaller driver installer | |
It takes a while for the scenarios to begin executing, so please be patient... | |
Source: button_steps.rb:1 | |
I click the button "([^\"]*)" | |
I click the button "([^\"]*)" no block | |
Source: checkbox_steps.rb:1 | |
I click the checkbox "([^\"]*)" | |
the checkbox "([^\"]*)" should (not )*be selected |
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
(ns ego-checker.core | |
(:require [clj-http.client :as http] | |
[clojure.data.csv :as csv] | |
[clojure.java.io :as io])) | |
(def *file-urls* "lista-urls.txt") | |
(def *log-file-path* "error.log") | |
(defn test-url [url] | |
(try (let [resp (http/get url {:follow-redirects false})] |
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
var Robot = function(robot){ | |
robot.turnLeft(robot.angle % 90); | |
//robot.turnGunRight(90); | |
robot.clone(); | |
this.direction = 1; | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(1); | |
if (robot.parentId) { |
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var direction = 1; | |
var moveStep = 7; | |
var rotateStep = 1; | |
var initialized = false; | |
var noScanCount = 0; |
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
angular.module('ProductsService', []).factory('Products', ['$http', function ($http) { | |
return { | |
get: function () { | |
return $http.get('/api/products'); | |
}, | |
create: function (data) { | |
return $http.get('/api/products', data); | |
}, | |
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
angular.module("myApp").run(function ($rootScope) { | |
var proto = Object.getPrototypeOf($rootScope); | |
angular.extend(proto, { | |
$waitFor: function (expression, fn) { | |
var un = this.$watch(expression, function (value) { | |
if (value === undefined) return; | |
un(); | |
return fn(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
angular.module("myApp") | |
.config(function ($provide) { | |
$provide.decorator('$q', function($delegate) { | |
var defer = $delegate.defer; | |
$delegate.defer = function() { | |
var deferred = defer(); | |
deferred.promise.set = function(object, property) { | |
return deferred.promise.then(function(value) { | |
object[property] = value; |
OlderNewer