noflo
Version:
Flow-Based Programming environment for JavaScript
697 lines (674 loc) • 45.2 kB
text/xml
noflo.ArrayPort is deprecated. Please port to noflo.InPort/noflo.OutPort and use addressable: true
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.ArrayPort is deprecated. Please port to noflo.InPort/noflo.OutPort and use addressable: true
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.ArrayPort is deprecated. Please port to noflo.InPort/noflo.OutPort and use addressable: true
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[0m[0m
[0m Legacy ArrayPort[0m
[0m Untyped ArrayPort instance[0m
noflo.ArrayPort is deprecated. Please port to noflo.InPort/noflo.OutPort and use addressable: true
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should be of type "all"[0m
[0m ArrayPort instance[0m
noflo.ArrayPort is deprecated. Please port to noflo.InPort/noflo.OutPort and use addressable: true
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should retain the given type[0m
[0m without attached socket[0m
[32m ✓[0m[90m should not be attached initially[0m
[32m ✓[0m[90m should allow connections[0m
[32m ✓[0m[90m should not be connected initially[0m
[32m ✓[0m[90m should not contain a socket initially[0m
[32m ✓[0m[90m should not allow connecting[0m
[32m ✓[0m[90m should not allow beginning groups[0m
[32m ✓[0m[90m should not allow sending data[0m
[32m ✓[0m[90m should not allow ending groups[0m
[32m ✓[0m[90m should not allow disconnecting[0m
[0m with attached socket[0m
[32m ✓[0m[90m should emit an event[0m
[32m ✓[0m[90m should be marked as attached[0m
[32m ✓[0m[90m should still allow more connections[0m
[32m ✓[0m[90m should not be connected initially[0m
[32m ✓[0m[90m should have a reference to the socket[0m
[32m ✓[0m[90m should allow other sockets to be attached[0m
[32m ✓[0m[90m should emit an event on detaching[0m
[32m ✓[0m[90m should not be attached any longer[0m
[32m ✓[0m[90m should not contain the removed socket any longer[0m
[0m Input ArrayPort[0m
[32m ✓[0m[90m should emit connection events[0m
[32m ✓[0m[90m should be connected after that[0m
[32m ✓[0m[90m should emit begin group events[0m
[32m ✓[0m[90m should emit data events[0m
[32m ✓[0m[90m should emit end group events[0m
[32m ✓[0m[90m should emit disconnection events[0m
[32m ✓[0m[90m should not be connected after that[0m
[32m ✓[0m[90m should connect automatically when sending[0m
[0m Input ArrayPort with specified index[0m
[32m ✓[0m[90m shouldn't be attached initially[0m
[32m ✓[0m[90m should emit attaching events[0m
[32m ✓[0m[90m should be attached after that[0m
[32m ✓[0m[90m shouldn't have other indexes attached after that[0m
[32m ✓[0m[90m should emit connection events[0m
[32m ✓[0m[90m should be connected after that[0m
[32m ✓[0m[90m shouldn't have other indexes connected after that[0m
[32m ✓[0m[90m should emit begin group events[0m
[32m ✓[0m[90m should emit data events[0m
[32m ✓[0m[90m should emit end group events[0m
[32m ✓[0m[90m should emit disconnection events[0m
[32m ✓[0m[90m should not be connected after that[0m
[32m ✓[0m[90m should connect automatically when sending[0m
[32m ✓[0m[90m should emit attaching events[0m
[32m ✓[0m[90m shouldn't be attached after that[0m
[0m Output ArrayPort[0m
[32m ✓[0m[90m should connect the socket[0m
[32m ✓[0m[90m should begin groups on the socket[0m
[32m ✓[0m[90m should send data to the socket[0m
[32m ✓[0m[90m should end groups on the socket[0m
[32m ✓[0m[90m should disconnect the socket[0m
[32m ✓[0m[90m should connect automatically when sending[0m
[0m asCallback interface[0m
[0m with a non-existing component[0m
[32m ✓[0m[90m should be able to wrap it[0m
[32m ✓[0m[90m should fail execution[0m
[0m with simple asynchronous component[0m
[32m ✓[0m[90m should be able to wrap it[0m
[32m ✓[0m[90m should execute network with input map and provide output map[0m[33m (59ms)[0m
[32m ✓[0m[90m should execute network with simple input and provide simple output[0m[33m (60ms)[0m
[32m ✓[0m[90m should not mix up simultaneous runs[0m[31m (79ms)[0m
[32m ✓[0m[90m should execute a network with a sequence and provide output sequence[0m[33m (60ms)[0m
[0m with the raw option[0m
[32m ✓[0m[90m should execute a network with a sequence and provide output sequence[0m[33m (62ms)[0m
[0m with a component sending an error[0m
[32m ✓[0m[90m should execute network with input map and provide error[0m[33m (57ms)[0m
[32m ✓[0m[90m should execute network with simple input and provide error[0m[33m (55ms)[0m
[0m with a component sending streams[0m
[32m ✓[0m[90m should execute network with input map and provide output map with streams as arrays[0m[33m (56ms)[0m
[32m ✓[0m[90m should execute network with simple input and and provide simple output with streams as arrays[0m[33m (56ms)[0m
[0m with the raw option[0m
[32m ✓[0m[90m should execute network with input map and provide output map with IP objects[0m[33m (55ms)[0m
[0m AsyncComponent with missing ports[0m
noflo.AsyncComponent is deprecated. Please port to Process API
[32m ✓[0m[90m should throw an error on instantiation when no IN defined[0m
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.AsyncComponent is deprecated. Please port to Process API
[32m ✓[0m[90m should throw an error on instantion when no OUT defined[0m
[0m AsyncComponent without a doAsync method[0m
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.AsyncComponent is deprecated. Please port to Process API
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should throw an error if there is no connection to the ERROR port[0m
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.AsyncComponent is deprecated. Please port to Process API
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should send an error to the ERROR port if connected[0m
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.AsyncComponent is deprecated. Please port to Process API
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should send groups and error to the ERROR port if connected[0m
[0m Implemented AsyncComponent[0m
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.AsyncComponent is deprecated. Please port to Process API
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should send load information and packets in correct order[0m[31m (301ms)[0m
[0m Component[0m
[0m with required ports[0m
[32m ✓[0m[90m should throw an error upon sending packet to an unattached required port[0m
[32m ✓[0m[90m should be cool with an attached port[0m
[0m with component creation shorthand[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should make component creation easy[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should throw errors if there is no error port[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should throw errors if there is a non-attached error port[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should not throw errors if there is a non-required error port[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should send errors if there is a connected error port[0m
[0m defining ports with invalid names[0m
[32m ✓[0m[90m should throw an error with uppercase letters in inport[0m
[32m ✓[0m[90m should throw an error with uppercase letters in outport[0m
[32m ✓[0m[90m should throw an error with special characters in inport[0m
[0m starting a component[0m
[32m ✓[0m[90m should flag the component as started[0m
[0m shutting down a component[0m
[32m ✓[0m[90m should flag the component as not started[0m
[0m with object-based IPs[0m
InPort handle callback is deprecated. Please use Process API
[32m ✓[0m[90m should speak IP objects[0m
InPort handle callback is deprecated. Please use Process API
InPort handle callback is deprecated. Please use Process API
[32m ✓[0m[90m should support substreams[0m
[0m with process function[0m
[32m ✓[0m[90m should trigger on IPs[0m
[32m ✓[0m[90m should trigger on IPs to addressable ports[0m
[32m ✓[0m[90m should be able to send IPs to addressable connections[0m
[32m ✓[0m[90m trying to send to addressable port without providing index should fail[0m
[32m ✓[0m[90m should not be triggered by non-triggering ports[0m
[32m ✓[0m[90m should fetch undefined for premature data[0m
[32m ✓[0m[90m should receive and send complete noflo.IP objects[0m
[32m ✓[0m[90m should receive and send just IP data if wanted[0m
[32m ✓[0m[90m should receive IPs and be able to selectively find them[0m
[32m ✓[0m[90m should keep last value for controls[0m
[32m ✓[0m[90m should keep last data-typed IP packet for controls[0m
[32m ✓[0m[90m should isolate packets with different scopes[0m
[32m ✓[0m[90m should be able to change scope[0m
[32m ✓[0m[90m should support integer scopes[0m
[32m ✓[0m[90m should preserve order between input and output[0m
[32m ✓[0m[90m should ignore order between input and output[0m
[32m ✓[0m[90m should throw errors if there is no error port[0m
[32m ✓[0m[90m should throw errors if there is a non-attached error port[0m
[32m ✓[0m[90m should not throw errors if there is a non-required error port[0m
[32m ✓[0m[90m should send out string other port if there is only one port aside from error[0m
[32m ✓[0m[90m should send object out other port if there is only one port aside from error[0m
[32m ✓[0m[90m should throw an error if sending without specifying a port and there are multiple ports[0m
[32m ✓[0m[90m should send errors if there is a connected error port[0m
[32m ✓[0m[90m should send substreams with multiple errors per activation[0m
[32m ✓[0m[90m should forward brackets for map-style components[0m
[32m ✓[0m[90m should forward brackets for map-style components with addressable outport[0m
[32m ✓[0m[90m should forward brackets for async map-style components with addressable outport[0m
[32m ✓[0m[90m should forward brackets for map-style components with addressable in/outports[0m
[32m ✓[0m[90m should forward brackets for async map-style components with addressable in/outports[0m
[32m ✓[0m[90m should forward brackets to error port in async components[0m
[32m ✓[0m[90m should not forward brackets if error port is not connected[0m
[32m ✓[0m[90m should support custom bracket forwarding mappings with auto-ordering[0m
[32m ✓[0m[90m should de-duplicate brackets when asynchronously forwarding from multiple inports[0m
[32m ✓[0m[90m should de-duplicate brackets when synchronously forwarding from multiple inports[0m
[32m ✓[0m[90m should not apply auto-ordering if that option is false[0m
[32m ✓[0m[90m should forward noflo.IP metadata for map-style components[0m
[32m ✓[0m[90m should be safe dropping IPs[0m
[0m with custom callbacks[0m
[32m ✓[0m[90m should fail on wrong input[0m
[32m ✓[0m[90m should send substreams[0m
[0m using streams[0m
[32m ✓[0m[90m should not trigger without a full stream without getting the whole stream[0m
[32m ✓[0m[90m should trigger when forwardingBrackets because then it is only data with no brackets and is a full stream[0m
[32m ✓[0m[90m should get full stream when it has a single packet stream and it should clear it[0m
[32m ✓[0m[90m should get full stream when it has a full stream, and it should clear it[0m
[32m ✓[0m[90m should get data when it has a full stream[0m
[0m with a simple ordered stream[0m
[32m ✓[0m[90m should send packets with brackets in expected order when synchronous[0m
[32m ✓[0m[90m should send packets with brackets in expected order when asynchronous[0m
[0m with generator components[0m
[32m ✓[0m[90m should emit start event when started[0m
[32m ✓[0m[90m should emit activate/deactivate event on every tick[0m
[32m ✓[0m[90m should emit end event when stopped and no activate after it[0m
[0m MergeObjects component[0m
[36m - should not trigger if input is not complete[0m
[36m - should merge objects when input is complete[0m
[36m - should obey the overwrite control[0m
[0m ComponentLoader with no external packages installed[0m
[32m ✓[0m[90m should initially know of no components[0m
[32m ✓[0m[90m should not initially be ready[0m
[32m ✓[0m[90m should not initially be processing[0m
[32m ✓[0m[90m should not have any packages in the checked list[0m
[32m ✓[0m[90m should be able to read a list of components[0m
[0m normalizing names[0m
[32m ✓[0m[90m should return simple module names as-is[0m
[32m ✓[0m[90m should return empty for NoFlo core[0m
[32m ✓[0m[90m should strip noflo-[0m
[32m ✓[0m[90m should strip NPM scopes[0m
[32m ✓[0m[90m should strip NPM scopes and noflo-[0m
[0m after listing components[0m
[32m ✓[0m[90m should have the Graph component registered[0m
[0m loading the Graph component[0m
[32m ✓[0m[90m should be able to load the component[0m
[32m ✓[0m[90m should contain input ports[0m
[32m ✓[0m[90m should have "on" method on the input port[0m
[32m ✓[0m[90m it should know that Graph is a subgraph[0m
[32m ✓[0m[90m should know the description for the Graph[0m
[32m ✓[0m[90m should be able to provide an icon for the Graph[0m
[0m loading a subgraph[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should remove `graph` and `start` ports[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should not automatically start the subgraph if there is no `start` port[0m[33m (48ms)[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should also work with a passed graph object[0m[33m (52ms)[0m
[0m loading the Graph component[0m
[32m ✓[0m[90m should be able to load the component[0m
[32m ✓[0m[90m should have a reference to the Component Loader's baseDir[0m
[0m loading a component[0m
[32m ✓[0m[90m should return an error on an invalid component type[0m
[0m register a component at runtime[0m
[32m ✓[0m[90m should be available in the components list[0m
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should be able to load the component[0m
[32m ✓[0m[90m should have the correct ports[0m
[32m ✓[0m[90m should have inherited its icon from the library[0m
[32m ✓[0m[90m should emit an event on icon change[0m
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m new instances should still contain the original icon[0m
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m after setting an icon for the Component class, new instances should have that[0m
[32m ✓[0m[90m should not affect the original instance[0m
[0m reading sources[0m
[36m - should be able to provide source code for a component[0m
[36m - should return an error for missing components[0m
[36m - should return an error for non-file components[0m
[36m - should be able to provide source for a graph file component[0m
[36m - should be able to provide source for a graph object component[0m
[0m writing sources[0m
[0m with working code[0m
[36m - should be able to set the source[0m
[36m - should be a loadable component[0m
[0m with non-working code[0m
[36m - should be able to set the source[0m
[36m - should not be a loadable component[0m
[0m ComponentLoader with a fixture project[0m
[36m - should be possible to instantiate[0m
[36m - should initially know of no components[0m
[36m - should not initially be ready[0m
[36m - should be able to read a list of components[0m
[36m - should be able to load a local component[0m
[36m - should be able to load a component from a dependency[0m
[36m - should be able to load a dynamically registered component from a dependency[0m
[36m - should be able to load core Graph component[0m
[36m - should fail loading a missing component[0m
[0m Component traits[0m
[0m MapComponent[0m
noflo.helpers.MapComponent is deprecated. Please port to Process API
[32m ✓[0m[90m should pass data to the callback[0m
noflo.helpers.MapComponent is deprecated. Please port to Process API
[32m ✓[0m[90m should pass groups to the callback[0m
noflo.helpers.MapComponent is deprecated. Please port to Process API
[32m ✓[0m[90m should send groups and disconnect through[0m
[0m WirePattern[0m
[0m when grouping by packet groups[0m
noflo.helpers.WirePattern group option is deprecated. Please port to Process API
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should pass data and groups to the callback[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should work without a group provided[0m
noflo.helpers.WirePattern group option is deprecated. Please port to Process API
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should process inputs for different groups independently with group: true[0m
noflo.helpers.WirePattern group option is deprecated. Please port to Process API
[32m ✓[0m[90m should support asynchronous handlers[0m[31m (102ms)[0m
noflo.helpers.WirePattern group option is deprecated. Please port to Process API
noflo.helpers.WirePattern legacy mode is deprecated
noflo.helpers.MultiError is deprecated. Send errors to error port instead
[32m ✓[0m[90m should support asynchronous handlers in legacy mode[0m[31m (104ms)[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should not forward groups if forwarding is off[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should forward groups from a specific port only[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should forward groups from selected ports only[0m
[0m when `this` context is important[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should correctly bind component to `this` context[0m
[32m ✓[0m[90m should correctly bind component to `this` context in async mode[0m
[0m when in async mode and packet order matters[0m
[32m ✓[0m[90m should preserve input order at the output[0m
[32m ✓[0m[90m should throw if receiveStreams is used[0m
[32m ✓[0m[90m should throw if sendStreams is used[0m
[0m when grouping by field[0m
noflo.helpers.WirePattern field option is deprecated. Please port to Process API
[32m ✓[0m[90m should match objects by specific field[0m[33m (45ms)[0m
[0m when there are multiple output routes[0m
[32m ✓[0m[90m should send output to one or more of them[0m
[32m ✓[0m[90m should send output to one or more of indexes[0m
[0m when there are parameter ports[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
noflo.helpers.WirePattern sendDefaults method is deprecated. Please start with a Network
[32m ✓[0m[90m should wait for required params without default value[0m
noflo.helpers.WirePattern sendDefaults method is deprecated. Please start with a Network
[32m ✓[0m[90m should work for async procs too[0m[33m (57ms)[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should reset state if shutdown() is called[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
noflo.helpers.WirePattern sendDefaults method is deprecated. Please start with a Network
[32m ✓[0m[90m should drop premature data if configured to do so[0m
[0m without output ports[0m
[32m ✓[0m[90m should be fine still[0m
[0m with many inputs and groups in async mode[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should handle mixed flow well[0m[31m (311ms)[0m
[0m with many inputs and groups in sync mode[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should handle mixed flow well[0m
[0m for batch processing[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
InPort process callback is deprecated. Please use Process API or the InPort handle option
[36m - should process sequences of packets separated by disconnects[0m
[0m for batch processing with groups[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should wrap entire sequence with groups[0m
[0m with addressable ports[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should wait for all param and any data port values (default)[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should wait for any param and all data values[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should wait for all indexes of a single input[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
[32m ✓[0m[90m should behave normally with string output from another component[0m
[0m when grouping requests[0m
noflo.helpers.WirePattern group option is deprecated. Please port to Process API
[32m ✓[0m[90m should group requests by outer UUID group[0m[31m (106ms)[0m
[0m when using scopes[0m
noflo.helpers.WirePattern postpone and resume are deprecated. Please port to Process API
[32m ✓[0m[90m should scope requests by proper UUID[0m[31m (105ms)[0m
[0m MultiError[0m
[0m with simple sync processes[0m
noflo.helpers.WirePattern synchronous is deprecated. Please port to Process API
noflo.helpers.WirePattern error method is deprecated. Please send error to callback instead
noflo.helpers.WirePattern error method is deprecated. Please send error to callback instead
noflo.helpers.WirePattern error method is deprecated. Please send error to callback instead
noflo.helpers.WirePattern fail method is deprecated. Please send error to callback instead
[32m ✓[0m[90m should support multiple customized error messages[0m
[32m ✓[0m[90m should pass if everything is correct[0m
noflo.helpers.WirePattern fail method is deprecated. Please send error to callback instead
noflo.helpers.WirePattern error method is deprecated. Please send error to callback instead
[32m ✓[0m[90m should handle fatals and runtimes normally[0m
[0m with async processes and groups[0m
noflo.helpers.WirePattern error method is deprecated. Please send error to callback instead
noflo.helpers.WirePattern error method is deprecated. Please send error to callback instead
noflo.helpers.WirePattern error method is deprecated. Please send error to callback instead
noflo.helpers.WirePattern fail method is deprecated. Please send error to callback instead
[32m ✓[0m[90m should support multiple error messages and groups and scope[0m
[32m ✓[0m[90m should pass if everything is correct[0m
noflo.helpers.WirePattern fail method is deprecated. Please send error to callback instead
noflo.helpers.WirePattern error method is deprecated. Please send error to callback instead
[32m ✓[0m[90m should handle fatals and runtimes normally[0m
InPort handle callback is deprecated. Please use Process API
noflo.helpers.MultiError is deprecated. Send errors to error port instead
[32m ✓[0m[90m should reset state if component is shut down[0m
[0m Inport Port[0m
[0m with default options[0m
[32m ✓[0m[90m should be of datatype "all"[0m
[32m ✓[0m[90m should not be required[0m
[32m ✓[0m[90m should not be addressable[0m
[32m ✓[0m[90m should not be buffered[0m
[0m with custom type[0m
[32m ✓[0m[90m should retain the type[0m
[0m without attached sockets[0m
[32m ✓[0m[90m should not be attached[0m
[32m ✓[0m[90m should allow attaching[0m
[32m ✓[0m[90m should not be connected initially[0m
[32m ✓[0m[90m should not contain a socket initially[0m
[0m with processing function called with port as context[0m
[32m ✓[0m[90m should set context to port itself[0m
[0m with default value[0m
[32m ✓[0m[90m should send the default value as a packet, though on next tick after initialization[0m
[32m ✓[0m[90m should send the default value before IIP[0m
[0m with options stored in port[0m
[32m ✓[0m[90m should store all provided options in port, whether we expect it or not[0m
[0m with data type information[0m
[32m ✓[0m[90m should accept a 'all' data type[0m
[32m ✓[0m[90m should accept a 'string' data type[0m
[32m ✓[0m[90m should accept a 'number' data type[0m
[32m ✓[0m[90m should accept a 'int' data type[0m
[32m ✓[0m[90m should accept a 'object' data type[0m
[32m ✓[0m[90m should accept a 'array' data type[0m
[32m ✓[0m[90m should NOT accept a 'not' data type[0m
[32m ✓[0m[90m should NOT accept a 'valie' data type[0m
[32m ✓[0m[90m should NOT accept a 'data' data type[0m
[32m ✓[0m[90m should NOT accept a 'types' data type[0m
[0m with TYPE (i.e. ontology) information[0m
[32m ✓[0m[90m should be a URL or MIME[0m
[0m with buffering[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
InPort.receive is deprecated. Use InPort.get instead
InPort.receive is deprecated. Use InPort.get instead
InPort.receive is deprecated. Use InPort.get instead
InPort.receive is deprecated. Use InPort.get instead
InPort.receive is deprecated. Use InPort.get instead
InPort.receive is deprecated. Use InPort.get instead
InPort.receive is deprecated. Use InPort.get instead
[32m ✓[0m[90m should buffer incoming packets until `receive()`d[0m
InPort.contains is deprecated. Use InPort.has instead
[32m ✓[0m[90m should be able to tell the number of contained data packets[0m
InPort.receive is deprecated. Use InPort.get instead
[32m ✓[0m[90m should return undefined when buffer is empty[0m
InPort.receive is deprecated. Use InPort.get instead
InPort.contains is deprecated. Use InPort.has instead
[32m ✓[0m[90m shouldn't expose the receive method without buffering[0m
[0m with accepted enumerated values[0m
[32m ✓[0m[90m should accept certain values[0m
[32m ✓[0m[90m should throw an error if value is not accepted[0m
[0m with processing shorthand[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should create a port with a callback[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should also accept metadata (i.e. options) when provided[0m
[0m with IP handle callback option[0m
InPort handle callback is deprecated. Please use Process API
[32m ✓[0m[90m should pass IP objects to handler[0m
InPort handle callback is deprecated. Please use Process API
[32m ✓[0m[90m should translate legacy events to IP objects[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should translate IP objects to legacy events[0m
[0m IP object[0m
[32m ✓[0m[90m should create IPs of different types[0m
[32m ✓[0m[90m should be moved to an owner[0m
[32m ✓[0m[90m should support sync context scoping[0m
[32m ✓[0m[90m should be able to clone itself[0m
[32m ✓[0m[90m should dispose its contents when dropped[0m
[0m NoFlo Network[0m
[0m with an empty graph[0m
[32m ✓[0m[90m should initially be marked as stopped[0m
[32m ✓[0m[90m should initially have no processes[0m
[32m ✓[0m[90m should initially have to connections[0m
[32m ✓[0m[90m should initially have no IIPs[0m
[32m ✓[0m[90m should have reference to the graph[0m
[32m ✓[0m[90m should know its baseDir[0m
[32m ✓[0m[90m should have a ComponentLoader[0m
[32m ✓[0m[90m should have transmitted the baseDir to the Component Loader[0m
[32m ✓[0m[90m should be able to list components[0m
[32m ✓[0m[90m should have an uptime[0m
[0m with new node[0m
[32m ✓[0m[90m should contain the node[0m
[32m ✓[0m[90m should have transmitted the node metadata to the process[0m
[32m ✓[0m[90m should not contain the node after removal[0m
[0m with a simple graph[0m
[32m ✓[0m[90m should send some initials when started[0m
[32m ✓[0m[90m should contain two processes[0m
[32m ✓[0m[90m the ports of the processes should know the node names[0m
[32m ✓[0m[90m should contain 1 connection between processes and 2 for IIPs[0m
[32m ✓[0m[90m should have started in debug mode[0m
[32m ✓[0m[90m should emit a process-error when a component throws[0m
[0m once started[0m
[32m ✓[0m[90m should be marked as started[0m
[0m with a renamed node[0m
[32m ✓[0m[90m should have the process in a new location[0m
[32m ✓[0m[90m shouldn't have the process in the old location[0m
[32m ✓[0m[90m should have informed the ports of their new node name[0m
[0m with process icon change[0m
[32m ✓[0m[90m should emit an icon event[0m
[0m once stopped[0m
[32m ✓[0m[90m should be marked as stopped[0m
[0m with nodes containing default ports[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should send default values to nodes without an edge[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should not send default values to nodes with an edge[0m
InPort process callback is deprecated. Please use Process API or the InPort handle option
InPort process callback is deprecated. Please use Process API or the InPort handle option
[32m ✓[0m[90m should not send default values to nodes with IIP[0m
[0m Nodes are added first, then edges, then initializers (i.e. IIPs), and in order of definition order within each[0m
[32m ✓[0m[90m should add nodes, edges, and initials, in that order[0m
[0m with an existing IIP[0m
[32m ✓[0m[90m should call the Callback with the original IIP value[0m
[32m ✓[0m[90m should allow removing the IIPs[0m
[32m ✓[0m[90m new IIPs to replace original ones should work correctly[0m
[0m on stopping[0m
[32m ✓[0m[90m processes should be running before the stop call[0m
[32m ✓[0m[90m should emit the end event[0m
[32m ✓[0m[90m should have called the shutdown method of each process[0m
[0m with a very large network[0m
[32m ✓[0m[90m should be able to connect without errors[0m[31m (5119ms)[0m
[0m Network Lifecycle[0m
[0m with WirePattern sending to Process API[0m
[32m ✓[0m[90m should forward old-style groups as expected[0m[33m (67ms)[0m
[32m ✓[0m[90m should forward new-style brackets as expected[0m[33m (66ms)[0m
[32m ✓[0m[90m should forward scopes as expected[0m[33m (69ms)[0m
[0m pure Process API merging two inputs[0m
[32m ✓[0m[90m should forward new-style brackets as expected[0m[33m (61ms)[0m
[32m ✓[0m[90m should forward new-style brackets as expected regardless of sending order[0m[33m (61ms)[0m
[32m ✓[0m[90m should forward scopes as expected[0m[33m (60ms)[0m
[0m Process API mixed with legacy merging two inputs[0m
[32m ✓[0m[90m should forward new-style brackets as expected[0m[33m (56ms)[0m
[32m ✓[0m[90m should forward new-style brackets as expected regardless of sending order[0m[33m (56ms)[0m
[0m Process API mixed with Legacy and WirePattern merging two inputs[0m
[32m ✓[0m[90m should forward new-style brackets as expected[0m[33m (56ms)[0m
[32m ✓[0m[90m should forward new-style brackets as expected regardless of sending order[0m[33m (55ms)[0m
[0m Process API mixed with WirePattern and legacy merging two inputs[0m
[32m ✓[0m[90m should forward new-style brackets as expected[0m[33m (56ms)[0m
[32m ✓[0m[90m should forward new-style brackets as expected regardless of sending order[0m[33m (55ms)[0m
[0m with a Process API Generator component[0m
[32m ✓[0m[90m should not be running initially[0m
[32m ✓[0m[90m should not be running even when network starts[0m
[32m ✓[0m[90m should start generating when receiving a start packet[0m[31m (109ms)[0m
[32m ✓[0m[90m should stop generating when receiving a stop packet[0m[31m (120ms)[0m
[0m NoFlo interface[0m
[32m ✓[0m[90m should be able to tell whether it is running on browser[0m
[0m Outport Port[0m
[0m with addressable ports[0m
[32m ✓[0m[90m should be able to send to a specific port[0m
[32m ✓[0m[90m should be able to send to index 0[0m
[32m ✓[0m[90m should throw an error when sent data without address[0m
[32m ✓[0m[90m should throw an error when a specific port is requested with non-addressable port[0m
[32m ✓[0m[90m should give correct port index when detaching a connection[0m
[0m with caching ports[0m
[32m ✓[0m[90m should repeat the previously sent value on attach event[0m
[32m ✓[0m[90m should support addressable ports[0m
[0m with IP objects[0m
[32m ✓[0m[90m should send data IPs and substreams[0m
[32m ✓[0m[90m should send non-clonable objects by reference[0m
[32m ✓[0m[90m should clone clonable objects on fan-out[0m
[0m Legacy Port[0m
[0m Untyped port instance[0m
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should be of type "all"[0m
[0m Port instance[0m
[0m initially[0m
noflo.Port is deprecated. Please port to noflo.InPort/noflo.OutPort
[32m ✓[0m[90m should retain the given type[0m
[32m ✓[0m[90m should not have a name[0m
[32m ✓[0m[90m should not have a node name[0m
[32m ✓[0m[90m should return "Port" as identifier[0m
[0m with given name and node[0m
[32m ✓[0m[90m should return correct ID[0m
[0m without attached socket[0m
[32m ✓[0m[90m should not be attached initially[0m
[32m ✓[0m[90m should allow a connection[0m
[32m ✓[0m[90m should not be connected initially[0m
[32m ✓[0m[90m should not contain a socket initially[0m
[32m ✓[0m[90m should not allow connecting[0m
[32m ✓[0m[90m should not allow beginning groups[0m
[32m ✓[0m[90m should not allow sending data[0m
[32m ✓[0m[90m should not allow ending groups[0m
[32m ✓[0m[90m should not allow disconnecting[0m
[0m with attached socket[0m
[32m ✓[0m[90m should emit an event[0m
[32m ✓[0m[90m should be marked as attached[0m
[32m ✓[0m[90m should not be connected initially[0m
[32m ✓[0m[90m should have a reference to the socket[0m
[32m ✓[0m[90m should allow other sockets to be attached[0m
[32m ✓[0m[90m should emit an event on detaching[0m
[32m ✓[0m[90m should still be attached[0m
[32m ✓[0m[90m should not be attached any longer[0m
[32m ✓[0m[90m should not contain a socket any longer[0m
[0m Input port[0m
[32m ✓[0m[90m should emit connection events[0m
[32m ✓[0m[90m should be connected after that[0m
[32m ✓[0m[90m should emit begin group events[0m
[32m ✓[0m[90m should emit data events[0m
[32m ✓[0m[90m should emit end group events[0m
[32m ✓[0m[90m should emit disconnection events[0m
[32m ✓[0m[90m should not be connected after that[0m
[32m ✓[0m[90m should connect automatically when sending[0m
[0m Output port[0m
[32m ✓[0m[90m should connect the socket[0m
[32m ✓[0m[90m should begin groups on the socket[0m
[32m ✓[0m[90m should send data to the socket[0m
[32m ✓[0m[90m should end groups on the socket[0m
[32m ✓[0m[90m should disconnect the socket[0m
[32m ✓[0m[90m should connect automatically when sending[0m
[0m Scope isolation[0m
[0m with WirePattern sending to Process API[0m
[32m ✓[0m[90m should forward old-style groups as expected[0m
[32m ✓[0m[90m should forward new-style brackets as expected[0m
[32m ✓[0m[90m should forward scopes as expected[0m
[0m pure Process API merging two inputs[0m
[32m ✓[0m[90m should forward new-style brackets as expected[0m
[32m ✓[0m[90m should forward new-style brackets as expected regardless of sending order[0m
[32m ✓[0m[90m should forward scopes as expected[0m
[0m Process API with IIPs and scopes[0m
[32m ✓[0m[90m should forward scopes as expected[0m
[0m Process API with IIPs to addressable ports and scopes[0m
[32m ✓[0m[90m should forward scopes as expected[0m
[0m NoFlo Graph component[0m
[0m initially[0m
[32m ✓[0m[90m should be ready[0m
[32m ✓[0m[90m should not contain a network[0m
[32m ✓[0m[90m should have a baseDir[0m
[32m ✓[0m[90m should only have the graph inport[0m
[0m with JSON graph definition[0m
[32m ✓[0m[90m should emit a ready event after network has been loaded[0m
[32m ✓[0m[90m should expose available ports[0m
[32m ✓[0m[90m should update description from the graph[0m
[32m ✓[0m[90m should expose only exported ports when they exist[0m
[32m ✓[0m[90m should be able to run the graph[0m
[0m with a Graph instance[0m
[32m ✓[0m[90m should emit a ready event after network has been loaded[0m
[32m ✓[0m[90m should expose available ports[0m
[32m ✓[0m[90m should be able to run the graph[0m
[0m with a FBP file with INPORTs and OUTPORTs[0m
[32m ✓[0m[90m should emit a ready event after network has been loaded[0m
[32m ✓[0m[90m should expose available ports[0m[33m (57ms)[0m
[32m ✓[0m[90m should be able to run the graph[0m[33m (49ms)[0m
[0m with a FBP file with legacy EXPORTS[0m
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
[32m ✓[0m[90m should emit a ready event after network has been loaded[0m[33m (57ms)[0m
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
[32m ✓[0m[90m should expose available ports[0m[33m (53ms)[0m
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
[32m ✓[0m[90m should have disambiguated the exported ports[0m[33m (49ms)[0m
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
fbp-graph.Graph exports is deprecated: please use specific inport or outport instead
[32m ✓[0m[90m should be able to run the graph[0m[33m (53ms)[0m
[0m when a subgraph is used as a component[0m
[32m ✓[0m[90m should send defaults[0m
[32m ✓[0m[90m should send initials[0m
[32m ✓[0m[90m should not send defaults when an inport is attached externally[0m
[92m [0m[32m 373 passing[0m[90m (9s)[0m
[36m [0m[36m 22 pending[0m