RSpec Results

 

 

Zyps::EnvironmentServer
allows a client to join
acknowledges when a client has joined
rejects banned clients
Zyps::BannedError
./lib/zyps/remote.rb:155:in `listen'
./spec/zyps/remote_spec.rb:86:
153		data, sender_info = @socket.recvfrom(MAX_PACKET_SIZE)
154		@log.debug "Got #{data} from #{sender_info.join('/')}."
155		receive(data, sender_info[3])
156	end
157	
158# gem install syntax to get syntax highlighting
does not allow IP address if corresponding hostname is banned (PENDING: Not Yet Implemented)
does not allow hostname if corresponding IP address is banned (PENDING: Not Yet Implemented)
has authority on object movement by default (PENDING: Not Yet Implemented)
does not have authority on object movement when assigned to client (PENDING: Not Yet Implemented)
has authority on object removal (PENDING: Not Yet Implemented)
keeps updating other clients if one disconnects (PENDING: Not Yet Implemented)
lets new clients connect and get world if others are already connected (PENDING: Not Yet Implemented)
doesn't send new object to client if a rule tells it not to (PENDING: Not Yet Implemented)
keeps telling client about object creation until client acknowledges it (PENDING: Not Yet Implemented)
allows forced disconnection of clients (PENDING: Not Yet Implemented)
sends an error to banned clients that attempt to join (PENDING: Not Yet Implemented)
assigns no AreaOfInterest to a client by default (PENDING: Not Yet Implemented)
updates a client with no AreaOfInterest on all objects (PENDING: Not Yet Implemented)
updates a client on all objects inside its AreaOfInterest (PENDING: Not Yet Implemented)
does not update a client on objects outside its AreaOfInterest (PENDING: Not Yet Implemented)
allows a client to have more than one AreaOfInterest (PENDING: Not Yet Implemented)
allows different clients to have a different AreaOfInterest (PENDING: Not Yet Implemented)
Zyps::EnvironmentServer
can send movement data for all GameObjects
can request full Environment
keeps requesting Environment until remote system responds
stops requesting Environment once response is received
can add GameObject to remote Environment
keeps sending request to add GameObject until remote system responds
returns an exception if added GameObject already exists in local environment
Zyps::DuplicateObjectError
./lib/zyps/remote.rb:309:in `process'
./lib/zyps/remote.rb:259:in `receive'
./lib/zyps/remote.rb:259:in `each'
./lib/zyps/remote.rb:259:in `receive'
./lib/zyps/remote.rb:155:in `listen'
./spec/zyps/remote_spec.rb:202:
307			when Request::AddObject
308				if @environment.objects.any?{|o| o.identifier = transmission.object.identifier}
309					raise DuplicateObjectError.new(transmission.object.identifier)
310				end
311				@log.debug "Adding #{transmission.object} to environment."
312# gem install syntax to get syntax highlighting
modifies remote object instead if add fails because it already exists (PENDING: Not Yet Implemented)
can request full serialized GameObject
keeps requesting GameObject until remote system responds
returns an exception if requested GameObject does not exist in local environment
Zyps::ObjectNotFoundError
./lib/zyps/remote.rb:319:in `process'
./lib/zyps/remote.rb:259:in `receive'
./lib/zyps/remote.rb:259:in `each'
./lib/zyps/remote.rb:259:in `receive'
./lib/zyps/remote.rb:155:in `listen'
./spec/zyps/remote_spec.rb:231:
317			when Request::GetObject
318				object = @environment.get_object(transmission.identifier)
319				raise ObjectNotFoundError.new(transmission.identifier) unless object
320				response = Response::GetObject.new(object)
321				response.response_id = transmission.guarantee_id
322# gem install syntax to get syntax highlighting
can modify GameObject in remote Environment
keeps sending GameObject modification request until remote system responds
does not send objects known to already be in remote environment
sends objects that were already on server when a new client connects (PENDING: Not Yet Implemented)
sends environmental factors that were already on server when a new client connects (PENDING: Not Yet Implemented)
sends new objects as they're added to server (PENDING: Not Yet Implemented)
removes objects from client as they're removed from server (PENDING: Not Yet Implemented)
sends new environmental factors as they're added to server (PENDING: Not Yet Implemented)
removes environmental factors from client as they're removed from server (PENDING: Not Yet Implemented)
Zyps::EnvironmentClient
keeps requesting to join server until response is received (PENDING: Not Yet Implemented)
stops join requests once response is received (PENDING: Not Yet Implemented)
stops join requests if banned (PENDING: Not Yet Implemented)
should send objects that were already on client when it connects to a server (PENDING: Not Yet Implemented)
should send new objects as they're added to client (PENDING: Not Yet Implemented)
shouldn't send new object to server if a rule tells it not to (PENDING: Not Yet Implemented)
should keep telling server about object creation until server acknowledges it (PENDING: Not Yet Implemented)
assigns no AreaOfInterest to server by default (PENDING: Not Yet Implemented)
updates server with no AreaOfInterest on all objects (PENDING: Not Yet Implemented)
updates a client on all objects inside its AreaOfInterest (PENDING: Not Yet Implemented)
does not update a client on objects outside its AreaOfInterest (PENDING: Not Yet Implemented)
allows a client to have more than one AreaOfInterest (PENDING: Not Yet Implemented)
allows different clients to have a different AreaOfInterest (PENDING: Not Yet Implemented)
Zyps::Rectangle
has a default size (PENDING: Not Yet Implemented)
has a default Color (PENDING: Not Yet Implemented)
draws itself to Views (PENDING: Not Yet Implemented)
collides with Locations inside it (PENDING: Not Yet Implemented)
collides with Locations that have passed through it since the prior frame (PENDING: Not Yet Implemented)
Zyps::Zyp
has a default size (PENDING: Not Yet Implemented)
draws itself to Views when it has 1 segment (PENDING: Not Yet Implemented)
draws itself to Views when it has 2 segments (PENDING: Not Yet Implemented)
draws itself to Views when it has 3 segments (PENDING: Not Yet Implemented)
draws itself to Views when it has 100 segments (PENDING: Not Yet Implemented)
drops prior segment end locations when over its maximum segment count (PENDING: Not Yet Implemented)
collides with Locations inside it (PENDING: Not Yet Implemented)
collides with Locations that have passed through it since the prior frame (PENDING: Not Yet Implemented)
should report the normal from its surface for a given point of impact (PENDING: Not Yet Implemented)
Zyps::View
has no Canvas by default (PENDING: Not Yet Implemented)
has a scale of 1 by default (PENDING: Not Yet Implemented)
has an origin of 0, 0 by default (PENDING: Not Yet Implemented)
erases between frames by default (PENDING: Not Yet Implemented)
has a black background by default (PENDING: Not Yet Implemented)
corrects for scale when drawing rectangles to a Canvas
corrects for origin when drawing rectangles to a Canvas
corrects for scale when drawing lines to a Canvas
corrects for origin when drawing lines to a Canvas
Zyps::Environment
should accept GameObjects
should accept Creatures
should accept EnvironmentalFactors
should allow copies
should clone attributes when copying (PENDING: Not Yet Implemented)
should move all objects on update
should have all objects act on each other
should have all EnvironmentalFactors act on environment
should remove objects that throw exceptions on update (PENDING: Not Yet Implemented)
should have no area of interest by default (PENDING: Not Yet Implemented)
should update all game objects if no area of interest is defined (PENDING: Not Yet Implemented)
should not move an object outside its area of interest (PENDING: Not Yet Implemented)
should move an object inside its area of interest (PENDING: Not Yet Implemented)
should not have other objects act on an object outside its area of interest (PENDING: Not Yet Implemented)
should have other objects act on an object inside its area of interest (PENDING: Not Yet Implemented)
should not have environmental factors act on an object outside its area of interest (PENDING: Not Yet Implemented)
should have environmental factors act on an object inside its area of interest (PENDING: Not Yet Implemented)
should not allow an object outside its area of interest to act on others (PENDING: Not Yet Implemented)
should allow an object inside its area of interest to act on others (PENDING: Not Yet Implemented)
should update multiple areas of interest (PENDING: Not Yet Implemented)
Zyps::Behavior
should start and perform all Actions when all Conditions are true
should not call Actions unless all Conditions are true
should not start Actions that are already started
should not stop Actions that aren't started
should call all Actions when there are no Conditions
Zyps::GameObject
has no default shape (PENDING: Not Yet Implemented)
should pass calls to collided method on to its Shape object (PENDING: Not Yet Implemented)
Zyps::Creature
should have no area of interest by default (PENDING: Not Yet Implemented)
should act on all objects if no area of interest is defined (PENDING: Not Yet Implemented)
should not act on an object outside its area of interest (PENDING: Not Yet Implemented)
should act on all objects inside its area of interest (PENDING: Not Yet Implemented)
should allow multiple areas of interest (PENDING: Not Yet Implemented)
Zyps::AreaOfInterest
should report all GameObjects whose Locations are within its bounds (PENDING: Not Yet Implemented)
should filter out all GameObjects whose Locations are not within its bounds (PENDING: Not Yet Implemented)
should have a default evaluation frequency of 1 (PENDING: Not Yet Implemented)
should always report objects if its evaluation frequency is 1 (PENDING: Not Yet Implemented)
should report objects every other update if its evaluation frequency is 2 (PENDING: Not Yet Implemented)
should report objects every three updates if its evaluation frequency is 3 (PENDING: Not Yet Implemented)