cukeforker 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -30,19 +30,19 @@ module CukeForker
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def on_display_fetched(server)
|
33
|
-
log.info "[ display #{server.display.to_s.ljust(
|
33
|
+
log.info "[ display #{server.display.to_s.ljust(3)} ] fetched"
|
34
34
|
end
|
35
35
|
|
36
36
|
def on_display_released(server)
|
37
|
-
log.info "[ display #{server.display.to_s.ljust(
|
37
|
+
log.info "[ display #{server.display.to_s.ljust(3)} ] released"
|
38
38
|
end
|
39
39
|
|
40
40
|
def on_display_starting(server)
|
41
|
-
log.info "[ display #{server.display.to_s.ljust(
|
41
|
+
log.info "[ display #{server.display.to_s.ljust(3)} ] starting"
|
42
42
|
end
|
43
43
|
|
44
44
|
def on_display_stopping(server)
|
45
|
-
log.info "[ display #{server.display.to_s.ljust(
|
45
|
+
log.info "[ display #{server.display.to_s.ljust(3)} ] stopping"
|
46
46
|
end
|
47
47
|
|
48
48
|
def on_eta(eta, remaining, finished)
|
data/lib/cukeforker/version.rb
CHANGED
@@ -12,7 +12,7 @@ module CukeForker
|
|
12
12
|
mock_worker2 = mock(Worker, :id => "15", :feature => "foo/baz", :failed? => true)
|
13
13
|
|
14
14
|
mock_display = mock(VncServer)
|
15
|
-
mock_display.stub(:display).and_return(nil, ":5")
|
15
|
+
mock_display.stub(:display).and_return(nil, ":5", ":15")
|
16
16
|
|
17
17
|
listener.on_run_starting
|
18
18
|
listener.on_display_starting mock_display
|
@@ -38,10 +38,10 @@ I, [#{timestamp}] INFO -- : [ worker 15 ] starting: foo/baz
|
|
38
38
|
I, [#{timestamp}] INFO -- : [ eta 10/255] #{Time.now.strftime "%Y-%m-%d %H:%M:%S"}
|
39
39
|
I, [#{timestamp}] INFO -- : [ worker 1 ] passed : foo/bar
|
40
40
|
I, [#{timestamp}] INFO -- : [ worker 15 ] failed : foo/baz
|
41
|
-
I, [#{timestamp}] INFO -- : [ display :
|
41
|
+
I, [#{timestamp}] INFO -- : [ display :15 ] released
|
42
42
|
I, [#{timestamp}] INFO -- : [ run ] interrupted - please wait
|
43
43
|
I, [#{timestamp}] INFO -- : [ run ] finished, passed
|
44
|
-
I, [#{timestamp}] INFO -- : [ display :
|
44
|
+
I, [#{timestamp}] INFO -- : [ display :15 ] stopping
|
45
45
|
OUTPUT
|
46
46
|
end
|
47
47
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 5
|
9
|
+
version: 0.0.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jari Bakken
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-01-
|
17
|
+
date: 2011-01-25 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|