extface 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/extface/handler_controller.rb +2 -1
- data/app/models/extface/driver/daisy_fx1200.rb +13 -6
- data/app/models/extface/driver/datecs/fp550.rb +10 -0
- data/lib/extface/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/extface/229906743/fp550.log +12 -19
- data/test/dummy/log/extface/229906743/fp550.log.20151218 +19 -0
- data/test/dummy/log/extface/40760454/daisy_fx1200.log +82 -0
- data/test/dummy/log/test.log +3149 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0c28c0bb76182ec308d13c66ec6fda61 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/131ba126cbb50b7f5f85d7434f7c28b3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/15e76fa46a3a6e9fd1531a8c87f9754a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/186a4774ad51dc6b952364ea2ecc9f10 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2169de77528f685913b8d978a0d49adf +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6c907ebc4dfc91ded4c6eb63eaceaced +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/81686b30268fe172f742337f6436e1a6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/831e944af1f82a381077fb977a19a6cd +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8aa3dc18b0669349dc82d38659466521 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9ced0eb107fc14e46aeb9b937a532de5 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9e1cee742bc3f459695d6b9e41675708 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ce7a21dec96ce1c6f0f9f380f9e99a6e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d0df4c04576dd7648b6e39e9f96145ae +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/dd316630a8b1c9b3f9c1abc10a867aa8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e696ab595fbf956db2bdc4e9093d8f5f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f464488ab7bbe37fa1173adc61121ada +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f511fb416ef5d95e616a40da2e91ec11 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f755ad83652a30f284f1f466a41d283d +0 -0
- data/test/fixtures/extface/devices.yml +7 -1
- data/test/fixtures/extface/drivers.yml +4 -1
- data/test/models/extface/driver/daisy_fx1200_test.rb +72 -0
- data/test/models/extface/driver/datecs/fp550_test.rb +3 -3
- metadata +45 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd36e31ad80dacfbd38ca67bcf2c934f469d3010
|
4
|
+
data.tar.gz: 91c004d69a145a1f07c9504518f6cb4c0185a64d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c15488dc4545d7aa1c4e49865382bc87072af460af8f6eaaafad984dc4eee168788cde344fae9de1993b044491ffb35dca2b6a5b7375899e888823988c93080
|
7
|
+
data.tar.gz: 92a0cf7b2dc09ae94160ef01ab69792700176fbb1ff3de8c9e788a7e195bfcc3c03ae9a7ac3dcc7056dd17f800d223184b2a9b3c12c3893f6ecfa5f29bdedbdd
|
@@ -34,9 +34,10 @@ module Extface
|
|
34
34
|
r.append device.uuid, request.body.read
|
35
35
|
@full_buffer = r.get device.uuid
|
36
36
|
end
|
37
|
-
|
37
|
+
while @full_buffer.present? && bytes_porcessed = device.driver.pre_handle(@full_buffer.b) #handle more than one valid packet in the buffer
|
38
38
|
Extface.redis_block do |r|
|
39
39
|
r.set device.uuid, @full_buffer.b[bytes_porcessed..-1]
|
40
|
+
@full_buffer = r.get device.uuid
|
40
41
|
end
|
41
42
|
end
|
42
43
|
#stream_job # stream right now :)
|
@@ -19,6 +19,7 @@ module Extface
|
|
19
19
|
ACKS_MAX_WAIT = 60 #count / nothing is forever
|
20
20
|
NAKS_MAX_COUNT = 3 #count
|
21
21
|
BAD_SEQ_MAX_COUNT = 3
|
22
|
+
NO_RESP_MAX_COUNT = 3
|
22
23
|
|
23
24
|
TAX_GROUPS_MAP = {
|
24
25
|
1 => "\xc0",
|
@@ -44,12 +45,9 @@ module Extface
|
|
44
45
|
include Extface::Driver::Daisy::CommandsFx1200
|
45
46
|
|
46
47
|
def handle(buffer) #buffer is filled with multiple pushes, wait for full frame (ACKs)STX..PA2..PA1..ETX
|
47
|
-
if
|
48
|
-
rpush buffer[0..
|
49
|
-
return
|
50
|
-
else
|
51
|
-
#TODO check buffer.length
|
52
|
-
return 0 #no bytes processed
|
48
|
+
if i = buffer.index("\x03") || buffer.index("\x16") || buffer.index("\x15")
|
49
|
+
rpush buffer[0..i]
|
50
|
+
return i + 1 # return number of bytes processed
|
53
51
|
end
|
54
52
|
end
|
55
53
|
|
@@ -209,6 +207,8 @@ module Extface
|
|
209
207
|
result = false
|
210
208
|
invalid_frames = 0
|
211
209
|
nak_messages = 0
|
210
|
+
no_resp = 0
|
211
|
+
flush # fix mysterious double packet response, #TODO send 2 commands and then read 2 responses may fail
|
212
212
|
push packet_data
|
213
213
|
ACKS_MAX_WAIT.times do |retries|
|
214
214
|
errors.clear
|
@@ -237,6 +237,13 @@ module Extface
|
|
237
237
|
end
|
238
238
|
push packet_data unless resp.ack?
|
239
239
|
end
|
240
|
+
else
|
241
|
+
no_resp += 1
|
242
|
+
if no_resp > NO_RESP_MAX_COUNT
|
243
|
+
p "No reply in #{NO_RESP_MAX_COUNT * RESPONSE_TIMEOUT} seconds. Abort!"
|
244
|
+
errors.add :base, "No reply in #{NO_RESP_MAX_COUNT * RESPONSE_TIMEOUT} seconds. Abort!"
|
245
|
+
return result
|
246
|
+
end
|
240
247
|
end
|
241
248
|
errors.add :base, "#{ACKS_MAX_WAIT} ACKs Received. Abort!"
|
242
249
|
end
|
@@ -7,6 +7,7 @@ module Extface
|
|
7
7
|
ACKS_MAX_WAIT = 60 #count / nothing is forever
|
8
8
|
NAKS_MAX_COUNT = 3 #count
|
9
9
|
BAD_SEQ_MAX_COUNT = 3
|
10
|
+
NO_RESP_MAX_COUNT = 3
|
10
11
|
|
11
12
|
TAX_GROUPS_MAP = {
|
12
13
|
1 => "\xc0",
|
@@ -173,6 +174,8 @@ module Extface
|
|
173
174
|
result = false
|
174
175
|
invalid_frames = 0 #counter for bad responses
|
175
176
|
nak_messages = 0 #counter for rejected packets (should re-transmit the packet)
|
177
|
+
no_resp = 0
|
178
|
+
flush #prevent double packet response issue like daisy driver
|
176
179
|
push packet_data #send packet
|
177
180
|
ACKS_MAX_WAIT.times do |retries|
|
178
181
|
errors.clear
|
@@ -201,6 +204,13 @@ module Extface
|
|
201
204
|
end
|
202
205
|
push packet_data unless resp.ack?
|
203
206
|
end
|
207
|
+
else
|
208
|
+
no_resp += 1
|
209
|
+
if no_resp > NO_RESP_MAX_COUNT
|
210
|
+
p "No reply in #{NO_RESP_MAX_COUNT * RESPONSE_TIMEOUT} seconds. Abort!"
|
211
|
+
errors.add :base, "No reply in #{NO_RESP_MAX_COUNT * RESPONSE_TIMEOUT} seconds. Abort!"
|
212
|
+
return result
|
213
|
+
end
|
204
214
|
end
|
205
215
|
errors.add :base, "#{ACKS_MAX_WAIT} ACKs Received. Abort!"
|
206
216
|
end
|
data/lib/extface/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,19 +1,12 @@
|
|
1
|
-
# Logfile created on 2015-
|
2
|
-
D, [2015-
|
3
|
-
D, [2015-
|
4
|
-
D, [2015-
|
5
|
-
D, [2015-
|
6
|
-
D, [2015-
|
7
|
-
D, [2015-
|
8
|
-
D, [2015-
|
9
|
-
D, [2015-
|
10
|
-
D, [2015-
|
11
|
-
D, [2015-
|
12
|
-
D, [2015-
|
13
|
-
D, [2015-08-20T23:27:10.104003 #10084] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
14
|
-
D, [2015-08-20T23:29:04.699820 #10232] DEBUG -- : --> 01 25 2F 4A 58 05 30 30 3F 3B 03
|
15
|
-
D, [2015-08-20T23:29:05.707869 #10232] DEBUG -- : --> 01 24 30 2C 05 30 30 38 35 03
|
16
|
-
D, [2015-08-20T23:29:52.412818 #10274] DEBUG -- : --> 01 25 2E 4A 58 05 30 30 3F 3A 03
|
17
|
-
D, [2015-08-20T23:30:24.424356 #10315] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
18
|
-
D, [2015-08-20T23:34:26.072999 #10315] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
19
|
-
D, [2015-08-20T23:34:36.074700 #10315] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
1
|
+
# Logfile created on 2015-12-19 10:13:09 -0500 by logger.rb/44203
|
2
|
+
D, [2015-12-19T10:13:09.841582 #15365] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
3
|
+
D, [2015-12-19T10:20:54.495691 #15557] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
4
|
+
D, [2015-12-19T12:39:00.632595 #21144] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
5
|
+
D, [2015-12-19T12:43:02.043461 #21144] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
6
|
+
D, [2015-12-19T12:43:12.044925 #21144] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
7
|
+
D, [2015-12-19T12:45:25.794472 #21389] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
8
|
+
D, [2015-12-19T12:45:26.796379 #21389] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
9
|
+
D, [2015-12-19T12:47:18.967939 #21469] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
10
|
+
D, [2015-12-19T12:47:19.970944 #21469] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
11
|
+
D, [2015-12-19T12:56:06.468061 #21740] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
12
|
+
D, [2015-12-19T12:56:07.470141 #21740] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Logfile created on 2015-08-20 22:58:49 -0400 by logger.rb/44203
|
2
|
+
D, [2015-08-20T22:58:49.387760 #8731] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
3
|
+
D, [2015-08-20T23:02:51.092705 #8731] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
4
|
+
D, [2015-08-20T23:03:01.094521 #8731] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
5
|
+
D, [2015-08-20T23:15:08.348198 #9708] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
6
|
+
D, [2015-08-20T23:15:27.362920 #9748] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
7
|
+
D, [2015-08-20T23:15:43.740630 #9786] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
8
|
+
D, [2015-08-20T23:17:54.654980 #9909] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
9
|
+
D, [2015-08-20T23:18:16.956819 #9946] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
10
|
+
D, [2015-08-20T23:21:02.456584 #10031] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
11
|
+
D, [2015-08-20T23:22:58.259650 #10084] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
12
|
+
D, [2015-08-20T23:27:00.101687 #10084] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
13
|
+
D, [2015-08-20T23:27:10.104003 #10084] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
14
|
+
D, [2015-08-20T23:29:04.699820 #10232] DEBUG -- : --> 01 25 2F 4A 58 05 30 30 3F 3B 03
|
15
|
+
D, [2015-08-20T23:29:05.707869 #10232] DEBUG -- : --> 01 24 30 2C 05 30 30 38 35 03
|
16
|
+
D, [2015-08-20T23:29:52.412818 #10274] DEBUG -- : --> 01 25 2E 4A 58 05 30 30 3F 3A 03
|
17
|
+
D, [2015-08-20T23:30:24.424356 #10315] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
|
18
|
+
D, [2015-08-20T23:34:26.072999 #10315] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
19
|
+
D, [2015-08-20T23:34:36.074700 #10315] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# Logfile created on 2015-12-19 10:43:06 -0500 by logger.rb/44203
|
2
|
+
D, [2015-12-19T10:43:06.412290 #16188] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
3
|
+
D, [2015-12-19T10:49:20.486696 #16441] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
4
|
+
D, [2015-12-19T10:53:22.107688 #16441] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
5
|
+
D, [2015-12-19T10:53:32.108923 #16441] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
6
|
+
D, [2015-12-19T11:05:14.662329 #16927] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
7
|
+
D, [2015-12-19T11:05:15.663152 #16927] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
8
|
+
D, [2015-12-19T11:11:26.059445 #17290] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
9
|
+
D, [2015-12-19T11:11:27.063714 #17290] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
10
|
+
D, [2015-12-19T11:13:29.073984 #17422] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
11
|
+
D, [2015-12-19T11:13:30.084109 #17422] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
12
|
+
D, [2015-12-19T11:14:51.386106 #17514] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
13
|
+
D, [2015-12-19T11:14:52.391172 #17514] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
14
|
+
D, [2015-12-19T11:47:46.827158 #18697] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
15
|
+
D, [2015-12-19T11:47:47.825200 #18697] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
16
|
+
D, [2015-12-19T11:51:19.618242 #18741] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
17
|
+
D, [2015-12-19T11:52:36.035294 #18847] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
18
|
+
D, [2015-12-19T11:52:37.037775 #18847] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
19
|
+
D, [2015-12-19T11:52:38.058034 #18847] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
20
|
+
D, [2015-12-19T11:52:48.058565 #18847] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
21
|
+
D, [2015-12-19T11:54:08.979787 #18902] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
22
|
+
D, [2015-12-19T11:54:09.984547 #18902] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
23
|
+
D, [2015-12-19T11:54:11.000391 #18902] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
24
|
+
D, [2015-12-19T11:54:21.002858 #18902] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
25
|
+
D, [2015-12-19T11:57:12.164609 #19013] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
26
|
+
D, [2015-12-19T11:57:13.172187 #19013] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
27
|
+
D, [2015-12-19T11:57:14.198314 #19013] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
28
|
+
D, [2015-12-19T11:57:24.201869 #19013] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
29
|
+
D, [2015-12-19T11:58:07.241485 #19098] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
30
|
+
D, [2015-12-19T11:58:08.249117 #19098] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
31
|
+
D, [2015-12-19T11:58:09.269978 #19098] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
32
|
+
D, [2015-12-19T11:58:19.271985 #19098] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
33
|
+
D, [2015-12-19T11:58:35.683951 #19191] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
34
|
+
D, [2015-12-19T11:58:36.692054 #19191] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
35
|
+
D, [2015-12-19T11:58:37.710507 #19191] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
36
|
+
D, [2015-12-19T11:58:47.712081 #19191] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
37
|
+
D, [2015-12-19T12:01:07.939133 #19514] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
38
|
+
D, [2015-12-19T12:01:08.948309 #19514] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
39
|
+
D, [2015-12-19T12:01:09.963643 #19514] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
40
|
+
D, [2015-12-19T12:01:19.966256 #19514] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
41
|
+
D, [2015-12-19T12:02:42.010379 #19632] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
42
|
+
D, [2015-12-19T12:02:43.017221 #19632] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
43
|
+
D, [2015-12-19T12:02:44.041822 #19632] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
44
|
+
D, [2015-12-19T12:02:54.044534 #19632] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
45
|
+
D, [2015-12-19T12:04:16.486702 #19711] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
46
|
+
D, [2015-12-19T12:04:17.493593 #19711] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
47
|
+
D, [2015-12-19T12:04:18.519615 #19711] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
48
|
+
D, [2015-12-19T12:04:28.520100 #19711] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
49
|
+
D, [2015-12-19T12:05:54.520755 #19864] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
50
|
+
D, [2015-12-19T12:05:55.516785 #19864] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
51
|
+
D, [2015-12-19T12:05:56.539940 #19864] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
52
|
+
D, [2015-12-19T12:06:06.543145 #19864] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
53
|
+
D, [2015-12-19T12:10:19.198705 #19982] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
54
|
+
D, [2015-12-19T12:10:20.208788 #19982] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
55
|
+
D, [2015-12-19T12:10:21.228661 #19982] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
56
|
+
D, [2015-12-19T12:10:31.231484 #19982] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
57
|
+
D, [2015-12-19T12:12:31.004347 #20127] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
58
|
+
D, [2015-12-19T12:12:32.003042 #20127] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
59
|
+
D, [2015-12-19T12:12:33.025942 #20127] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
60
|
+
D, [2015-12-19T12:12:43.028164 #20127] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
61
|
+
D, [2015-12-19T12:14:43.876898 #20188] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
62
|
+
D, [2015-12-19T12:14:44.893021 #20188] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
63
|
+
D, [2015-12-19T12:14:45.912284 #20188] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
64
|
+
D, [2015-12-19T12:14:55.912901 #20188] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
65
|
+
D, [2015-12-19T12:15:54.129293 #20296] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
66
|
+
D, [2015-12-19T12:15:55.126284 #20296] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
67
|
+
D, [2015-12-19T12:18:40.993475 #20367] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
68
|
+
D, [2015-12-19T12:18:42.001687 #20367] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
69
|
+
D, [2015-12-19T12:20:41.813345 #20591] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
70
|
+
D, [2015-12-19T12:20:42.814304 #20591] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
71
|
+
D, [2015-12-19T12:22:58.381881 #20872] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
72
|
+
D, [2015-12-19T12:22:59.387072 #20872] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
73
|
+
D, [2015-12-19T12:32:47.923617 #21050] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
74
|
+
D, [2015-12-19T12:32:48.929732 #21050] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
75
|
+
D, [2015-12-19T12:38:58.518353 #21144] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
76
|
+
D, [2015-12-19T12:38:59.531004 #21144] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
77
|
+
D, [2015-12-19T12:45:43.380804 #21389] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
78
|
+
D, [2015-12-19T12:45:44.399059 #21389] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
79
|
+
D, [2015-12-19T12:47:16.693732 #21469] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
80
|
+
D, [2015-12-19T12:47:17.696360 #21469] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
81
|
+
D, [2015-12-19T12:56:08.518115 #21740] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
|
82
|
+
D, [2015-12-19T12:56:09.528030 #21740] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
|
data/test/dummy/log/test.log
CHANGED
@@ -4152,3 +4152,3152 @@ Extface::Driver::Datecs::Fp550Test: test_response_frame
|
|
4152
4152
|
[1m[36mExtface::Driver Load (0.3ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
|
4153
4153
|
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
|
4154
4154
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4155
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4156
|
+
[1m[35m (292.0ms)[0m DROP TABLE "extface_devices"
|
4157
|
+
[1m[36m (106.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4158
|
+
[1m[35m (81.0ms)[0m DROP TABLE "extface_drivers"
|
4159
|
+
[1m[36m (90.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4160
|
+
[1m[35m (64.4ms)[0m DROP TABLE "extface_jobs"
|
4161
|
+
[1m[36m (115.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4162
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4163
|
+
[1m[36m (81.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4164
|
+
[1m[35m (56.6ms)[0m DROP TABLE "extface_serial_configs"
|
4165
|
+
[1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4166
|
+
[1m[35m (73.2ms)[0m DROP TABLE "shops"
|
4167
|
+
[1m[36m (73.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4168
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4169
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4170
|
+
[1m[35m (73.9ms)[0m DROP TABLE "extface_devices"
|
4171
|
+
[1m[36m (60.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4172
|
+
[1m[35m (64.3ms)[0m DROP TABLE "extface_drivers"
|
4173
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4174
|
+
[1m[35m (56.1ms)[0m DROP TABLE "extface_jobs"
|
4175
|
+
[1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4176
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4177
|
+
[1m[36m (61.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4178
|
+
[1m[35m (51.1ms)[0m DROP TABLE "extface_serial_configs"
|
4179
|
+
[1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4180
|
+
[1m[35m (92.0ms)[0m DROP TABLE "shops"
|
4181
|
+
[1m[36m (81.9ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4182
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4183
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4184
|
+
[1m[35m (85.4ms)[0m DROP TABLE "extface_devices"
|
4185
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4186
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
|
4187
|
+
[1m[36m (62.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4188
|
+
[1m[35m (51.0ms)[0m DROP TABLE "extface_jobs"
|
4189
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4190
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4191
|
+
[1m[36m (61.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4192
|
+
[1m[35m (51.1ms)[0m DROP TABLE "extface_serial_configs"
|
4193
|
+
[1m[36m (70.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4194
|
+
[1m[35m (64.4ms)[0m DROP TABLE "shops"
|
4195
|
+
[1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4196
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
4197
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4198
|
+
[1m[35m (219.8ms)[0m DROP TABLE "extface_devices"
|
4199
|
+
[1m[36m (61.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4200
|
+
[1m[35m (56.3ms)[0m DROP TABLE "extface_drivers"
|
4201
|
+
[1m[36m (57.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4202
|
+
[1m[35m (50.9ms)[0m DROP TABLE "extface_jobs"
|
4203
|
+
[1m[36m (54.0ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4204
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4205
|
+
[1m[36m (56.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4206
|
+
[1m[35m (50.8ms)[0m DROP TABLE "extface_serial_configs"
|
4207
|
+
[1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4208
|
+
[1m[35m (56.1ms)[0m DROP TABLE "shops"
|
4209
|
+
[1m[36m (65.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4210
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4211
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4212
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
|
4213
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:05:01', '2015-12-19 15:05:01', 980190962, 258259918)[0m
|
4214
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:05:01', '2015-12-19 15:05:01', 298486374, 599072141)
|
4215
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4216
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 980190962, 'Shop', 980190962, 258259918)
|
4217
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 298486374, 'Shop', 980190962, 599072141)[0m
|
4218
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 229906743, 'Shop', 980190962, 229906743)
|
4219
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
|
4220
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 258259918)
|
4221
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 412842077)[0m
|
4222
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 599072141)
|
4223
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 229906743)[0m
|
4224
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 40760454)
|
4225
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_jobs"[0m
|
4226
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:05:01', '2015-12-19 15:05:01', 980190962)
|
4227
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:05:01', '2015-12-19 15:05:01', 298486374)[0m
|
4228
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "shops"
|
4229
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:05:01', '2015-12-19 15:05:01', 980190962)[0m
|
4230
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:05:01', '2015-12-19 15:05:01', 298486374)
|
4231
|
+
[1m[36m (78.7ms)[0m [1mcommit transaction[0m
|
4232
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4233
|
+
---------------------------------------------
|
4234
|
+
Extface::Driver::DaisyFx1200Test: test_handle
|
4235
|
+
---------------------------------------------
|
4236
|
+
[1m[36mExtface::Driver Load (0.4ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
|
4237
|
+
[1m[35mExtface::Device Load (0.3ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
|
4238
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
4239
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4240
|
+
[1m[35m (62.6ms)[0m DROP TABLE "extface_devices"
|
4241
|
+
[1m[36m (76.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4242
|
+
[1m[35m (72.6ms)[0m DROP TABLE "extface_drivers"
|
4243
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4244
|
+
[1m[35m (48.0ms)[0m DROP TABLE "extface_jobs"
|
4245
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4246
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4247
|
+
[1m[36m (64.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4248
|
+
[1m[35m (47.9ms)[0m DROP TABLE "extface_serial_configs"
|
4249
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4250
|
+
[1m[35m (64.8ms)[0m DROP TABLE "shops"
|
4251
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4252
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4253
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4254
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4255
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:07:52', '2015-12-19 15:07:52', 980190962, 258259918)[0m
|
4256
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374, 599072141)
|
4257
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4258
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 980190962, 'Shop', 980190962, 258259918)
|
4259
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374, 'Shop', 980190962, 599072141)[0m
|
4260
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 229906743, 'Shop', 980190962, 229906743)
|
4261
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 40760454, 'Shop', 980190962, 40760454)[0m
|
4262
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
4263
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 258259918)[0m
|
4264
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 412842077)
|
4265
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 599072141)[0m
|
4266
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 229906743)
|
4267
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 40760454)[0m
|
4268
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4269
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:07:52', '2015-12-19 15:07:52', 980190962)[0m
|
4270
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374)
|
4271
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4272
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:07:52', '2015-12-19 15:07:52', 980190962)
|
4273
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374)[0m
|
4274
|
+
[1m[35m (45.9ms)[0m commit transaction
|
4275
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4276
|
+
---------------------------------------------
|
4277
|
+
Extface::Driver::DaisyFx1200Test: test_handle
|
4278
|
+
---------------------------------------------
|
4279
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
4280
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
4281
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
4282
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4283
|
+
[1m[35m (79.1ms)[0m DROP TABLE "extface_devices"
|
4284
|
+
[1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4285
|
+
[1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
|
4286
|
+
[1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4287
|
+
[1m[35m (56.5ms)[0m DROP TABLE "extface_jobs"
|
4288
|
+
[1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4289
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4290
|
+
[1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4291
|
+
[1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
|
4292
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4293
|
+
[1m[35m (64.7ms)[0m DROP TABLE "shops"
|
4294
|
+
[1m[36m (65.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4295
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
4296
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4297
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4298
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:10:09', '2015-12-19 15:10:09', 980190962, 258259918)[0m
|
4299
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:10:09', '2015-12-19 15:10:09', 298486374, 599072141)
|
4300
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4301
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 980190962, 'Shop', 980190962, 258259918)
|
4302
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 298486374, 'Shop', 980190962, 599072141)[0m
|
4303
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 229906743, 'Shop', 980190962, 229906743)
|
4304
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 40760454, 'Shop', 980190962, 40760454)[0m
|
4305
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
4306
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 258259918)[0m
|
4307
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 412842077)
|
4308
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 599072141)[0m
|
4309
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 229906743)
|
4310
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 40760454)[0m
|
4311
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4312
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:10:09', '2015-12-19 15:10:09', 980190962)[0m
|
4313
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:10:09', '2015-12-19 15:10:09', 298486374)
|
4314
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4315
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:10:09', '2015-12-19 15:10:09', 980190962)
|
4316
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:10:09', '2015-12-19 15:10:09', 298486374)[0m
|
4317
|
+
[1m[35m (54.7ms)[0m commit transaction
|
4318
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
4319
|
+
---------------------------------------------
|
4320
|
+
Extface::Driver::DaisyFx1200Test: test_handle
|
4321
|
+
---------------------------------------------
|
4322
|
+
[1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
4323
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
4324
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
4325
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4326
|
+
[1m[35m (150.7ms)[0m DROP TABLE "extface_devices"
|
4327
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4328
|
+
[1m[35m (64.2ms)[0m DROP TABLE "extface_drivers"
|
4329
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4330
|
+
[1m[35m (97.5ms)[0m DROP TABLE "extface_jobs"
|
4331
|
+
[1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4332
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4333
|
+
[1m[36m (72.9ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4334
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
|
4335
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4336
|
+
[1m[35m (72.7ms)[0m DROP TABLE "shops"
|
4337
|
+
[1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4338
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
4339
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4340
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "extface_serial_configs"
|
4341
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:13:09', '2015-12-19 15:13:09', 980190962, 258259918)[0m
|
4342
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:13:09', '2015-12-19 15:13:09', 298486374, 599072141)
|
4343
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4344
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 980190962, 'Shop', 980190962, 258259918)
|
4345
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 298486374, 'Shop', 980190962, 599072141)[0m
|
4346
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 229906743, 'Shop', 980190962, 229906743)
|
4347
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 40760454, 'Shop', 980190962, 40760454)[0m
|
4348
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
4349
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 258259918)[0m
|
4350
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 412842077)
|
4351
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 599072141)[0m
|
4352
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 229906743)
|
4353
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 40760454)[0m
|
4354
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4355
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:13:09', '2015-12-19 15:13:09', 980190962)[0m
|
4356
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:13:09', '2015-12-19 15:13:09', 298486374)
|
4357
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4358
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:13:09', '2015-12-19 15:13:09', 980190962)
|
4359
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:13:09', '2015-12-19 15:13:09', 298486374)[0m
|
4360
|
+
[1m[35m (48.6ms)[0m commit transaction
|
4361
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
4362
|
+
-----------------------------------------------------
|
4363
|
+
Extface::Driver::Datecs::Fp550Test: test_build_packet
|
4364
|
+
-----------------------------------------------------
|
4365
|
+
[1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
4366
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
4367
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4369
|
+
----------------------------------------------
|
4370
|
+
Extface::Driver::Datecs::Fp550Test: test_fsend
|
4371
|
+
----------------------------------------------
|
4372
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
4373
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
4374
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
4375
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
|
4376
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
|
4377
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4378
|
+
[1m[35m (90.0ms)[0m DROP TABLE "extface_devices"
|
4379
|
+
[1m[36m (106.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4380
|
+
[1m[35m (86.1ms)[0m DROP TABLE "extface_drivers"
|
4381
|
+
[1m[36m (82.0ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4382
|
+
[1m[35m (75.8ms)[0m DROP TABLE "extface_jobs"
|
4383
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4384
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4385
|
+
[1m[36m (72.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4386
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
|
4387
|
+
[1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4388
|
+
[1m[35m (73.1ms)[0m DROP TABLE "shops"
|
4389
|
+
[1m[36m (73.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4390
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4391
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4392
|
+
[1m[35m (93.1ms)[0m DROP TABLE "extface_devices"
|
4393
|
+
[1m[36m (86.8ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4394
|
+
[1m[35m (72.5ms)[0m DROP TABLE "extface_drivers"
|
4395
|
+
[1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4396
|
+
[1m[35m (75.7ms)[0m DROP TABLE "extface_jobs"
|
4397
|
+
[1m[36m (86.9ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4398
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4399
|
+
[1m[36m (83.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4400
|
+
[1m[35m (56.2ms)[0m DROP TABLE "extface_serial_configs"
|
4401
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4402
|
+
[1m[35m (64.5ms)[0m DROP TABLE "shops"
|
4403
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4404
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
4405
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4406
|
+
[1m[35m (64.8ms)[0m DROP TABLE "extface_devices"
|
4407
|
+
[1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4408
|
+
[1m[35m (65.4ms)[0m DROP TABLE "extface_drivers"
|
4409
|
+
[1m[36m (65.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4410
|
+
[1m[35m (56.7ms)[0m DROP TABLE "extface_jobs"
|
4411
|
+
[1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4412
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4413
|
+
[1m[36m (72.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4414
|
+
[1m[35m (64.8ms)[0m DROP TABLE "extface_serial_configs"
|
4415
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4416
|
+
[1m[35m (72.7ms)[0m DROP TABLE "shops"
|
4417
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4418
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4419
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4420
|
+
[1m[35m (101.6ms)[0m DROP TABLE "extface_devices"
|
4421
|
+
[1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4422
|
+
[1m[35m (64.3ms)[0m DROP TABLE "extface_drivers"
|
4423
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4424
|
+
[1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
|
4425
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4426
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4427
|
+
[1m[36m (72.9ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4428
|
+
[1m[35m (64.6ms)[0m DROP TABLE "extface_serial_configs"
|
4429
|
+
[1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4430
|
+
[1m[35m (72.7ms)[0m DROP TABLE "shops"
|
4431
|
+
[1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4432
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4433
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4434
|
+
[1m[35m (88.7ms)[0m DROP TABLE "extface_devices"
|
4435
|
+
[1m[36m (87.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4436
|
+
[1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
|
4437
|
+
[1m[36m (59.9ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4438
|
+
[1m[35m (56.2ms)[0m DROP TABLE "extface_jobs"
|
4439
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4440
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4441
|
+
[1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4442
|
+
[1m[35m (56.5ms)[0m DROP TABLE "extface_serial_configs"
|
4443
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4444
|
+
[1m[35m (64.7ms)[0m DROP TABLE "shops"
|
4445
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4446
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4447
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4448
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4449
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:20:54', '2015-12-19 15:20:54', 980190962, 258259918)[0m
|
4450
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:20:54', '2015-12-19 15:20:54', 298486374, 599072141)
|
4451
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4452
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 980190962, 'Shop', 980190962, 258259918)
|
4453
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 298486374, 'Shop', 980190962, 599072141)[0m
|
4454
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 229906743, 'Shop', 980190962, 229906743)
|
4455
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 40760454, 'Shop', 980190962, 40760454)[0m
|
4456
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
4457
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 258259918)[0m
|
4458
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 412842077)
|
4459
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 599072141)[0m
|
4460
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 229906743)
|
4461
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 40760454)[0m
|
4462
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4463
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:20:54', '2015-12-19 15:20:54', 980190962)[0m
|
4464
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:20:54', '2015-12-19 15:20:54', 298486374)
|
4465
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4466
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:20:54', '2015-12-19 15:20:54', 980190962)
|
4467
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:20:54', '2015-12-19 15:20:54', 298486374)[0m
|
4468
|
+
[1m[35m (56.8ms)[0m commit transaction
|
4469
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4470
|
+
-----------------------------------------------------
|
4471
|
+
Extface::Driver::Datecs::Fp550Test: test_build_packet
|
4472
|
+
-----------------------------------------------------
|
4473
|
+
[1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
4474
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
4475
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
4476
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4477
|
+
----------------------------------------------
|
4478
|
+
Extface::Driver::Datecs::Fp550Test: test_fsend
|
4479
|
+
----------------------------------------------
|
4480
|
+
[1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
4481
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
4482
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
4483
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
|
4484
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
|
4485
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4486
|
+
[1m[35m (132.2ms)[0m DROP TABLE "extface_devices"
|
4487
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4488
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
|
4489
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4490
|
+
[1m[35m (56.1ms)[0m DROP TABLE "extface_jobs"
|
4491
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4492
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4493
|
+
[1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4494
|
+
[1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
|
4495
|
+
[1m[36m (98.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4496
|
+
[1m[35m (73.2ms)[0m DROP TABLE "shops"
|
4497
|
+
[1m[36m (73.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4498
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
4499
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4500
|
+
[1m[35m (116.9ms)[0m DROP TABLE "extface_devices"
|
4501
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4502
|
+
[1m[35m (64.3ms)[0m DROP TABLE "extface_drivers"
|
4503
|
+
[1m[36m (57.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4504
|
+
[1m[35m (51.1ms)[0m DROP TABLE "extface_jobs"
|
4505
|
+
[1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4506
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4507
|
+
[1m[36m (56.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4508
|
+
[1m[35m (51.1ms)[0m DROP TABLE "extface_serial_configs"
|
4509
|
+
[1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4510
|
+
[1m[35m (56.2ms)[0m DROP TABLE "shops"
|
4511
|
+
[1m[36m (57.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4512
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4513
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4514
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4515
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:22:00', '2015-12-19 15:22:00', 980190962, 258259918)[0m
|
4516
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:22:00', '2015-12-19 15:22:00', 298486374, 599072141)
|
4517
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4518
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 980190962, 'Shop', 980190962, 258259918)
|
4519
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 298486374, 'Shop', 980190962, 599072141)[0m
|
4520
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 229906743, 'Shop', 980190962, 229906743)
|
4521
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 40760454, 'Shop', 980190962, 40760454)[0m
|
4522
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
4523
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 258259918)[0m
|
4524
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 412842077)
|
4525
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 599072141)[0m
|
4526
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 229906743)
|
4527
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 40760454)[0m
|
4528
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4529
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:22:00', '2015-12-19 15:22:00', 980190962)[0m
|
4530
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:22:00', '2015-12-19 15:22:00', 298486374)
|
4531
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4532
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:22:00', '2015-12-19 15:22:00', 980190962)
|
4533
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:22:00', '2015-12-19 15:22:00', 298486374)[0m
|
4534
|
+
[1m[35m (53.2ms)[0m commit transaction
|
4535
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
4536
|
+
-----------------------------------------------
|
4537
|
+
Extface::Driver::Datecs::Fp550Test: test_handle
|
4538
|
+
-----------------------------------------------
|
4539
|
+
[1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
4540
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
4541
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4542
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4543
|
+
[1m[35m (72.6ms)[0m DROP TABLE "extface_devices"
|
4544
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4545
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
|
4546
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4547
|
+
[1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
|
4548
|
+
[1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4549
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
4550
|
+
[1m[36m (97.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4551
|
+
[1m[35m (89.2ms)[0m DROP TABLE "extface_serial_configs"
|
4552
|
+
[1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4553
|
+
[1m[35m (64.6ms)[0m DROP TABLE "shops"
|
4554
|
+
[1m[36m (84.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4555
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4556
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4557
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4558
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:24:13', '2015-12-19 15:24:13', 980190962, 258259918)[0m
|
4559
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:24:13', '2015-12-19 15:24:13', 298486374, 599072141)
|
4560
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4561
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 980190962, 'Shop', 980190962, 258259918)
|
4562
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 298486374, 'Shop', 980190962, 599072141)[0m
|
4563
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 229906743, 'Shop', 980190962, 229906743)
|
4564
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 40760454, 'Shop', 980190962, 40760454)[0m
|
4565
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
4566
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 258259918)[0m
|
4567
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 412842077)
|
4568
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 599072141)[0m
|
4569
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 229906743)
|
4570
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 40760454)[0m
|
4571
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4572
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:24:13', '2015-12-19 15:24:13', 980190962)[0m
|
4573
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:24:13', '2015-12-19 15:24:13', 298486374)
|
4574
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4575
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:24:13', '2015-12-19 15:24:13', 980190962)
|
4576
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:24:13', '2015-12-19 15:24:13', 298486374)[0m
|
4577
|
+
[1m[35m (53.8ms)[0m commit transaction
|
4578
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4579
|
+
---------------------------------------------
|
4580
|
+
Extface::Driver::DaisyFx1200Test: test_handle
|
4581
|
+
---------------------------------------------
|
4582
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
4583
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
4584
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4585
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4586
|
+
[1m[35m (84.8ms)[0m DROP TABLE "extface_devices"
|
4587
|
+
[1m[36m (81.7ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4588
|
+
[1m[35m (81.0ms)[0m DROP TABLE "extface_drivers"
|
4589
|
+
[1m[36m (81.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4590
|
+
[1m[35m (72.9ms)[0m DROP TABLE "extface_jobs"
|
4591
|
+
[1m[36m (81.7ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4592
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4593
|
+
[1m[36m (53.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4594
|
+
[1m[35m (73.8ms)[0m DROP TABLE "extface_serial_configs"
|
4595
|
+
[1m[36m (72.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4596
|
+
[1m[35m (56.2ms)[0m DROP TABLE "shops"
|
4597
|
+
[1m[36m (57.1ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4598
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4599
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4600
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4601
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:26:28', '2015-12-19 15:26:28', 980190962, 258259918)[0m
|
4602
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:26:28', '2015-12-19 15:26:28', 298486374, 599072141)
|
4603
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4604
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 980190962, 'Shop', 980190962, 258259918)
|
4605
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 298486374, 'Shop', 980190962, 599072141)[0m
|
4606
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 229906743, 'Shop', 980190962, 229906743)
|
4607
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 40760454, 'Shop', 980190962, 40760454)[0m
|
4608
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
4609
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 258259918)[0m
|
4610
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 412842077)
|
4611
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 599072141)[0m
|
4612
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 229906743)
|
4613
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 40760454)[0m
|
4614
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4615
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:26:28', '2015-12-19 15:26:28', 980190962)[0m
|
4616
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:26:28', '2015-12-19 15:26:28', 298486374)
|
4617
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4618
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:28', '2015-12-19 15:26:28', 980190962)
|
4619
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:28', '2015-12-19 15:26:28', 298486374)[0m
|
4620
|
+
[1m[35m (49.0ms)[0m commit transaction
|
4621
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4622
|
+
---------------------------------------------
|
4623
|
+
Extface::Driver::DaisyFx1200Test: test_handle
|
4624
|
+
---------------------------------------------
|
4625
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
4626
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
4627
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4628
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4629
|
+
[1m[35m (102.8ms)[0m DROP TABLE "extface_devices"
|
4630
|
+
[1m[36m (84.7ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4631
|
+
[1m[35m (61.5ms)[0m DROP TABLE "extface_drivers"
|
4632
|
+
[1m[36m (56.9ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4633
|
+
[1m[35m (83.8ms)[0m DROP TABLE "extface_jobs"
|
4634
|
+
[1m[36m (89.9ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4635
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4636
|
+
[1m[36m (61.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4637
|
+
[1m[35m (50.9ms)[0m DROP TABLE "extface_serial_configs"
|
4638
|
+
[1m[36m (53.8ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4639
|
+
[1m[35m (56.3ms)[0m DROP TABLE "shops"
|
4640
|
+
[1m[36m (57.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4641
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
4642
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4643
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4644
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:26:50', '2015-12-19 15:26:50', 980190962, 258259918)[0m
|
4645
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:26:50', '2015-12-19 15:26:50', 298486374, 599072141)
|
4646
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4647
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 980190962, 'Shop', 980190962, 258259918)
|
4648
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 298486374, 'Shop', 980190962, 599072141)[0m
|
4649
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 229906743, 'Shop', 980190962, 229906743)
|
4650
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 40760454, 'Shop', 980190962, 40760454)[0m
|
4651
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
4652
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 258259918)[0m
|
4653
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 412842077)
|
4654
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 599072141)[0m
|
4655
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 229906743)
|
4656
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 40760454)[0m
|
4657
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4658
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:26:50', '2015-12-19 15:26:50', 980190962)[0m
|
4659
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:26:50', '2015-12-19 15:26:50', 298486374)
|
4660
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4661
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:50', '2015-12-19 15:26:50', 980190962)
|
4662
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:50', '2015-12-19 15:26:50', 298486374)[0m
|
4663
|
+
[1m[35m (51.2ms)[0m commit transaction
|
4664
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4665
|
+
---------------------------------------------
|
4666
|
+
Extface::Driver::DaisyFx1200Test: test_handle
|
4667
|
+
---------------------------------------------
|
4668
|
+
[1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
4669
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
4670
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
4671
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4672
|
+
[1m[35m (91.6ms)[0m DROP TABLE "extface_devices"
|
4673
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4674
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
|
4675
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4676
|
+
[1m[35m (59.3ms)[0m DROP TABLE "extface_jobs"
|
4677
|
+
[1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4678
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4679
|
+
[1m[36m (75.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4680
|
+
[1m[35m (56.6ms)[0m DROP TABLE "extface_serial_configs"
|
4681
|
+
[1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4682
|
+
[1m[35m (72.9ms)[0m DROP TABLE "shops"
|
4683
|
+
[1m[36m (62.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4684
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4685
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4686
|
+
[1m[35m (79.3ms)[0m DROP TABLE "extface_devices"
|
4687
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4688
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
|
4689
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4690
|
+
[1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
|
4691
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4692
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4693
|
+
[1m[36m (64.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4694
|
+
[1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
|
4695
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4696
|
+
[1m[35m (64.9ms)[0m DROP TABLE "shops"
|
4697
|
+
[1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4698
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4699
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4700
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4701
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:43:06', '2015-12-19 15:43:06', 980190962, 258259918)[0m
|
4702
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374, 599072141)
|
4703
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4704
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 980190962, 'Shop', 980190962, 258259918)
|
4705
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374, 'Shop', 980190962, 599072141)[0m
|
4706
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 229906743, 'Shop', 980190962, 229906743)
|
4707
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 40760454, 'Shop', 980190962, 40760454)[0m
|
4708
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
4709
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 258259918)[0m
|
4710
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 412842077)
|
4711
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 599072141)[0m
|
4712
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 229906743)
|
4713
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 40760454)[0m
|
4714
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4715
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:43:06', '2015-12-19 15:43:06', 980190962)[0m
|
4716
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374)
|
4717
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4718
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:43:06', '2015-12-19 15:43:06', 980190962)
|
4719
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374)[0m
|
4720
|
+
[1m[35m (64.7ms)[0m commit transaction
|
4721
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4722
|
+
--------------------------------------------
|
4723
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
4724
|
+
--------------------------------------------
|
4725
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
4726
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
4727
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
4728
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
4729
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
4730
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4731
|
+
[1m[35m (93.5ms)[0m DROP TABLE "extface_devices"
|
4732
|
+
[1m[36m (80.8ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4733
|
+
[1m[35m (64.7ms)[0m DROP TABLE "extface_drivers"
|
4734
|
+
[1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4735
|
+
[1m[35m (64.8ms)[0m DROP TABLE "extface_jobs"
|
4736
|
+
[1m[36m (89.9ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4737
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4738
|
+
[1m[36m (70.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4739
|
+
[1m[35m (67.2ms)[0m DROP TABLE "extface_serial_configs"
|
4740
|
+
[1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4741
|
+
[1m[35m (72.8ms)[0m DROP TABLE "shops"
|
4742
|
+
[1m[36m (73.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4743
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4744
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4745
|
+
[1m[35m (101.0ms)[0m DROP TABLE "extface_devices"
|
4746
|
+
[1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4747
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
|
4748
|
+
[1m[36m (68.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4749
|
+
[1m[35m (48.1ms)[0m DROP TABLE "extface_jobs"
|
4750
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4751
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4752
|
+
[1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4753
|
+
[1m[35m (64.7ms)[0m DROP TABLE "extface_serial_configs"
|
4754
|
+
[1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4755
|
+
[1m[35m (72.7ms)[0m DROP TABLE "shops"
|
4756
|
+
[1m[36m (73.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4757
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
4758
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4759
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4760
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:46:59', '2015-12-19 15:46:59', 980190962, 258259918)[0m
|
4761
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:46:59', '2015-12-19 15:46:59', 298486374, 599072141)
|
4762
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4763
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 980190962, 'Shop', 980190962, 258259918)
|
4764
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 298486374, 'Shop', 980190962, 599072141)[0m
|
4765
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 229906743, 'Shop', 980190962, 229906743)
|
4766
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 40760454, 'Shop', 980190962, 40760454)[0m
|
4767
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
4768
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 258259918)[0m
|
4769
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 412842077)
|
4770
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 599072141)[0m
|
4771
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 229906743)
|
4772
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 40760454)[0m
|
4773
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4774
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:46:59', '2015-12-19 15:46:59', 980190962)[0m
|
4775
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:46:59', '2015-12-19 15:46:59', 298486374)
|
4776
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4777
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:46:59', '2015-12-19 15:46:59', 980190962)
|
4778
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:46:59', '2015-12-19 15:46:59', 298486374)[0m
|
4779
|
+
[1m[35m (76.0ms)[0m commit transaction
|
4780
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
4781
|
+
-----------------------------------------------------
|
4782
|
+
Extface::Driver::DaisyFx1200Test: test_response_frame
|
4783
|
+
-----------------------------------------------------
|
4784
|
+
[1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
4785
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
4786
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4787
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4788
|
+
[1m[35m (89.9ms)[0m DROP TABLE "extface_devices"
|
4789
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4790
|
+
[1m[35m (65.0ms)[0m DROP TABLE "extface_drivers"
|
4791
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4792
|
+
[1m[35m (56.2ms)[0m DROP TABLE "extface_jobs"
|
4793
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4794
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
4795
|
+
[1m[36m (63.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4796
|
+
[1m[35m (64.6ms)[0m DROP TABLE "extface_serial_configs"
|
4797
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4798
|
+
[1m[35m (72.8ms)[0m DROP TABLE "shops"
|
4799
|
+
[1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4800
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4801
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4802
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4803
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:47:33', '2015-12-19 15:47:33', 980190962, 258259918)[0m
|
4804
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374, 599072141)
|
4805
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4806
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 980190962, 'Shop', 980190962, 258259918)
|
4807
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374, 'Shop', 980190962, 599072141)[0m
|
4808
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 229906743, 'Shop', 980190962, 229906743)
|
4809
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 40760454, 'Shop', 980190962, 40760454)[0m
|
4810
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
4811
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 258259918)[0m
|
4812
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 412842077)
|
4813
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 599072141)[0m
|
4814
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 229906743)
|
4815
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 40760454)[0m
|
4816
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4817
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:47:33', '2015-12-19 15:47:33', 980190962)[0m
|
4818
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374)
|
4819
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4820
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:47:33', '2015-12-19 15:47:33', 980190962)
|
4821
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374)[0m
|
4822
|
+
[1m[35m (62.5ms)[0m commit transaction
|
4823
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
4824
|
+
-----------------------------------------------------
|
4825
|
+
Extface::Driver::DaisyFx1200Test: test_response_frame
|
4826
|
+
-----------------------------------------------------
|
4827
|
+
[1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
4828
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
4829
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
4830
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4831
|
+
[1m[35m (98.7ms)[0m DROP TABLE "extface_devices"
|
4832
|
+
[1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4833
|
+
[1m[35m (64.9ms)[0m DROP TABLE "extface_drivers"
|
4834
|
+
[1m[36m (89.8ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4835
|
+
[1m[35m (130.2ms)[0m DROP TABLE "extface_jobs"
|
4836
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4837
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4838
|
+
[1m[36m (64.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4839
|
+
[1m[35m (64.6ms)[0m DROP TABLE "extface_serial_configs"
|
4840
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4841
|
+
[1m[35m (78.0ms)[0m DROP TABLE "shops"
|
4842
|
+
[1m[36m (85.1ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4843
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4844
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4845
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
|
4846
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:49:20', '2015-12-19 15:49:20', 980190962, 258259918)[0m
|
4847
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:49:20', '2015-12-19 15:49:20', 298486374, 599072141)
|
4848
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4849
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 980190962, 'Shop', 980190962, 258259918)
|
4850
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 298486374, 'Shop', 980190962, 599072141)[0m
|
4851
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 229906743, 'Shop', 980190962, 229906743)
|
4852
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 40760454, 'Shop', 980190962, 40760454)[0m
|
4853
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
4854
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 258259918)[0m
|
4855
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 412842077)
|
4856
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 599072141)[0m
|
4857
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 229906743)
|
4858
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 40760454)[0m
|
4859
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4860
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:49:20', '2015-12-19 15:49:20', 980190962)[0m
|
4861
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:49:20', '2015-12-19 15:49:20', 298486374)
|
4862
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4863
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:49:20', '2015-12-19 15:49:20', 980190962)
|
4864
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:49:20', '2015-12-19 15:49:20', 298486374)[0m
|
4865
|
+
[1m[35m (76.5ms)[0m commit transaction
|
4866
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4867
|
+
--------------------------------------------
|
4868
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
4869
|
+
--------------------------------------------
|
4870
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
4871
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
4872
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
4873
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
4874
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
4875
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
4876
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
4877
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
4878
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4879
|
+
[1m[35m (153.5ms)[0m DROP TABLE "extface_devices"
|
4880
|
+
[1m[36m (57.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4881
|
+
[1m[35m (56.2ms)[0m DROP TABLE "extface_drivers"
|
4882
|
+
[1m[36m (57.0ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4883
|
+
[1m[35m (59.4ms)[0m DROP TABLE "extface_jobs"
|
4884
|
+
[1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4885
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4886
|
+
[1m[36m (64.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4887
|
+
[1m[35m (59.4ms)[0m DROP TABLE "extface_serial_configs"
|
4888
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4889
|
+
[1m[35m (81.1ms)[0m DROP TABLE "shops"
|
4890
|
+
[1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4891
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4893
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4894
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:05:14', '2015-12-19 16:05:14', 980190962, 258259918)[0m
|
4895
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:05:14', '2015-12-19 16:05:14', 298486374, 599072141)
|
4896
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4897
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 980190962, 'Shop', 980190962, 258259918)
|
4898
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 298486374, 'Shop', 980190962, 599072141)[0m
|
4899
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 229906743, 'Shop', 980190962, 229906743)
|
4900
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 40760454, 'Shop', 980190962, 40760454)[0m
|
4901
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
4902
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 258259918)[0m
|
4903
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 412842077)
|
4904
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 599072141)[0m
|
4905
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 229906743)
|
4906
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 40760454)[0m
|
4907
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4908
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:05:14', '2015-12-19 16:05:14', 980190962)[0m
|
4909
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:05:14', '2015-12-19 16:05:14', 298486374)
|
4910
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4911
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:05:14', '2015-12-19 16:05:14', 980190962)
|
4912
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:05:14', '2015-12-19 16:05:14', 298486374)[0m
|
4913
|
+
[1m[35m (56.1ms)[0m commit transaction
|
4914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4915
|
+
--------------------------------------------
|
4916
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
4917
|
+
--------------------------------------------
|
4918
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
4919
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
4920
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
4921
|
+
[1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
4922
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
4923
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
4924
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
4925
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
4926
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4927
|
+
[1m[35m (83.6ms)[0m DROP TABLE "extface_devices"
|
4928
|
+
[1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4929
|
+
[1m[35m (64.7ms)[0m DROP TABLE "extface_drivers"
|
4930
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4931
|
+
[1m[35m (56.5ms)[0m DROP TABLE "extface_jobs"
|
4932
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4933
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4934
|
+
[1m[36m (72.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4935
|
+
[1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
|
4936
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4937
|
+
[1m[35m (72.6ms)[0m DROP TABLE "shops"
|
4938
|
+
[1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4939
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4940
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4941
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4942
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:11:25', '2015-12-19 16:11:25', 980190962, 258259918)[0m
|
4943
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:11:25', '2015-12-19 16:11:25', 298486374, 599072141)
|
4944
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4945
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 980190962, 'Shop', 980190962, 258259918)
|
4946
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 298486374, 'Shop', 980190962, 599072141)[0m
|
4947
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 229906743, 'Shop', 980190962, 229906743)
|
4948
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 40760454, 'Shop', 980190962, 40760454)[0m
|
4949
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
4950
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 258259918)[0m
|
4951
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 412842077)
|
4952
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 599072141)[0m
|
4953
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 229906743)
|
4954
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 40760454)[0m
|
4955
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
4956
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:11:25', '2015-12-19 16:11:25', 980190962)[0m
|
4957
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:11:25', '2015-12-19 16:11:25', 298486374)
|
4958
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
4959
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:11:25', '2015-12-19 16:11:25', 980190962)
|
4960
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:11:25', '2015-12-19 16:11:25', 298486374)[0m
|
4961
|
+
[1m[35m (76.4ms)[0m commit transaction
|
4962
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4963
|
+
--------------------------------------------
|
4964
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
4965
|
+
--------------------------------------------
|
4966
|
+
[1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
4967
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
4968
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
4969
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
4970
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
4971
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
4972
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
4973
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
4974
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4975
|
+
[1m[35m (95.4ms)[0m DROP TABLE "extface_devices"
|
4976
|
+
[1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4977
|
+
[1m[35m (73.0ms)[0m DROP TABLE "extface_drivers"
|
4978
|
+
[1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
4979
|
+
[1m[35m (64.4ms)[0m DROP TABLE "extface_jobs"
|
4980
|
+
[1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
4981
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
4982
|
+
[1m[36m (64.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
4983
|
+
[1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
|
4984
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
4985
|
+
[1m[35m (64.6ms)[0m DROP TABLE "shops"
|
4986
|
+
[1m[36m (65.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
4987
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
4988
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4989
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
4990
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:13:28', '2015-12-19 16:13:28', 980190962, 258259918)[0m
|
4991
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:13:28', '2015-12-19 16:13:28', 298486374, 599072141)
|
4992
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
4993
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 980190962, 'Shop', 980190962, 258259918)
|
4994
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 298486374, 'Shop', 980190962, 599072141)[0m
|
4995
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 229906743, 'Shop', 980190962, 229906743)
|
4996
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 40760454, 'Shop', 980190962, 40760454)[0m
|
4997
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
4998
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 258259918)[0m
|
4999
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 412842077)
|
5000
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 599072141)[0m
|
5001
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 229906743)
|
5002
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 40760454)[0m
|
5003
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5004
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:13:28', '2015-12-19 16:13:28', 980190962)[0m
|
5005
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:13:28', '2015-12-19 16:13:28', 298486374)
|
5006
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5007
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:13:28', '2015-12-19 16:13:28', 980190962)
|
5008
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:13:28', '2015-12-19 16:13:28', 298486374)[0m
|
5009
|
+
[1m[35m (59.0ms)[0m commit transaction
|
5010
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5011
|
+
--------------------------------------------
|
5012
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5013
|
+
--------------------------------------------
|
5014
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5015
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5016
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5017
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5018
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5019
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5020
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5021
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5022
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5023
|
+
[1m[35m (104.2ms)[0m DROP TABLE "extface_devices"
|
5024
|
+
[1m[36m (64.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5025
|
+
[1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
|
5026
|
+
[1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5027
|
+
[1m[35m (64.4ms)[0m DROP TABLE "extface_jobs"
|
5028
|
+
[1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5029
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5030
|
+
[1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5031
|
+
[1m[35m (64.8ms)[0m DROP TABLE "extface_serial_configs"
|
5032
|
+
[1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5033
|
+
[1m[35m (72.8ms)[0m DROP TABLE "shops"
|
5034
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5035
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5036
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5037
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5038
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:14:51', '2015-12-19 16:14:51', 980190962, 258259918)[0m
|
5039
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:14:51', '2015-12-19 16:14:51', 298486374, 599072141)
|
5040
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5041
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 980190962, 'Shop', 980190962, 258259918)
|
5042
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 298486374, 'Shop', 980190962, 599072141)[0m
|
5043
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 229906743, 'Shop', 980190962, 229906743)
|
5044
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 40760454, 'Shop', 980190962, 40760454)[0m
|
5045
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5046
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 258259918)[0m
|
5047
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 412842077)
|
5048
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 599072141)[0m
|
5049
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 229906743)
|
5050
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 40760454)[0m
|
5051
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5052
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:14:51', '2015-12-19 16:14:51', 980190962)[0m
|
5053
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:14:51', '2015-12-19 16:14:51', 298486374)
|
5054
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5055
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:14:51', '2015-12-19 16:14:51', 980190962)
|
5056
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:14:51', '2015-12-19 16:14:51', 298486374)[0m
|
5057
|
+
[1m[35m (62.2ms)[0m commit transaction
|
5058
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5059
|
+
--------------------------------------------
|
5060
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5061
|
+
--------------------------------------------
|
5062
|
+
[1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5063
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5064
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5065
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5066
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5067
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5068
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5069
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5070
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5071
|
+
[1m[35m (93.5ms)[0m DROP TABLE "extface_devices"
|
5072
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5073
|
+
[1m[35m (75.8ms)[0m DROP TABLE "extface_drivers"
|
5074
|
+
[1m[36m (54.0ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5075
|
+
[1m[35m (50.8ms)[0m DROP TABLE "extface_jobs"
|
5076
|
+
[1m[36m (54.0ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5077
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5078
|
+
[1m[36m (56.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5079
|
+
[1m[35m (59.4ms)[0m DROP TABLE "extface_serial_configs"
|
5080
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5081
|
+
[1m[35m (64.6ms)[0m DROP TABLE "shops"
|
5082
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5083
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
5084
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5085
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5086
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:47:46', '2015-12-19 16:47:46', 980190962, 258259918)[0m
|
5087
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:47:46', '2015-12-19 16:47:46', 298486374, 599072141)
|
5088
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5089
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 980190962, 'Shop', 980190962, 258259918)
|
5090
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 298486374, 'Shop', 980190962, 599072141)[0m
|
5091
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 229906743, 'Shop', 980190962, 229906743)
|
5092
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 40760454, 'Shop', 980190962, 40760454)[0m
|
5093
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
5094
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 258259918)[0m
|
5095
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 412842077)
|
5096
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 599072141)[0m
|
5097
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 229906743)
|
5098
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 40760454)[0m
|
5099
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5100
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:47:46', '2015-12-19 16:47:46', 980190962)[0m
|
5101
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:47:46', '2015-12-19 16:47:46', 298486374)
|
5102
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5103
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:47:46', '2015-12-19 16:47:46', 980190962)
|
5104
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:47:46', '2015-12-19 16:47:46', 298486374)[0m
|
5105
|
+
[1m[35m (58.8ms)[0m commit transaction
|
5106
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5107
|
+
--------------------------------------------
|
5108
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5109
|
+
--------------------------------------------
|
5110
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5111
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5112
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5113
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5114
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5115
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5116
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5117
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
5118
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5119
|
+
[1m[35m (128.9ms)[0m DROP TABLE "extface_devices"
|
5120
|
+
[1m[36m (53.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5121
|
+
[1m[35m (67.5ms)[0m DROP TABLE "extface_drivers"
|
5122
|
+
[1m[36m (53.9ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5123
|
+
[1m[35m (51.1ms)[0m DROP TABLE "extface_jobs"
|
5124
|
+
[1m[36m (62.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5125
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5126
|
+
[1m[36m (64.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5127
|
+
[1m[35m (58.3ms)[0m DROP TABLE "extface_serial_configs"
|
5128
|
+
[1m[36m (62.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5129
|
+
[1m[35m (64.5ms)[0m DROP TABLE "shops"
|
5130
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5131
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
5132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5133
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
|
5134
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:51:19', '2015-12-19 16:51:19', 980190962, 258259918)[0m
|
5135
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374, 599072141)
|
5136
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5137
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 980190962, 'Shop', 980190962, 258259918)
|
5138
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374, 'Shop', 980190962, 599072141)[0m
|
5139
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 229906743, 'Shop', 980190962, 229906743)
|
5140
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 40760454, 'Shop', 980190962, 40760454)[0m
|
5141
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
5142
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 258259918)[0m
|
5143
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 412842077)
|
5144
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 599072141)[0m
|
5145
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 229906743)
|
5146
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 40760454)[0m
|
5147
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5148
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:51:19', '2015-12-19 16:51:19', 980190962)[0m
|
5149
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374)
|
5150
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5151
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:51:19', '2015-12-19 16:51:19', 980190962)
|
5152
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374)[0m
|
5153
|
+
[1m[35m (138.9ms)[0m commit transaction
|
5154
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5155
|
+
--------------------------------------------
|
5156
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5157
|
+
--------------------------------------------
|
5158
|
+
[1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5159
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5160
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5161
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5162
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5163
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5164
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5165
|
+
[1m[35m (109.0ms)[0m DROP TABLE "extface_devices"
|
5166
|
+
[1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5167
|
+
[1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
|
5168
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5169
|
+
[1m[35m (56.0ms)[0m DROP TABLE "extface_jobs"
|
5170
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5171
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5172
|
+
[1m[36m (64.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5173
|
+
[1m[35m (48.0ms)[0m DROP TABLE "extface_serial_configs"
|
5174
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5175
|
+
[1m[35m (64.6ms)[0m DROP TABLE "shops"
|
5176
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5177
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5178
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5179
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5180
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:52:35', '2015-12-19 16:52:35', 980190962, 258259918)[0m
|
5181
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:52:35', '2015-12-19 16:52:35', 298486374, 599072141)
|
5182
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5183
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 980190962, 'Shop', 980190962, 258259918)
|
5184
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 298486374, 'Shop', 980190962, 599072141)[0m
|
5185
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 229906743, 'Shop', 980190962, 229906743)
|
5186
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 40760454, 'Shop', 980190962, 40760454)[0m
|
5187
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5188
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 258259918)[0m
|
5189
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 412842077)
|
5190
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 599072141)[0m
|
5191
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 229906743)
|
5192
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 40760454)[0m
|
5193
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5194
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:52:35', '2015-12-19 16:52:35', 980190962)[0m
|
5195
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:52:35', '2015-12-19 16:52:35', 298486374)
|
5196
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5197
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:52:35', '2015-12-19 16:52:35', 980190962)
|
5198
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:52:35', '2015-12-19 16:52:35', 298486374)[0m
|
5199
|
+
[1m[35m (60.1ms)[0m commit transaction
|
5200
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5201
|
+
--------------------------------------------
|
5202
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5203
|
+
--------------------------------------------
|
5204
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5205
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5206
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5207
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5208
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5209
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5210
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5211
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5212
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5213
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5214
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5215
|
+
[1m[35m (98.7ms)[0m DROP TABLE "extface_devices"
|
5216
|
+
[1m[36m (70.6ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5217
|
+
[1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
|
5218
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5219
|
+
[1m[35m (59.7ms)[0m DROP TABLE "extface_jobs"
|
5220
|
+
[1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5221
|
+
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
5222
|
+
[1m[36m (127.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5223
|
+
[1m[35m (58.3ms)[0m DROP TABLE "extface_serial_configs"
|
5224
|
+
[1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5225
|
+
[1m[35m (72.9ms)[0m DROP TABLE "shops"
|
5226
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5227
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5228
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5229
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5230
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:54:08', '2015-12-19 16:54:08', 980190962, 258259918)[0m
|
5231
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:54:08', '2015-12-19 16:54:08', 298486374, 599072141)
|
5232
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5233
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 980190962, 'Shop', 980190962, 258259918)
|
5234
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 298486374, 'Shop', 980190962, 599072141)[0m
|
5235
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 229906743, 'Shop', 980190962, 229906743)
|
5236
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 40760454, 'Shop', 980190962, 40760454)[0m
|
5237
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5238
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 258259918)[0m
|
5239
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 412842077)
|
5240
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 599072141)[0m
|
5241
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 229906743)
|
5242
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 40760454)[0m
|
5243
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_jobs"
|
5244
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:54:08', '2015-12-19 16:54:08', 980190962)[0m
|
5245
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:54:08', '2015-12-19 16:54:08', 298486374)
|
5246
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5247
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:54:08', '2015-12-19 16:54:08', 980190962)
|
5248
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:54:08', '2015-12-19 16:54:08', 298486374)[0m
|
5249
|
+
[1m[35m (48.6ms)[0m commit transaction
|
5250
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5251
|
+
--------------------------------------------
|
5252
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5253
|
+
--------------------------------------------
|
5254
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5255
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5256
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5257
|
+
[1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5258
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5259
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5260
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5261
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5262
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5263
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5264
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5265
|
+
[1m[35m (97.5ms)[0m DROP TABLE "extface_devices"
|
5266
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5267
|
+
[1m[35m (65.0ms)[0m DROP TABLE "extface_drivers"
|
5268
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5269
|
+
[1m[35m (59.2ms)[0m DROP TABLE "extface_jobs"
|
5270
|
+
[1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5271
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5272
|
+
[1m[36m (75.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5273
|
+
[1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
|
5274
|
+
[1m[36m (73.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5275
|
+
[1m[35m (72.8ms)[0m DROP TABLE "shops"
|
5276
|
+
[1m[36m (73.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5277
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5278
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5279
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5280
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:57:12', '2015-12-19 16:57:12', 980190962, 258259918)[0m
|
5281
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:57:12', '2015-12-19 16:57:12', 298486374, 599072141)
|
5282
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5283
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 980190962, 'Shop', 980190962, 258259918)
|
5284
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 298486374, 'Shop', 980190962, 599072141)[0m
|
5285
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 229906743, 'Shop', 980190962, 229906743)
|
5286
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 40760454, 'Shop', 980190962, 40760454)[0m
|
5287
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
5288
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 258259918)[0m
|
5289
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 412842077)
|
5290
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 599072141)[0m
|
5291
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 229906743)
|
5292
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 40760454)[0m
|
5293
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5294
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:57:12', '2015-12-19 16:57:12', 980190962)[0m
|
5295
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:57:12', '2015-12-19 16:57:12', 298486374)
|
5296
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5297
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:57:12', '2015-12-19 16:57:12', 980190962)
|
5298
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:57:12', '2015-12-19 16:57:12', 298486374)[0m
|
5299
|
+
[1m[35m (51.0ms)[0m commit transaction
|
5300
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5301
|
+
--------------------------------------------
|
5302
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5303
|
+
--------------------------------------------
|
5304
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5305
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5306
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5307
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5308
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5309
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5310
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5311
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5312
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5313
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5314
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5315
|
+
[1m[35m (110.3ms)[0m DROP TABLE "extface_devices"
|
5316
|
+
[1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5317
|
+
[1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
|
5318
|
+
[1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5319
|
+
[1m[35m (64.3ms)[0m DROP TABLE "extface_jobs"
|
5320
|
+
[1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5321
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5322
|
+
[1m[36m (72.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5323
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
|
5324
|
+
[1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5325
|
+
[1m[35m (64.7ms)[0m DROP TABLE "shops"
|
5326
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5327
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5328
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5329
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "extface_serial_configs"
|
5330
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:58:07', '2015-12-19 16:58:07', 980190962, 258259918)[0m
|
5331
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:58:07', '2015-12-19 16:58:07', 298486374, 599072141)
|
5332
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5333
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 980190962, 'Shop', 980190962, 258259918)
|
5334
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 298486374, 'Shop', 980190962, 599072141)[0m
|
5335
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 229906743, 'Shop', 980190962, 229906743)
|
5336
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 40760454, 'Shop', 980190962, 40760454)[0m
|
5337
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5338
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 258259918)[0m
|
5339
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 412842077)
|
5340
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 599072141)[0m
|
5341
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 229906743)
|
5342
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 40760454)[0m
|
5343
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5344
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:58:07', '2015-12-19 16:58:07', 980190962)[0m
|
5345
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:58:07', '2015-12-19 16:58:07', 298486374)
|
5346
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5347
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:07', '2015-12-19 16:58:07', 980190962)
|
5348
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:07', '2015-12-19 16:58:07', 298486374)[0m
|
5349
|
+
[1m[35m (59.4ms)[0m commit transaction
|
5350
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5351
|
+
--------------------------------------------
|
5352
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5353
|
+
--------------------------------------------
|
5354
|
+
[1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5355
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5356
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5357
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5358
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5359
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5360
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5361
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5362
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5363
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
5364
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5365
|
+
[1m[35m (100.5ms)[0m DROP TABLE "extface_devices"
|
5366
|
+
[1m[36m (73.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5367
|
+
[1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
|
5368
|
+
[1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5369
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_jobs"
|
5370
|
+
[1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5371
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5372
|
+
[1m[36m (73.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5373
|
+
[1m[35m (64.4ms)[0m DROP TABLE "extface_serial_configs"
|
5374
|
+
[1m[36m (81.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5375
|
+
[1m[35m (72.9ms)[0m DROP TABLE "shops"
|
5376
|
+
[1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5377
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5378
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5379
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5380
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:58:35', '2015-12-19 16:58:35', 980190962, 258259918)[0m
|
5381
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:58:35', '2015-12-19 16:58:35', 298486374, 599072141)
|
5382
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5383
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 980190962, 'Shop', 980190962, 258259918)
|
5384
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 298486374, 'Shop', 980190962, 599072141)[0m
|
5385
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 229906743, 'Shop', 980190962, 229906743)
|
5386
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 40760454, 'Shop', 980190962, 40760454)[0m
|
5387
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
5388
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 258259918)[0m
|
5389
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 412842077)
|
5390
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 599072141)[0m
|
5391
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 229906743)
|
5392
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 40760454)[0m
|
5393
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5394
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:58:35', '2015-12-19 16:58:35', 980190962)[0m
|
5395
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:58:35', '2015-12-19 16:58:35', 298486374)
|
5396
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5397
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:35', '2015-12-19 16:58:35', 980190962)
|
5398
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:35', '2015-12-19 16:58:35', 298486374)[0m
|
5399
|
+
[1m[35m (60.1ms)[0m commit transaction
|
5400
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5401
|
+
--------------------------------------------
|
5402
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5403
|
+
--------------------------------------------
|
5404
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5405
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5406
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5407
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5408
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5409
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5410
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5411
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5412
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5413
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5414
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5415
|
+
[1m[35m (71.2ms)[0m DROP TABLE "extface_devices"
|
5416
|
+
[1m[36m (57.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5417
|
+
[1m[35m (56.0ms)[0m DROP TABLE "extface_drivers"
|
5418
|
+
[1m[36m (57.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5419
|
+
[1m[35m (51.0ms)[0m DROP TABLE "extface_jobs"
|
5420
|
+
[1m[36m (54.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5421
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5422
|
+
[1m[36m (56.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5423
|
+
[1m[35m (51.2ms)[0m DROP TABLE "extface_serial_configs"
|
5424
|
+
[1m[36m (53.9ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5425
|
+
[1m[35m (64.6ms)[0m DROP TABLE "shops"
|
5426
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5427
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5428
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5429
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5430
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:01:07', '2015-12-19 17:01:07', 980190962, 258259918)[0m
|
5431
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:01:07', '2015-12-19 17:01:07', 298486374, 599072141)
|
5432
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5433
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 980190962, 'Shop', 980190962, 258259918)
|
5434
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 298486374, 'Shop', 980190962, 599072141)[0m
|
5435
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 229906743, 'Shop', 980190962, 229906743)
|
5436
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 40760454, 'Shop', 980190962, 40760454)[0m
|
5437
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
5438
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 258259918)[0m
|
5439
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 412842077)
|
5440
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 599072141)[0m
|
5441
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 229906743)
|
5442
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 40760454)[0m
|
5443
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5444
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:01:07', '2015-12-19 17:01:07', 980190962)[0m
|
5445
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:01:07', '2015-12-19 17:01:07', 298486374)
|
5446
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5447
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:01:07', '2015-12-19 17:01:07', 980190962)
|
5448
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:01:07', '2015-12-19 17:01:07', 298486374)[0m
|
5449
|
+
[1m[35m (62.2ms)[0m commit transaction
|
5450
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5451
|
+
--------------------------------------------
|
5452
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5453
|
+
--------------------------------------------
|
5454
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5455
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5456
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5457
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5458
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5459
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5460
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5461
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5462
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5463
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5464
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5465
|
+
[1m[35m (64.6ms)[0m DROP TABLE "extface_devices"
|
5466
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5467
|
+
[1m[35m (61.5ms)[0m DROP TABLE "extface_drivers"
|
5468
|
+
[1m[36m (60.0ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5469
|
+
[1m[35m (56.7ms)[0m DROP TABLE "extface_jobs"
|
5470
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5471
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5472
|
+
[1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5473
|
+
[1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
|
5474
|
+
[1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5475
|
+
[1m[35m (64.7ms)[0m DROP TABLE "shops"
|
5476
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5477
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5478
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5479
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "extface_serial_configs"
|
5480
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:02:41', '2015-12-19 17:02:41', 980190962, 258259918)[0m
|
5481
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:02:41', '2015-12-19 17:02:41', 298486374, 599072141)
|
5482
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5483
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 980190962, 'Shop', 980190962, 258259918)
|
5484
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 298486374, 'Shop', 980190962, 599072141)[0m
|
5485
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 229906743, 'Shop', 980190962, 229906743)
|
5486
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 40760454, 'Shop', 980190962, 40760454)[0m
|
5487
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5488
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 258259918)[0m
|
5489
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 412842077)
|
5490
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 599072141)[0m
|
5491
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 229906743)
|
5492
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 40760454)[0m
|
5493
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5494
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:02:41', '2015-12-19 17:02:41', 980190962)[0m
|
5495
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:02:41', '2015-12-19 17:02:41', 298486374)
|
5496
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5497
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:02:41', '2015-12-19 17:02:41', 980190962)
|
5498
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:02:41', '2015-12-19 17:02:41', 298486374)[0m
|
5499
|
+
[1m[35m (56.8ms)[0m commit transaction
|
5500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5501
|
+
--------------------------------------------
|
5502
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5503
|
+
--------------------------------------------
|
5504
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5505
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5506
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5507
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5508
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5509
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5510
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5511
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5512
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5513
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5514
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5515
|
+
[1m[35m (99.2ms)[0m DROP TABLE "extface_devices"
|
5516
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5517
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
|
5518
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5519
|
+
[1m[35m (48.1ms)[0m DROP TABLE "extface_jobs"
|
5520
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5521
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5522
|
+
[1m[36m (78.0ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5523
|
+
[1m[35m (59.1ms)[0m DROP TABLE "extface_serial_configs"
|
5524
|
+
[1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5525
|
+
[1m[35m (72.9ms)[0m DROP TABLE "shops"
|
5526
|
+
[1m[36m (62.1ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5527
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5528
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5529
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5530
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:04:16', '2015-12-19 17:04:16', 980190962, 258259918)[0m
|
5531
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:04:16', '2015-12-19 17:04:16', 298486374, 599072141)
|
5532
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5533
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 980190962, 'Shop', 980190962, 258259918)
|
5534
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 298486374, 'Shop', 980190962, 599072141)[0m
|
5535
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 229906743, 'Shop', 980190962, 229906743)
|
5536
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 40760454, 'Shop', 980190962, 40760454)[0m
|
5537
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5538
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 258259918)[0m
|
5539
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 412842077)
|
5540
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 599072141)[0m
|
5541
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 229906743)
|
5542
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 40760454)[0m
|
5543
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5544
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:04:16', '2015-12-19 17:04:16', 980190962)[0m
|
5545
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:04:16', '2015-12-19 17:04:16', 298486374)
|
5546
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5547
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:04:16', '2015-12-19 17:04:16', 980190962)
|
5548
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:04:16', '2015-12-19 17:04:16', 298486374)[0m
|
5549
|
+
[1m[35m (66.6ms)[0m commit transaction
|
5550
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5551
|
+
--------------------------------------------
|
5552
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5553
|
+
--------------------------------------------
|
5554
|
+
[1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5555
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5556
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5557
|
+
[1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5558
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5559
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5560
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5561
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5562
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5563
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
5564
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5565
|
+
[1m[35m (97.2ms)[0m DROP TABLE "extface_devices"
|
5566
|
+
[1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5567
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
|
5568
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5569
|
+
[1m[35m (50.7ms)[0m DROP TABLE "extface_jobs"
|
5570
|
+
[1m[36m (54.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5571
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5572
|
+
[1m[36m (56.0ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5573
|
+
[1m[35m (51.0ms)[0m DROP TABLE "extface_serial_configs"
|
5574
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5575
|
+
[1m[35m (64.5ms)[0m DROP TABLE "shops"
|
5576
|
+
[1m[36m (65.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5577
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5578
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5579
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5580
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:05:54', '2015-12-19 17:05:54', 980190962, 258259918)[0m
|
5581
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374, 599072141)
|
5582
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5583
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 980190962, 'Shop', 980190962, 258259918)
|
5584
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374, 'Shop', 980190962, 599072141)[0m
|
5585
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 229906743, 'Shop', 980190962, 229906743)
|
5586
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 40760454, 'Shop', 980190962, 40760454)[0m
|
5587
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5588
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 258259918)[0m
|
5589
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 412842077)
|
5590
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 599072141)[0m
|
5591
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 229906743)
|
5592
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 40760454)[0m
|
5593
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5594
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:05:54', '2015-12-19 17:05:54', 980190962)[0m
|
5595
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374)
|
5596
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5597
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:05:54', '2015-12-19 17:05:54', 980190962)
|
5598
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374)[0m
|
5599
|
+
[1m[35m (53.5ms)[0m commit transaction
|
5600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5601
|
+
--------------------------------------------
|
5602
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5603
|
+
--------------------------------------------
|
5604
|
+
[1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5605
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5606
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5607
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5608
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5609
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5610
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5611
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5612
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5613
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5614
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5615
|
+
[1m[35m (152.3ms)[0m DROP TABLE "extface_devices"
|
5616
|
+
[1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5617
|
+
[1m[35m (73.3ms)[0m DROP TABLE "extface_drivers"
|
5618
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5619
|
+
[1m[35m (56.1ms)[0m DROP TABLE "extface_jobs"
|
5620
|
+
[1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5621
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5622
|
+
[1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5623
|
+
[1m[35m (64.0ms)[0m DROP TABLE "extface_serial_configs"
|
5624
|
+
[1m[36m (70.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5625
|
+
[1m[35m (64.5ms)[0m DROP TABLE "shops"
|
5626
|
+
[1m[36m (57.0ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5627
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5628
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5629
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5630
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:10:19', '2015-12-19 17:10:19', 980190962, 258259918)[0m
|
5631
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374, 599072141)
|
5632
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5633
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 980190962, 'Shop', 980190962, 258259918)
|
5634
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374, 'Shop', 980190962, 599072141)[0m
|
5635
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 229906743, 'Shop', 980190962, 229906743)
|
5636
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 40760454, 'Shop', 980190962, 40760454)[0m
|
5637
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5638
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 258259918)[0m
|
5639
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 412842077)
|
5640
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 599072141)[0m
|
5641
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 229906743)
|
5642
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 40760454)[0m
|
5643
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5644
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:10:19', '2015-12-19 17:10:19', 980190962)[0m
|
5645
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374)
|
5646
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5647
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:10:19', '2015-12-19 17:10:19', 980190962)
|
5648
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374)[0m
|
5649
|
+
[1m[35m (53.9ms)[0m commit transaction
|
5650
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5651
|
+
--------------------------------------------
|
5652
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5653
|
+
--------------------------------------------
|
5654
|
+
[1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5655
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5656
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5657
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5658
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5659
|
+
[1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5660
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5661
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5662
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5663
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5664
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5665
|
+
[1m[35m (92.5ms)[0m DROP TABLE "extface_devices"
|
5666
|
+
[1m[36m (65.6ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5667
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
|
5668
|
+
[1m[36m (65.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5669
|
+
[1m[35m (56.5ms)[0m DROP TABLE "extface_jobs"
|
5670
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5671
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
5672
|
+
[1m[36m (61.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5673
|
+
[1m[35m (51.3ms)[0m DROP TABLE "extface_serial_configs"
|
5674
|
+
[1m[36m (54.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5675
|
+
[1m[35m (57.2ms)[0m DROP TABLE "shops"
|
5676
|
+
[1m[36m (57.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5677
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
5678
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5679
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
|
5680
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:12:30', '2015-12-19 17:12:30', 980190962, 258259918)[0m
|
5681
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:12:30', '2015-12-19 17:12:30', 298486374, 599072141)
|
5682
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5683
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 980190962, 'Shop', 980190962, 258259918)
|
5684
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 298486374, 'Shop', 980190962, 599072141)[0m
|
5685
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 229906743, 'Shop', 980190962, 229906743)
|
5686
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 40760454, 'Shop', 980190962, 40760454)[0m
|
5687
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
5688
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 258259918)[0m
|
5689
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 412842077)
|
5690
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 599072141)[0m
|
5691
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 229906743)
|
5692
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 40760454)[0m
|
5693
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5694
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:12:30', '2015-12-19 17:12:30', 980190962)[0m
|
5695
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:12:30', '2015-12-19 17:12:30', 298486374)
|
5696
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5697
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:12:30', '2015-12-19 17:12:30', 980190962)
|
5698
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:12:30', '2015-12-19 17:12:30', 298486374)[0m
|
5699
|
+
[1m[35m (54.9ms)[0m commit transaction
|
5700
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5701
|
+
--------------------------------------------
|
5702
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5703
|
+
--------------------------------------------
|
5704
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5705
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5706
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5707
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5708
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5709
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5710
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5711
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5712
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5713
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5714
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5715
|
+
[1m[35m (110.9ms)[0m DROP TABLE "extface_devices"
|
5716
|
+
[1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5717
|
+
[1m[35m (72.9ms)[0m DROP TABLE "extface_drivers"
|
5718
|
+
[1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5719
|
+
[1m[35m (64.9ms)[0m DROP TABLE "extface_jobs"
|
5720
|
+
[1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5721
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
5722
|
+
[1m[36m (72.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5723
|
+
[1m[35m (65.0ms)[0m DROP TABLE "extface_serial_configs"
|
5724
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5725
|
+
[1m[35m (64.9ms)[0m DROP TABLE "shops"
|
5726
|
+
[1m[36m (65.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5727
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5728
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5729
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5730
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:14:43', '2015-12-19 17:14:43', 980190962, 258259918)[0m
|
5731
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:14:43', '2015-12-19 17:14:43', 298486374, 599072141)
|
5732
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5733
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 980190962, 'Shop', 980190962, 258259918)
|
5734
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 298486374, 'Shop', 980190962, 599072141)[0m
|
5735
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 229906743, 'Shop', 980190962, 229906743)
|
5736
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 40760454, 'Shop', 980190962, 40760454)[0m
|
5737
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5738
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 258259918)[0m
|
5739
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 412842077)
|
5740
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 599072141)[0m
|
5741
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 229906743)
|
5742
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 40760454)[0m
|
5743
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5744
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:14:43', '2015-12-19 17:14:43', 980190962)[0m
|
5745
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:14:43', '2015-12-19 17:14:43', 298486374)
|
5746
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5747
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:14:43', '2015-12-19 17:14:43', 980190962)
|
5748
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:14:43', '2015-12-19 17:14:43', 298486374)[0m
|
5749
|
+
[1m[35m (57.8ms)[0m commit transaction
|
5750
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5751
|
+
--------------------------------------------
|
5752
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5753
|
+
--------------------------------------------
|
5754
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5755
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5756
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5757
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5758
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5759
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5760
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5761
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5762
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5763
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5764
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5765
|
+
[1m[35m (89.9ms)[0m DROP TABLE "extface_devices"
|
5766
|
+
[1m[36m (60.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5767
|
+
[1m[35m (62.4ms)[0m DROP TABLE "extface_drivers"
|
5768
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5769
|
+
[1m[35m (59.6ms)[0m DROP TABLE "extface_jobs"
|
5770
|
+
[1m[36m (54.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5771
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5772
|
+
[1m[36m (56.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5773
|
+
[1m[35m (51.4ms)[0m DROP TABLE "extface_serial_configs"
|
5774
|
+
[1m[36m (54.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5775
|
+
[1m[35m (56.8ms)[0m DROP TABLE "shops"
|
5776
|
+
[1m[36m (68.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5777
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
5778
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5779
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
|
5780
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:15:53', '2015-12-19 17:15:53', 980190962, 258259918)[0m
|
5781
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:15:53', '2015-12-19 17:15:53', 298486374, 599072141)
|
5782
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5783
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 980190962, 'Shop', 980190962, 258259918)
|
5784
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 298486374, 'Shop', 980190962, 599072141)[0m
|
5785
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 229906743, 'Shop', 980190962, 229906743)
|
5786
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 40760454, 'Shop', 980190962, 40760454)[0m
|
5787
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5788
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 258259918)[0m
|
5789
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 412842077)
|
5790
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 599072141)[0m
|
5791
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 229906743)
|
5792
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 40760454)[0m
|
5793
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5794
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:15:54', '2015-12-19 17:15:54', 980190962)[0m
|
5795
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:15:54', '2015-12-19 17:15:54', 298486374)
|
5796
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5797
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:15:54', '2015-12-19 17:15:54', 980190962)
|
5798
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:15:54', '2015-12-19 17:15:54', 298486374)[0m
|
5799
|
+
[1m[35m (52.3ms)[0m commit transaction
|
5800
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5801
|
+
--------------------------------------------
|
5802
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5803
|
+
--------------------------------------------
|
5804
|
+
[1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5805
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5806
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5807
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5808
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5809
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5810
|
+
[1m[35mExtface::Job Load (0.0ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5811
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5812
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5813
|
+
[1m[35m (131.5ms)[0m DROP TABLE "extface_devices"
|
5814
|
+
[1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5815
|
+
[1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
|
5816
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5817
|
+
[1m[35m (56.7ms)[0m DROP TABLE "extface_jobs"
|
5818
|
+
[1m[36m (62.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5819
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5820
|
+
[1m[36m (64.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5821
|
+
[1m[35m (59.3ms)[0m DROP TABLE "extface_serial_configs"
|
5822
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5823
|
+
[1m[35m (69.7ms)[0m DROP TABLE "shops"
|
5824
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5825
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
5826
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5827
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5828
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:18:40', '2015-12-19 17:18:40', 980190962, 258259918)[0m
|
5829
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:18:40', '2015-12-19 17:18:40', 298486374, 599072141)
|
5830
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5831
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 980190962, 'Shop', 980190962, 258259918)
|
5832
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 298486374, 'Shop', 980190962, 599072141)[0m
|
5833
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 229906743, 'Shop', 980190962, 229906743)
|
5834
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 40760454, 'Shop', 980190962, 40760454)[0m
|
5835
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5836
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 258259918)[0m
|
5837
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 412842077)
|
5838
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 599072141)[0m
|
5839
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 229906743)
|
5840
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 40760454)[0m
|
5841
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5842
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:18:40', '2015-12-19 17:18:40', 980190962)[0m
|
5843
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:18:40', '2015-12-19 17:18:40', 298486374)
|
5844
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5845
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:18:40', '2015-12-19 17:18:40', 980190962)
|
5846
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:18:40', '2015-12-19 17:18:40', 298486374)[0m
|
5847
|
+
[1m[35m (49.6ms)[0m commit transaction
|
5848
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5849
|
+
--------------------------------------------
|
5850
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5851
|
+
--------------------------------------------
|
5852
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5853
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5854
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5855
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5856
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5857
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5858
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5859
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5860
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5861
|
+
[1m[35m (72.3ms)[0m DROP TABLE "extface_devices"
|
5862
|
+
[1m[36m (67.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5863
|
+
[1m[35m (69.9ms)[0m DROP TABLE "extface_drivers"
|
5864
|
+
[1m[36m (57.0ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5865
|
+
[1m[35m (51.0ms)[0m DROP TABLE "extface_jobs"
|
5866
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5867
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
5868
|
+
[1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5869
|
+
[1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
|
5870
|
+
[1m[36m (147.8ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5871
|
+
[1m[35m (64.5ms)[0m DROP TABLE "shops"
|
5872
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5873
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5874
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5875
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5876
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:20:41', '2015-12-19 17:20:41', 980190962, 258259918)[0m
|
5877
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:20:41', '2015-12-19 17:20:41', 298486374, 599072141)
|
5878
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5879
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 980190962, 'Shop', 980190962, 258259918)
|
5880
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 298486374, 'Shop', 980190962, 599072141)[0m
|
5881
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 229906743, 'Shop', 980190962, 229906743)
|
5882
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 40760454, 'Shop', 980190962, 40760454)[0m
|
5883
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5884
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 258259918)[0m
|
5885
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 412842077)
|
5886
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 599072141)[0m
|
5887
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 229906743)
|
5888
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 40760454)[0m
|
5889
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5890
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:20:41', '2015-12-19 17:20:41', 980190962)[0m
|
5891
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:20:41', '2015-12-19 17:20:41', 298486374)
|
5892
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5893
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:20:41', '2015-12-19 17:20:41', 980190962)
|
5894
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:20:41', '2015-12-19 17:20:41', 298486374)[0m
|
5895
|
+
[1m[35m (50.4ms)[0m commit transaction
|
5896
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5897
|
+
--------------------------------------------
|
5898
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5899
|
+
--------------------------------------------
|
5900
|
+
[1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5901
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5902
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5903
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5904
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5905
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5906
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5907
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5908
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5909
|
+
[1m[35m (105.5ms)[0m DROP TABLE "extface_devices"
|
5910
|
+
[1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5911
|
+
[1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
|
5912
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5913
|
+
[1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
|
5914
|
+
[1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5915
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5916
|
+
[1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5917
|
+
[1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
|
5918
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5919
|
+
[1m[35m (64.5ms)[0m DROP TABLE "shops"
|
5920
|
+
[1m[36m (65.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5921
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
5922
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5923
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5924
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:22:58', '2015-12-19 17:22:58', 980190962, 258259918)[0m
|
5925
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:22:58', '2015-12-19 17:22:58', 298486374, 599072141)
|
5926
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5927
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 980190962, 'Shop', 980190962, 258259918)
|
5928
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 298486374, 'Shop', 980190962, 599072141)[0m
|
5929
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 229906743, 'Shop', 980190962, 229906743)
|
5930
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 40760454, 'Shop', 980190962, 40760454)[0m
|
5931
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
5932
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 258259918)[0m
|
5933
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 412842077)
|
5934
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 599072141)[0m
|
5935
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 229906743)
|
5936
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 40760454)[0m
|
5937
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5938
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:22:58', '2015-12-19 17:22:58', 980190962)[0m
|
5939
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:22:58', '2015-12-19 17:22:58', 298486374)
|
5940
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5941
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:22:58', '2015-12-19 17:22:58', 980190962)
|
5942
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:22:58', '2015-12-19 17:22:58', 298486374)[0m
|
5943
|
+
[1m[35m (54.9ms)[0m commit transaction
|
5944
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5945
|
+
--------------------------------------------
|
5946
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5947
|
+
--------------------------------------------
|
5948
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5949
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5950
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5951
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5952
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5953
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
5954
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
5955
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
5956
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5957
|
+
[1m[35m (106.3ms)[0m DROP TABLE "extface_devices"
|
5958
|
+
[1m[36m (78.6ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5959
|
+
[1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
|
5960
|
+
[1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
5961
|
+
[1m[35m (59.3ms)[0m DROP TABLE "extface_jobs"
|
5962
|
+
[1m[36m (70.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
5963
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
5964
|
+
[1m[36m (65.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
5965
|
+
[1m[35m (59.5ms)[0m DROP TABLE "extface_serial_configs"
|
5966
|
+
[1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5967
|
+
[1m[35m (56.7ms)[0m DROP TABLE "shops"
|
5968
|
+
[1m[36m (57.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5969
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
5970
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5971
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
5972
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:32:47', '2015-12-19 17:32:47', 980190962, 258259918)[0m
|
5973
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:32:47', '2015-12-19 17:32:47', 298486374, 599072141)
|
5974
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
5975
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 980190962, 'Shop', 980190962, 258259918)
|
5976
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 298486374, 'Shop', 980190962, 599072141)[0m
|
5977
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 229906743, 'Shop', 980190962, 229906743)
|
5978
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 40760454, 'Shop', 980190962, 40760454)[0m
|
5979
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
|
5980
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 258259918)[0m
|
5981
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 412842077)
|
5982
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 599072141)[0m
|
5983
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 229906743)
|
5984
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 40760454)[0m
|
5985
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
5986
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:32:47', '2015-12-19 17:32:47', 980190962)[0m
|
5987
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:32:47', '2015-12-19 17:32:47', 298486374)
|
5988
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
5989
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:32:47', '2015-12-19 17:32:47', 980190962)
|
5990
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:32:47', '2015-12-19 17:32:47', 298486374)[0m
|
5991
|
+
[1m[35m (52.8ms)[0m commit transaction
|
5992
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5993
|
+
--------------------------------------------
|
5994
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
5995
|
+
--------------------------------------------
|
5996
|
+
[1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
5997
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
5998
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
5999
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
6000
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
6001
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
6002
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
6003
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6004
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6005
|
+
[1m[35m (75.7ms)[0m DROP TABLE "extface_devices"
|
6006
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
6007
|
+
[1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
|
6008
|
+
[1m[36m (100.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
6009
|
+
[1m[35m (62.6ms)[0m DROP TABLE "extface_jobs"
|
6010
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
6011
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
6012
|
+
[1m[36m (72.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
6013
|
+
[1m[35m (65.0ms)[0m DROP TABLE "extface_serial_configs"
|
6014
|
+
[1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
6015
|
+
[1m[35m (72.8ms)[0m DROP TABLE "shops"
|
6016
|
+
[1m[36m (73.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
6017
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
6018
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6019
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
6020
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:38:57', '2015-12-19 17:38:57', 980190962, 258259918)[0m
|
6021
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:38:57', '2015-12-19 17:38:57', 298486374, 599072141)
|
6022
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
6023
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 980190962, 'Shop', 980190962, 258259918)
|
6024
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 298486374, 'Shop', 980190962, 599072141)[0m
|
6025
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 229906743, 'Shop', 980190962, 229906743)
|
6026
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 40760454, 'Shop', 980190962, 40760454)[0m
|
6027
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
6028
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 258259918)[0m
|
6029
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 412842077)
|
6030
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 599072141)[0m
|
6031
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 229906743)
|
6032
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 40760454)[0m
|
6033
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
6034
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:38:57', '2015-12-19 17:38:57', 980190962)[0m
|
6035
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:38:57', '2015-12-19 17:38:57', 298486374)
|
6036
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
6037
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:38:57', '2015-12-19 17:38:57', 980190962)
|
6038
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:38:57', '2015-12-19 17:38:57', 298486374)[0m
|
6039
|
+
[1m[35m (58.6ms)[0m commit transaction
|
6040
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6041
|
+
---------------------------------------------------------
|
6042
|
+
Extface::DevicesControllerTest: test_should_create_device
|
6043
|
+
---------------------------------------------------------
|
6044
|
+
[1m[35mExtface::Device Load (0.3ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6045
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "extface_devices"[0m
|
6046
|
+
[1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6047
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6048
|
+
[1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6049
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6050
|
+
Processing by Extface::DevicesController#create as HTML
|
6051
|
+
Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}}
|
6052
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
6053
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6054
|
+
[1m[35mExtface::Device Exists (0.2ms)[0m SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
|
6055
|
+
[1m[36mExtface::Device Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1[0m
|
6056
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-12-19 17:38:58.170020"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:38:58.170020"]]
|
6057
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-12-19 17:38:58.179224"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "1c8fc7750e8398a939e15fe03ed0024e"], ["updated_at", "2015-12-19 17:38:58.179224"], ["uuid", "1c8fc7750e8398a939e15fe03ed0024e"]]
|
6058
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6059
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6060
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6061
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963
|
6062
|
+
Completed 302 Found in 54ms (ActiveRecord: 1.1ms)
|
6063
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "extface_devices"[0m
|
6064
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6065
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6066
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6067
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6068
|
+
----------------------------------------------------------
|
6069
|
+
Extface::DevicesControllerTest: test_should_destroy_device
|
6070
|
+
----------------------------------------------------------
|
6071
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6072
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "extface_devices"[0m
|
6073
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6074
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6075
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6076
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6077
|
+
Processing by Extface::DevicesController#destroy as HTML
|
6078
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6079
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
6080
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6081
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6082
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "extface_devices" WHERE "extface_devices"."id" = ?[0m [["id", 980190962]]
|
6083
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6084
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6085
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6086
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices
|
6087
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
6088
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "extface_devices"[0m
|
6089
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6090
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6091
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6092
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6093
|
+
----------------------------------------------------
|
6094
|
+
Extface::DevicesControllerTest: test_should_get_edit
|
6095
|
+
----------------------------------------------------
|
6096
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6097
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6098
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6099
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6100
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6101
|
+
Processing by Extface::DevicesController#edit as HTML
|
6102
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6103
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6104
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6105
|
+
[1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6106
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6107
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6108
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6109
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6110
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6111
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.7ms)
|
6112
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 258259918]]
|
6113
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6114
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6115
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.6ms)
|
6116
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (4.5ms)
|
6117
|
+
Completed 200 OK in 193ms (Views: 190.5ms | ActiveRecord: 1.1ms)
|
6118
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6120
|
+
-----------------------------------------------------
|
6121
|
+
Extface::DevicesControllerTest: test_should_get_index
|
6122
|
+
-----------------------------------------------------
|
6123
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6124
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6125
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6126
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6127
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6128
|
+
Processing by Extface::DevicesController#index as HTML
|
6129
|
+
Parameters: {"shop_id"=>"980190962"}
|
6130
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6131
|
+
[1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
|
6132
|
+
[1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6133
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6134
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6135
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6136
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ?[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
|
6137
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6138
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6139
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6140
|
+
[1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
|
6141
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6142
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6143
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6144
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6145
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6146
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6147
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6148
|
+
[1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
|
6149
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6150
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6151
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6152
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6153
|
+
[1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6154
|
+
[1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6155
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6156
|
+
[1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 599072141]]
|
6157
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6158
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6159
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6160
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6161
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6162
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6163
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6164
|
+
[1m[36mExtface::Driver Load (0.0ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 258259918]]
|
6165
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6166
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6167
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6168
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6169
|
+
Completed 200 OK in 48ms (Views: 43.0ms | ActiveRecord: 3.6ms)
|
6170
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6171
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6172
|
+
---------------------------------------------------
|
6173
|
+
Extface::DevicesControllerTest: test_should_get_new
|
6174
|
+
---------------------------------------------------
|
6175
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6176
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6177
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6178
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6179
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6180
|
+
Processing by Extface::DevicesController#new as HTML
|
6181
|
+
Parameters: {"shop_id"=>"980190962"}
|
6182
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6183
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6184
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6185
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6186
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6187
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6188
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6189
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms)
|
6190
|
+
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.6ms)
|
6191
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6193
|
+
-------------------------------------------------------
|
6194
|
+
Extface::DevicesControllerTest: test_should_show_device
|
6195
|
+
-------------------------------------------------------
|
6196
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6197
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6198
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6199
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6200
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6201
|
+
Processing by Extface::DevicesController#show as HTML
|
6202
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6203
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6204
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6205
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6206
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6207
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6208
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6209
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6210
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6211
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6212
|
+
[1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
|
6213
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL)[0m [["device_id", 980190962]]
|
6214
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
|
6215
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL)[0m [["device_id", 980190962]]
|
6216
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
|
6217
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6218
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6219
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6220
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6221
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (2.4ms)
|
6222
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6223
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6224
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10[0m [["device_id", 980190962]]
|
6225
|
+
Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 1.8ms)
|
6226
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6227
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6228
|
+
---------------------------------------------------------
|
6229
|
+
Extface::DevicesControllerTest: test_should_update_device
|
6230
|
+
---------------------------------------------------------
|
6231
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6232
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6233
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6234
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6235
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6236
|
+
Processing by Extface::DevicesController#update as HTML
|
6237
|
+
Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
|
6238
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6239
|
+
[1m[35mExtface::Device Load (0.0ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6240
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6241
|
+
[1m[35mExtface::Device Exists (0.1ms)[0m SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" = 'new_name' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
|
6242
|
+
[1m[36mExtface::Device Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" = 'MyUUID1' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1[0m
|
6243
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2015-12-19 17:38:58.499082"]]
|
6244
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6245
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6246
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6247
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962
|
6248
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
|
6249
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6250
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6251
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6253
|
+
-----------------------
|
6254
|
+
ExtfaceTest: test_truth
|
6255
|
+
-----------------------
|
6256
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6257
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6258
|
+
--------------------------------------------
|
6259
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
6260
|
+
--------------------------------------------
|
6261
|
+
[1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
6262
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
6263
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
6264
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
6265
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
6266
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
6267
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
6268
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6269
|
+
[1m[35m (0.2ms)[0m begin transaction
|
6270
|
+
---------------------------------------------
|
6271
|
+
Extface::Driver::DaisyFx1200Test: test_handle
|
6272
|
+
---------------------------------------------
|
6273
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
|
6274
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
|
6275
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6276
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6277
|
+
-----------------------------------------------------
|
6278
|
+
Extface::Driver::DaisyFx1200Test: test_response_frame
|
6279
|
+
-----------------------------------------------------
|
6280
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
|
6281
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
|
6282
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6283
|
+
[1m[35m (0.2ms)[0m begin transaction
|
6284
|
+
-------------------------------------------------
|
6285
|
+
Extface::JobsControllerTest: test_should_show_job
|
6286
|
+
-------------------------------------------------
|
6287
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6288
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6289
|
+
[1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6290
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6291
|
+
Processing by Extface::JobsController#show as HTML
|
6292
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6293
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6294
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6295
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6296
|
+
-----------------------------------------------------
|
6297
|
+
Extface::Driver::Datecs::Fp550Test: test_build_packet
|
6298
|
+
-----------------------------------------------------
|
6299
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
6300
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
6301
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
6302
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6303
|
+
----------------------------------------------
|
6304
|
+
Extface::Driver::Datecs::Fp550Test: test_fsend
|
6305
|
+
----------------------------------------------
|
6306
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
6307
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
6308
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
6309
|
+
[1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
|
6310
|
+
[1m[35mExtface::Job Load (0.4ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
|
6311
|
+
Completed 200 OK in 10005ms (ActiveRecord: 1.4ms)
|
6312
|
+
[1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
|
6313
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
|
6314
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
6315
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6316
|
+
-----------------------------------------------
|
6317
|
+
Extface::Driver::Datecs::Fp550Test: test_handle
|
6318
|
+
-----------------------------------------------
|
6319
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
|
6320
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
|
6321
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6322
|
+
[1m[35m (0.2ms)[0m begin transaction
|
6323
|
+
-------------------------------------------------------
|
6324
|
+
Extface::Driver::Datecs::Fp550Test: test_response_frame
|
6325
|
+
-------------------------------------------------------
|
6326
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
|
6327
|
+
[1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
|
6328
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6329
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6330
|
+
[1m[35m (86.3ms)[0m DROP TABLE "extface_devices"
|
6331
|
+
[1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
6332
|
+
[1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
|
6333
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
6334
|
+
[1m[35m (59.2ms)[0m DROP TABLE "extface_jobs"
|
6335
|
+
[1m[36m (78.8ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
6336
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
6337
|
+
[1m[36m (64.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
6338
|
+
[1m[35m (51.3ms)[0m DROP TABLE "extface_serial_configs"
|
6339
|
+
[1m[36m (79.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
6340
|
+
[1m[35m (64.5ms)[0m DROP TABLE "shops"
|
6341
|
+
[1m[36m (57.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
6342
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
6343
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6344
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
|
6345
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:45:25', '2015-12-19 17:45:25', 980190962, 258259918)[0m
|
6346
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:45:25', '2015-12-19 17:45:25', 298486374, 599072141)
|
6347
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
6348
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 980190962, 'Shop', 980190962, 258259918)
|
6349
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 298486374, 'Shop', 980190962, 599072141)[0m
|
6350
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 229906743, 'Shop', 980190962, 229906743)
|
6351
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 40760454, 'Shop', 980190962, 40760454)[0m
|
6352
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
6353
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 258259918)[0m
|
6354
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 412842077)
|
6355
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 599072141)[0m
|
6356
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 229906743)
|
6357
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 40760454)[0m
|
6358
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
6359
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:45:25', '2015-12-19 17:45:25', 980190962)[0m
|
6360
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:45:25', '2015-12-19 17:45:25', 298486374)
|
6361
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
6362
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:45:25', '2015-12-19 17:45:25', 980190962)
|
6363
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:45:25', '2015-12-19 17:45:25', 298486374)[0m
|
6364
|
+
[1m[35m (47.3ms)[0m commit transaction
|
6365
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6366
|
+
-----------------------------------------------------
|
6367
|
+
Extface::Driver::Datecs::Fp550Test: test_build_packet
|
6368
|
+
-----------------------------------------------------
|
6369
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
6370
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
6371
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6372
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6373
|
+
----------------------------------------------
|
6374
|
+
Extface::Driver::Datecs::Fp550Test: test_fsend
|
6375
|
+
----------------------------------------------
|
6376
|
+
[1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
6377
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
6378
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
6379
|
+
[1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
|
6380
|
+
[1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
|
6381
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
|
6382
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
|
6383
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6384
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6385
|
+
-----------------------------------------------
|
6386
|
+
Extface::Driver::Datecs::Fp550Test: test_handle
|
6387
|
+
-----------------------------------------------
|
6388
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
|
6389
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
|
6390
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6391
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6392
|
+
-------------------------------------------------------
|
6393
|
+
Extface::Driver::Datecs::Fp550Test: test_response_frame
|
6394
|
+
-------------------------------------------------------
|
6395
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
|
6396
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
|
6397
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6398
|
+
[1m[35m (0.2ms)[0m begin transaction
|
6399
|
+
---------------------------------------------------------
|
6400
|
+
Extface::DevicesControllerTest: test_should_create_device
|
6401
|
+
---------------------------------------------------------
|
6402
|
+
[1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6403
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
|
6404
|
+
[1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6405
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6406
|
+
[1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6407
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6408
|
+
Processing by Extface::DevicesController#create as HTML
|
6409
|
+
Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}}
|
6410
|
+
[1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6411
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6412
|
+
[1m[36mExtface::Device Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1[0m
|
6413
|
+
[1m[35mExtface::Device Exists (0.1ms)[0m SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
|
6414
|
+
[1m[36mSQL (29.3ms)[0m [1mINSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2015-12-19 17:45:43.189865"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:45:43.189865"]]
|
6415
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-12-19 17:45:43.227503"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "3aa020b56b7a4a19f6834911ae81097e"], ["updated_at", "2015-12-19 17:45:43.227503"], ["uuid", "3aa020b56b7a4a19f6834911ae81097e"]]
|
6416
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6417
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6418
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6419
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963
|
6420
|
+
Completed 302 Found in 57ms (ActiveRecord: 30.3ms)
|
6421
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
|
6422
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6423
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6424
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6425
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6426
|
+
----------------------------------------------------------
|
6427
|
+
Extface::DevicesControllerTest: test_should_destroy_device
|
6428
|
+
----------------------------------------------------------
|
6429
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6430
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
|
6431
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6432
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6433
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6434
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6435
|
+
Processing by Extface::DevicesController#destroy as HTML
|
6436
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6437
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6438
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6439
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6440
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]
|
6441
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6442
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6443
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6444
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices
|
6445
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
6446
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
|
6447
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6448
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6449
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6450
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6451
|
+
----------------------------------------------------
|
6452
|
+
Extface::DevicesControllerTest: test_should_get_edit
|
6453
|
+
----------------------------------------------------
|
6454
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6455
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6456
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6457
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6458
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6459
|
+
Processing by Extface::DevicesController#edit as HTML
|
6460
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6461
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
6462
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6463
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6464
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6465
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6466
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6467
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6468
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6469
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.9ms)
|
6470
|
+
[1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
|
6471
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6472
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6473
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.4ms)
|
6474
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (3.4ms)
|
6475
|
+
Completed 200 OK in 44ms (Views: 41.5ms | ActiveRecord: 1.0ms)
|
6476
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6477
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6478
|
+
-----------------------------------------------------
|
6479
|
+
Extface::DevicesControllerTest: test_should_get_index
|
6480
|
+
-----------------------------------------------------
|
6481
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6482
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6483
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6484
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6485
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6486
|
+
Processing by Extface::DevicesController#index as HTML
|
6487
|
+
Parameters: {"shop_id"=>"980190962"}
|
6488
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
6489
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ?[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
|
6490
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6491
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6492
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6493
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6494
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
|
6495
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6496
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6497
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6498
|
+
[1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
6499
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6500
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6501
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6502
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6503
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6504
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6505
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6506
|
+
[1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
6507
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6508
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6509
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6510
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6511
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6512
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6513
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6514
|
+
[1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]]
|
6515
|
+
[1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6516
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6517
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6518
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6519
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6520
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6521
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6522
|
+
[1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
|
6523
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6524
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6525
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6526
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6527
|
+
Completed 200 OK in 29ms (Views: 25.1ms | ActiveRecord: 2.6ms)
|
6528
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6530
|
+
---------------------------------------------------
|
6531
|
+
Extface::DevicesControllerTest: test_should_get_new
|
6532
|
+
---------------------------------------------------
|
6533
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6534
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6535
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6536
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6537
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6538
|
+
Processing by Extface::DevicesController#new as HTML
|
6539
|
+
Parameters: {"shop_id"=>"980190962"}
|
6540
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
6541
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6542
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6543
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6544
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6545
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6546
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6547
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms)
|
6548
|
+
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.6ms)
|
6549
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6550
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6551
|
+
-------------------------------------------------------
|
6552
|
+
Extface::DevicesControllerTest: test_should_show_device
|
6553
|
+
-------------------------------------------------------
|
6554
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6555
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6556
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6557
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6558
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6559
|
+
Processing by Extface::DevicesController#show as HTML
|
6560
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6561
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
6562
|
+
[1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6563
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6564
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6565
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6566
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6567
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6568
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6569
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6570
|
+
[1m[36mExtface::Driver Load (0.0ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 258259918]]
|
6571
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
|
6572
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL)[0m [["device_id", 980190962]]
|
6573
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
|
6574
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL)[0m [["device_id", 980190962]]
|
6575
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6576
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6577
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6578
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6579
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.6ms)
|
6580
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6581
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6582
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]]
|
6583
|
+
Completed 200 OK in 19ms (Views: 16.4ms | ActiveRecord: 1.4ms)
|
6584
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6585
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6586
|
+
---------------------------------------------------------
|
6587
|
+
Extface::DevicesControllerTest: test_should_update_device
|
6588
|
+
---------------------------------------------------------
|
6589
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6590
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6591
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6592
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6593
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6594
|
+
Processing by Extface::DevicesController#update as HTML
|
6595
|
+
Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
|
6596
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
6597
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6598
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6599
|
+
[1m[36mExtface::Device Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" = 'new_name' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1[0m
|
6600
|
+
[1m[35mExtface::Device Exists (0.1ms)[0m SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" = 'MyUUID1' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
|
6601
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962[0m [["name", "new_name"], ["updated_at", "2015-12-19 17:45:43.368326"]]
|
6602
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6603
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6604
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6605
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962
|
6606
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
6607
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6608
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6609
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6610
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6611
|
+
--------------------------------------------
|
6612
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
6613
|
+
--------------------------------------------
|
6614
|
+
[1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
|
6615
|
+
[1m[35mExtface::Device Load (0.0ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
|
6616
|
+
[1m[36mExtface::Job Load (0.0ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6617
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
|
6618
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
|
6619
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
|
6620
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
|
6621
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6623
|
+
---------------------------------------------
|
6624
|
+
Extface::Driver::DaisyFx1200Test: test_handle
|
6625
|
+
---------------------------------------------
|
6626
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
6627
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
6628
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
6629
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6630
|
+
-----------------------------------------------------
|
6631
|
+
Extface::Driver::DaisyFx1200Test: test_response_frame
|
6632
|
+
-----------------------------------------------------
|
6633
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
6634
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
6635
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
6636
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6637
|
+
-------------------------------------------------
|
6638
|
+
Extface::JobsControllerTest: test_should_show_job
|
6639
|
+
-------------------------------------------------
|
6640
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
6641
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6642
|
+
[1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6643
|
+
[1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6644
|
+
Processing by Extface::JobsController#show as HTML
|
6645
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6646
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
6647
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6648
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6649
|
+
-----------------------
|
6650
|
+
ExtfaceTest: test_truth
|
6651
|
+
-----------------------
|
6652
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6653
|
+
Completed in 8ms
|
6654
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6655
|
+
[1m[35m (72.7ms)[0m DROP TABLE "extface_devices"
|
6656
|
+
[1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
6657
|
+
[1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
|
6658
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
6659
|
+
[1m[35m (64.3ms)[0m DROP TABLE "extface_jobs"
|
6660
|
+
[1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
6661
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
6662
|
+
[1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
6663
|
+
[1m[35m (64.4ms)[0m DROP TABLE "extface_serial_configs"
|
6664
|
+
[1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
6665
|
+
[1m[35m (73.1ms)[0m DROP TABLE "shops"
|
6666
|
+
[1m[36m (70.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
6667
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
6668
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6669
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
|
6670
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:47:16', '2015-12-19 17:47:16', 980190962, 258259918)[0m
|
6671
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:47:16', '2015-12-19 17:47:16', 298486374, 599072141)
|
6672
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
6673
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 980190962, 'Shop', 980190962, 258259918)
|
6674
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 298486374, 'Shop', 980190962, 599072141)[0m
|
6675
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 229906743, 'Shop', 980190962, 229906743)
|
6676
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 40760454, 'Shop', 980190962, 40760454)[0m
|
6677
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
6678
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 258259918)[0m
|
6679
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 412842077)
|
6680
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 599072141)[0m
|
6681
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 229906743)
|
6682
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 40760454)[0m
|
6683
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
6684
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:47:16', '2015-12-19 17:47:16', 980190962)[0m
|
6685
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:47:16', '2015-12-19 17:47:16', 298486374)
|
6686
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
6687
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:47:16', '2015-12-19 17:47:16', 980190962)
|
6688
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:47:16', '2015-12-19 17:47:16', 298486374)[0m
|
6689
|
+
[1m[35m (58.9ms)[0m commit transaction
|
6690
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6691
|
+
--------------------------------------------
|
6692
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
6693
|
+
--------------------------------------------
|
6694
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
6695
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
6696
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
6697
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
6698
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
6699
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
|
6700
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
|
6701
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6702
|
+
[1m[35m (0.2ms)[0m begin transaction
|
6703
|
+
---------------------------------------------
|
6704
|
+
Extface::Driver::DaisyFx1200Test: test_handle
|
6705
|
+
---------------------------------------------
|
6706
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
|
6707
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
|
6708
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6709
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6710
|
+
-----------------------------------------------------
|
6711
|
+
Extface::Driver::DaisyFx1200Test: test_response_frame
|
6712
|
+
-----------------------------------------------------
|
6713
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
|
6714
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
|
6715
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6716
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6717
|
+
-------------------------------------------------
|
6718
|
+
Extface::JobsControllerTest: test_should_show_job
|
6719
|
+
-------------------------------------------------
|
6720
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6721
|
+
[1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6722
|
+
[1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6723
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6724
|
+
Processing by Extface::JobsController#show as HTML
|
6725
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6726
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6727
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6728
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6729
|
+
-----------------------
|
6730
|
+
ExtfaceTest: test_truth
|
6731
|
+
-----------------------
|
6732
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6733
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6734
|
+
---------------------------------------------------------
|
6735
|
+
Extface::DevicesControllerTest: test_should_create_device
|
6736
|
+
---------------------------------------------------------
|
6737
|
+
[1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6738
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "extface_devices"[0m
|
6739
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6740
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6741
|
+
[1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6742
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6743
|
+
Processing by Extface::DevicesController#create as HTML
|
6744
|
+
Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}}
|
6745
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
6746
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6747
|
+
[1m[35mExtface::Device Exists (0.1ms)[0m SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
|
6748
|
+
[1m[36mExtface::Device Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1[0m
|
6749
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-12-19 17:47:18.787982"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:47:18.787982"]]
|
6750
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-12-19 17:47:18.821455"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "be08489a9bace10633284cbcaa2db3ea"], ["updated_at", "2015-12-19 17:47:18.821455"], ["uuid", "be08489a9bace10633284cbcaa2db3ea"]]
|
6751
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6752
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6753
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6754
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963
|
6755
|
+
Completed 302 Found in 49ms (ActiveRecord: 1.1ms)
|
6756
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "extface_devices"[0m
|
6757
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6758
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6759
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6760
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6761
|
+
----------------------------------------------------------
|
6762
|
+
Extface::DevicesControllerTest: test_should_destroy_device
|
6763
|
+
----------------------------------------------------------
|
6764
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6765
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "extface_devices"[0m
|
6766
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6767
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6768
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6769
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6770
|
+
Processing by Extface::DevicesController#destroy as HTML
|
6771
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6772
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
6773
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6774
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6775
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "extface_devices" WHERE "extface_devices"."id" = ?[0m [["id", 980190962]]
|
6776
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6777
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6778
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6779
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices
|
6780
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
6781
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "extface_devices"[0m
|
6782
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6783
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6784
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6785
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6786
|
+
----------------------------------------------------
|
6787
|
+
Extface::DevicesControllerTest: test_should_get_edit
|
6788
|
+
----------------------------------------------------
|
6789
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6790
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6791
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6792
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6793
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6794
|
+
Processing by Extface::DevicesController#edit as HTML
|
6795
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6796
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6797
|
+
[1m[35mExtface::Device Load (0.0ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6798
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6799
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6800
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6801
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6802
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6803
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6804
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.5ms)
|
6805
|
+
[1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 258259918]]
|
6806
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6807
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6808
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.4ms)
|
6809
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (3.1ms)
|
6810
|
+
Completed 200 OK in 38ms (Views: 36.5ms | ActiveRecord: 0.8ms)
|
6811
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6813
|
+
-----------------------------------------------------
|
6814
|
+
Extface::DevicesControllerTest: test_should_get_index
|
6815
|
+
-----------------------------------------------------
|
6816
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6817
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6818
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6819
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6820
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6821
|
+
Processing by Extface::DevicesController#index as HTML
|
6822
|
+
Parameters: {"shop_id"=>"980190962"}
|
6823
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6824
|
+
[1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
|
6825
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6826
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6827
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6828
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6829
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ?[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
|
6830
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6831
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6832
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6833
|
+
[1m[36mExtface::Driver Load (0.0ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
|
6834
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6835
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6836
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6837
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6838
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6839
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6840
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6841
|
+
[1m[36mExtface::Driver Load (0.0ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
|
6842
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6843
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6844
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6845
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6846
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6847
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6848
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6849
|
+
[1m[36mExtface::Driver Load (0.0ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 599072141]]
|
6850
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6851
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6852
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6853
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6854
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6855
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6856
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6857
|
+
[1m[36mExtface::Driver Load (0.0ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 258259918]]
|
6858
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6859
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6860
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6861
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6862
|
+
Completed 200 OK in 29ms (Views: 24.3ms | ActiveRecord: 2.6ms)
|
6863
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6864
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6865
|
+
---------------------------------------------------
|
6866
|
+
Extface::DevicesControllerTest: test_should_get_new
|
6867
|
+
---------------------------------------------------
|
6868
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6869
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6870
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6871
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6872
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6873
|
+
Processing by Extface::DevicesController#new as HTML
|
6874
|
+
Parameters: {"shop_id"=>"980190962"}
|
6875
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6876
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6877
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6878
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6879
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6880
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6881
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6882
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms)
|
6883
|
+
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.4ms)
|
6884
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6885
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6886
|
+
-------------------------------------------------------
|
6887
|
+
Extface::DevicesControllerTest: test_should_show_device
|
6888
|
+
-------------------------------------------------------
|
6889
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6890
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6891
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6892
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6893
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6894
|
+
Processing by Extface::DevicesController#show as HTML
|
6895
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
6896
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6897
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6898
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6899
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6900
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6901
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6902
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6903
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6904
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6905
|
+
[1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
|
6906
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL)[0m [["device_id", 980190962]]
|
6907
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
|
6908
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL)[0m [["device_id", 980190962]]
|
6909
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
|
6910
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6911
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6912
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6913
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6914
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.6ms)
|
6915
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6916
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6917
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10[0m [["device_id", 980190962]]
|
6918
|
+
Completed 200 OK in 20ms (Views: 17.8ms | ActiveRecord: 1.6ms)
|
6919
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6920
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6921
|
+
---------------------------------------------------------
|
6922
|
+
Extface::DevicesControllerTest: test_should_update_device
|
6923
|
+
---------------------------------------------------------
|
6924
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
|
6925
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
6926
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
6927
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6928
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6929
|
+
Processing by Extface::DevicesController#update as HTML
|
6930
|
+
Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
|
6931
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
6932
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
6933
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6934
|
+
[1m[35mExtface::Device Exists (0.1ms)[0m SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" = 'new_name' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
|
6935
|
+
[1m[36mExtface::Device Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" = 'MyUUID1' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1[0m
|
6936
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2015-12-19 17:47:18.953356"]]
|
6937
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6938
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6939
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6940
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962
|
6941
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
6942
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
6943
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
6944
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6945
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6946
|
+
-----------------------------------------------------
|
6947
|
+
Extface::Driver::Datecs::Fp550Test: test_build_packet
|
6948
|
+
-----------------------------------------------------
|
6949
|
+
[1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
6950
|
+
[1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
6951
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6952
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6953
|
+
----------------------------------------------
|
6954
|
+
Extface::Driver::Datecs::Fp550Test: test_fsend
|
6955
|
+
----------------------------------------------
|
6956
|
+
[1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
6957
|
+
[1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
6958
|
+
[1m[35mExtface::Job Load (0.0ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
6959
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
|
6960
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
|
6961
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
|
6962
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
|
6963
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6964
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6965
|
+
-----------------------------------------------
|
6966
|
+
Extface::Driver::Datecs::Fp550Test: test_handle
|
6967
|
+
-----------------------------------------------
|
6968
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
|
6969
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
|
6970
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6971
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6972
|
+
-------------------------------------------------------
|
6973
|
+
Extface::Driver::Datecs::Fp550Test: test_response_frame
|
6974
|
+
-------------------------------------------------------
|
6975
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
|
6976
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
|
6977
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
6978
|
+
Completed in 2247ms
|
6979
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6980
|
+
[1m[35m (64.1ms)[0m DROP TABLE "extface_devices"
|
6981
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
6982
|
+
[1m[35m (53.2ms)[0m DROP TABLE "extface_drivers"
|
6983
|
+
[1m[36m (57.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
6984
|
+
[1m[35m (51.0ms)[0m DROP TABLE "extface_jobs"
|
6985
|
+
[1m[36m (54.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
|
6986
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
6987
|
+
[1m[36m (56.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
|
6988
|
+
[1m[35m (51.2ms)[0m DROP TABLE "extface_serial_configs"
|
6989
|
+
[1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
|
6990
|
+
[1m[35m (61.6ms)[0m DROP TABLE "shops"
|
6991
|
+
[1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
6992
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
6993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6994
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
|
6995
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:56:06', '2015-12-19 17:56:06', 980190962, 258259918)[0m
|
6996
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374, 599072141)
|
6997
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
|
6998
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 980190962, 'Shop', 980190962, 258259918)
|
6999
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374, 'Shop', 980190962, 599072141)[0m
|
7000
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 229906743, 'Shop', 980190962, 229906743)
|
7001
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 40760454, 'Shop', 980190962, 40760454)[0m
|
7002
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_drivers"
|
7003
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 258259918)[0m
|
7004
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 412842077)
|
7005
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 599072141)[0m
|
7006
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 229906743)
|
7007
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 40760454)[0m
|
7008
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
|
7009
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:56:06', '2015-12-19 17:56:06', 980190962)[0m
|
7010
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374)
|
7011
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
|
7012
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:56:06', '2015-12-19 17:56:06', 980190962)
|
7013
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374)[0m
|
7014
|
+
[1m[35m (72.0ms)[0m commit transaction
|
7015
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7016
|
+
-----------------------------------------------------
|
7017
|
+
Extface::Driver::Datecs::Fp550Test: test_build_packet
|
7018
|
+
-----------------------------------------------------
|
7019
|
+
[1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
7020
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
7021
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
7022
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7023
|
+
----------------------------------------------
|
7024
|
+
Extface::Driver::Datecs::Fp550Test: test_fsend
|
7025
|
+
----------------------------------------------
|
7026
|
+
[1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
7027
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
|
7028
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
7029
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
|
7030
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
|
7031
|
+
[1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
|
7032
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
|
7033
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
7034
|
+
[1m[35m (0.2ms)[0m begin transaction
|
7035
|
+
-----------------------------------------------
|
7036
|
+
Extface::Driver::Datecs::Fp550Test: test_handle
|
7037
|
+
-----------------------------------------------
|
7038
|
+
[1m[36mExtface::Driver Load (0.3ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
|
7039
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
|
7040
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
7041
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7042
|
+
-------------------------------------------------------
|
7043
|
+
Extface::Driver::Datecs::Fp550Test: test_response_frame
|
7044
|
+
-------------------------------------------------------
|
7045
|
+
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
|
7046
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
|
7047
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
7048
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7049
|
+
--------------------------------------------
|
7050
|
+
Extface::Driver::DaisyFx1200Test: test_fsend
|
7051
|
+
--------------------------------------------
|
7052
|
+
[1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
|
7053
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
|
7054
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7055
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
|
7056
|
+
[1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
|
7057
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
|
7058
|
+
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
|
7059
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
7060
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7061
|
+
---------------------------------------------
|
7062
|
+
Extface::Driver::DaisyFx1200Test: test_handle
|
7063
|
+
---------------------------------------------
|
7064
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
7065
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
7066
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
7067
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7068
|
+
-----------------------------------------------------
|
7069
|
+
Extface::Driver::DaisyFx1200Test: test_response_frame
|
7070
|
+
-----------------------------------------------------
|
7071
|
+
[1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
7072
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
|
7073
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
7074
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7075
|
+
-------------------------------------------------
|
7076
|
+
Extface::JobsControllerTest: test_should_show_job
|
7077
|
+
-------------------------------------------------
|
7078
|
+
[1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
7079
|
+
[1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7080
|
+
[1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7081
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7082
|
+
Processing by Extface::JobsController#show as HTML
|
7083
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
7084
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
7085
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
7086
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7087
|
+
-----------------------
|
7088
|
+
ExtfaceTest: test_truth
|
7089
|
+
-----------------------
|
7090
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
7091
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7092
|
+
---------------------------------------------------------
|
7093
|
+
Extface::DevicesControllerTest: test_should_create_device
|
7094
|
+
---------------------------------------------------------
|
7095
|
+
[1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7096
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
|
7097
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7098
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
7099
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7100
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7101
|
+
Processing by Extface::DevicesController#create as HTML
|
7102
|
+
Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}}
|
7103
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
7104
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7105
|
+
[1m[36mExtface::Device Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1[0m
|
7106
|
+
[1m[35mExtface::Device Exists (0.1ms)[0m SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
|
7107
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2015-12-19 17:56:10.633292"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:56:10.633292"]]
|
7108
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-12-19 17:56:10.640237"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "f54da54ab07e409a94591a961409b559"], ["updated_at", "2015-12-19 17:56:10.640237"], ["uuid", "f54da54ab07e409a94591a961409b559"]]
|
7109
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7110
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7111
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7112
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963
|
7113
|
+
Completed 302 Found in 22ms (ActiveRecord: 1.0ms)
|
7114
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
|
7115
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7116
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7117
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
7118
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7119
|
+
----------------------------------------------------------
|
7120
|
+
Extface::DevicesControllerTest: test_should_destroy_device
|
7121
|
+
----------------------------------------------------------
|
7122
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7123
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
|
7124
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7125
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
7126
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7127
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7128
|
+
Processing by Extface::DevicesController#destroy as HTML
|
7129
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
7130
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
|
7131
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
7132
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7133
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]
|
7134
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7135
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7136
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7137
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices
|
7138
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
7139
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
|
7140
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7141
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7142
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
7143
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7144
|
+
----------------------------------------------------
|
7145
|
+
Extface::DevicesControllerTest: test_should_get_edit
|
7146
|
+
----------------------------------------------------
|
7147
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7148
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
7149
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7150
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7151
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7152
|
+
Processing by Extface::DevicesController#edit as HTML
|
7153
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
7154
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
7155
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
7156
|
+
[1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7157
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7158
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7159
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7160
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7161
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7162
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.5ms)
|
7163
|
+
[1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
|
7164
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7165
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7166
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.4ms)
|
7167
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (3.3ms)
|
7168
|
+
Completed 200 OK in 41ms (Views: 39.0ms | ActiveRecord: 0.9ms)
|
7169
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
7170
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7171
|
+
-----------------------------------------------------
|
7172
|
+
Extface::DevicesControllerTest: test_should_get_index
|
7173
|
+
-----------------------------------------------------
|
7174
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7175
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
7176
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7177
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7178
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7179
|
+
Processing by Extface::DevicesController#index as HTML
|
7180
|
+
Parameters: {"shop_id"=>"980190962"}
|
7181
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
7182
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ?[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
|
7183
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7184
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7185
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7186
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7187
|
+
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
|
7188
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7189
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7190
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7191
|
+
[1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
|
7192
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7193
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7194
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7195
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7196
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7197
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7198
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7199
|
+
[1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
|
7200
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7201
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7202
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7203
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7204
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7205
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7206
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7207
|
+
[1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]]
|
7208
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7209
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7210
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7211
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7212
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7213
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7214
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7215
|
+
[1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
|
7216
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7217
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7218
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7219
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7220
|
+
Completed 200 OK in 26ms (Views: 22.0ms | ActiveRecord: 2.4ms)
|
7221
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
7222
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7223
|
+
---------------------------------------------------
|
7224
|
+
Extface::DevicesControllerTest: test_should_get_new
|
7225
|
+
---------------------------------------------------
|
7226
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7227
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
7228
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7229
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7230
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7231
|
+
Processing by Extface::DevicesController#new as HTML
|
7232
|
+
Parameters: {"shop_id"=>"980190962"}
|
7233
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
7234
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7235
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7236
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7237
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7238
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7239
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7240
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms)
|
7241
|
+
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.5ms)
|
7242
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
7243
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7244
|
+
-------------------------------------------------------
|
7245
|
+
Extface::DevicesControllerTest: test_should_show_device
|
7246
|
+
-------------------------------------------------------
|
7247
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7248
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
7249
|
+
[1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7250
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7251
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7252
|
+
Processing by Extface::DevicesController#show as HTML
|
7253
|
+
Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
|
7254
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
7255
|
+
[1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
7256
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7257
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7258
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7259
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7260
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7261
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7262
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
7263
|
+
[1m[36mExtface::Driver Load (0.0ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 258259918]]
|
7264
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
|
7265
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL)[0m [["device_id", 980190962]]
|
7266
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
|
7267
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL)[0m [["device_id", 980190962]]
|
7268
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7269
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7270
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7271
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7272
|
+
Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.6ms)
|
7273
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7274
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7275
|
+
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]]
|
7276
|
+
Completed 200 OK in 20ms (Views: 17.0ms | ActiveRecord: 1.6ms)
|
7277
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
7278
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7279
|
+
---------------------------------------------------------
|
7280
|
+
Extface::DevicesControllerTest: test_should_update_device
|
7281
|
+
---------------------------------------------------------
|
7282
|
+
[1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7283
|
+
[1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
|
7284
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
7285
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7286
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7287
|
+
Processing by Extface::DevicesController#update as HTML
|
7288
|
+
Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
|
7289
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
|
7290
|
+
[1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
|
7291
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7292
|
+
[1m[36mExtface::Device Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" = 'new_name' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1[0m
|
7293
|
+
[1m[35mExtface::Device Exists (0.1ms)[0m SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" = 'MyUUID1' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
|
7294
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962[0m [["name", "new_name"], ["updated_at", "2015-12-19 17:56:10.771046"]]
|
7295
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7296
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7297
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7298
|
+
Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962
|
7299
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
7300
|
+
[1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
|
7301
|
+
[1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
|
7302
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
7303
|
+
Completed in 205ms
|