pid resolved to local protocol on local host. //0 local://localhost local://0@localhost //pid resolved to local protocol on local host //0 local://localhost local://0@localhost local://pid resolved to local protocol on local host local://0 local://localhost local://0@localhost //pid@localhost resolved to rmi protocol on local host //0@localhost rmi://localhost rmi://0@localhost local://pid@localhost resolved to local protocol on local host local://0@localhost local://localhost local://0@localhost /* START dotted ip address tests */ pid@dotted_ip_address resolved to rmi protocol on specified ip //0@10.0.0.1 rmi://10.0.0.1 rmi://0@10.0.0.1 //pid@dotted_ip_address resolved to rmi protocol on specified ip //0@10.0.0.1 rmi://10.0.0.1 rmi://0@10.0.0.1 rmi://pid@dotted_ip_address resolved to rmi protocol on specified ip rmi://0@10.0.0.1 rmi://10.0.0.1 rmi://0@10.0.0.1 pid@dotted_ip_address:port resolved to rmi protocol on specified host:port //0@10.0.0.1:1099 rmi://10.0.0.1:1099 /* FIXME - verify */ rmi://0@10.0.0.1:1099 //pid@dotted_ip_address:port resolved to rmi protocol on specified host:port //0@10.0.0.1:1098 rmi://10.0.0.1:1098 /* FIXME - verify */ rmi://0@10.0.0.1:1098 rmi://pid@dotted_ip_address:port resolved to rmi protocol on specified host:port rmi://0@10.0.0.1:1112 rmi://10.0.0.1:1112 /* FIXME - verify */ rmi://0@10.0.0.1:1112 pid@dotted_ip_address:port/path resolved to rmi protocol on specified host:port with specified path. //0@10.0.0.1:1099/HotSpotPerfAgent rmi://10.0.0.1:1099/HotSpotPerfAgent rmi://0@10.0.0.1:1099/HotSpotPerfAgent //pid@dotted_ip_address:port/path resolved to rmi protocol on specified host:port with specified path. //0@10.0.0.1:1099/HotSpotPerfAgent rmi://10.0.0.1:1099/HotSpotPerfAgent rmi://0@10.0.0.1:1099/HotSpotPerfAgent rmi://pid@dotted_ip_address:port/path resolved to rmi protocol on specified host:port with specified path. rmi://0@10.0.0.1:1099/HotSpotPerfAgent rmi://10.0.0.1:1099/HotSpotPerfAgent rmi://0@10.0.0.1:1099/HotSpotPerfAgent pid@dotted_ip_address:port?query resolved to rmi protocol on specified host:port with specified query string. //0@10.0.0.1:1099?interval=1234 rmi://10.0.0.1:1099?interval=1234 rmi://0@10.0.0.1:1099?interval=1234 //pid@dotted_ip_address:port?query resolved to rmi protocol on specified host:port with specified query string. //0@10.0.0.1:1099?interval=1234 rmi://10.0.0.1:1099?interval=1234 rmi://0@10.0.0.1:1099?interval=1234 rmi://pid@dotted_ip_address:port?query resolved to rmi protocol on specified host:port with specified query string. rmi://0@10.0.0.1:1099?interval=1234 rmi://10.0.0.1:1099?interval=1234 rmi://0@10.0.0.1:1099?interval=1234 pid@dotted_ip_address:port#frag resolved to rmi protocol on specified host:port with specified fragment string. //0@10.0.0.1:1099#frag rmi://10.0.0.1:1099#frag rmi://0@10.0.0.1:1099#frag //pid@dotted_ip_address:port#frag resolved to rmi protocol on specified host:port with specified fragment string. //0@10.0.0.1:1099#frag rmi://10.0.0.1:1099#frag rmi://0@10.0.0.1:1099#frag rmi://pid@dotted_ip_address:port#frag resolved to rmi protocol on specified host:port with specified fragment string. rmi://0@10.0.0.1:1099#frag rmi://10.0.0.1:1099#frag rmi://0@10.0.0.1:1099#frag /* END dotted ip address tests */ /* START hostname tests */ pid@hostname resolved to rmi protocol on specified host //0@hostname rmi://hostname rmi://0@hostname //pid@hostname resolved to rmi protocol on specified host //0@hostname rmi://hostname rmi://0@hostname rmi://pid@hostname resolved to rmi protocol on specified host rmi://0@hostname rmi://hostname /* FIXME - verify */ rmi://0@hostname pid@hostname:port resolved to rmi protocol on specified host:port //0@hostname:1099 rmi://hostname:1099 /* FIXME - verify */ rmi://0@hostname:1099 //pid@hostname:port resolved to rmi protocol on specified host:port //0@hostname:1099 rmi://hostname:1099 /* FIXME - verify */ rmi://0@hostname:1099 rmi://pid@hostname:port resolved to rmi protocol on specified host:port rmi://0@hostname:1099 rmi://hostname:1099 rmi://0@hostname:1099 pid@hostname:port/path resolved to rmi protocol on specified host:port with specified path. //0@hostname:1099/HotSpotPerfAgent rmi://hostname:1099/HotSpotPerfAgent rmi://0@hostname:1099/HotSpotPerfAgent //pid@hostname:port/path resolved to rmi protocol on specified host:port with specified path. //0@hostname:1099/HotSpotPerfAgent rmi://hostname:1099/HotSpotPerfAgent rmi://0@hostname:1099/HotSpotPerfAgent rmi://pid@hostname:port/path resolved to rmi protocol on specified host:port with specified path. rmi://0@hostname:1099/HotSpotPerfAgent rmi://hostname:1099/HotSpotPerfAgent rmi://0@hostname:1099/HotSpotPerfAgent pid@hostname:port?query resolved to rmi protocol on specified host:port with specified query string. //0@hostname:1099?interval=1234 rmi://hostname:1099?interval=1234 rmi://0@hostname:1099?interval=1234 //pid@hostname:port?query resolved to rmi protocol on specified host:port with specified query string. //0@hostname:1099?interval=1234 rmi://hostname:1099?interval=1234 rmi://0@hostname:1099?interval=1234 rmi://pid@hostname:port?query resolved to rmi protocol on specified host:port with specified query string. rmi://0@hostname:1099?interval=1234 rmi://hostname:1099?interval=1234 rmi://0@hostname:1099?interval=1234 pid@hostname:port#frag resolved to rmi protocol on specified host:port with specified fragment string. //0@hostname:1099#frag rmi://hostname:1099#frag rmi://0@hostname:1099#frag //pid@hostname:port#frag resolved to rmi protocol on specified host:port with specified fragment string. //0@hostname:1099#frag rmi://hostname:1099#frag rmi://0@hostname:1099#frag rmi://pid@hostname:port#frag resolved to rmi protocol on specified host:port with specified fragment string. rmi://0@hostname:1099#frag rmi://hostname:1099#frag rmi://0@hostname:1099#frag /* the remainder of the hostname tests don't have corresponding * dotted-ip-address tests. * pid@hostname:port/path?query resolved to rmi protocol on specified host:port with specified path and query string. //0@hostname:1099/HotSpotPerfAgent?interval=200 rmi://hostname:1099/HotSpotPerfAgent?interval=200 rmi://0@hostname:1099/HotSpotPerfAgent?interval=200 //pid@hostname:port/path?query resolved to rmi protocol on specified host:port with specified path and query string. //0@hostname:1099/HotSpotPerfAgent?interval=200 rmi://hostname:1099/HotSpotPerfAgent?interval=200 rmi://0@hostname:1099/HotSpotPerfAgent?interval=200 rmi://pid@hostname:port/path?query resolved to rmi protocol on specified host:port with specified path and query string. rmi://0@hostname:1099/HotSpotPerfAgent?interval=200 rmi://hostname:1099/HotSpotPerfAgent?interval=200 rmi://0@hostname:1099/HotSpotPerfAgent?interval=200 pid@hostname:port/path#frag resolved to rmi protocol on specified host:port with specified path and frag string. //0@hostname:1099/HotSpotPerfAgent#frag rmi://hostname:1099/HotSpotPerfAgent#frag rmi://0@hostname:1099/HotSpotPerfAgent#frag //pid@hostname:port/path#frag resolved to rmi protocol on specified host:port with specified path and frag string. //0@hostname:1099/HotSpotPerfAgent#frag rmi://hostname:1099/HotSpotPerfAgent#frag rmi://0@hostname:1099/HotSpotPerfAgent#frag rmi://pid@hostname:port/path#frag resolved to rmi protocol on specified host:port with specified path and frag string. rmi://0@hostname:1099/HotSpotPerfAgent#frag rmi://hostname:1099/HotSpotPerfAgent#frag rmi://0@hostname:1099/HotSpotPerfAgent#frag pid@hostname:port/path?query#frag resolved to rmi protocol on specified host:port with specified path, query, and frag string. //0@hostname:1099/HotSpotPerfAgent?interval=200#frag rmi://hostname:1099/HotSpotPerfAgent?interval=200#frag rmi://0@hostname:1099/HotSpotPerfAgent?interval=200#frag //pid@hostname:port/path?query#frag resolved to rmi protocol on specified host:port with specified path, query, and frag string. //0@hostname:1099/HotSpotPerfAgent?interval=200#frag rmi://hostname:1099/HotSpotPerfAgent?interval=200#frag rmi://0@hostname:1099/HotSpotPerfAgent?interval=200#frag rmi://pid@hostname:port/path?query#frag resolved to rmi protocol on specified host:port with specified path, query, and frag string. rmi://0@hostname:1099/HotSpotPerfAgent?interval=200#frag rmi://hostname:1099/HotSpotPerfAgent?interval=200#frag rmi://0@hostname:1099/HotSpotPerfAgent?interval=200#frag pid@hostname:port/path?query resolved to rmi protocol on specified host:port with specified path and multiple query string args. //0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw rmi://hostname:1099/HotSpotPerfAgent?interval=200+mode=rw rmi://0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw //pid@hostname:port/path?query resolved to rmi protocol on specified host:port with specified path and multiple query string args. //0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw rmi://hostname:1099/HotSpotPerfAgent?interval=200+mode=rw rmi://0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw rmi://pid@hostname:port/path?query resolved to rmi protocol on specified host:port with specified path and multiple query string args. rmi://0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw rmi://hostname:1099/HotSpotPerfAgent?interval=200+mode=rw rmi://0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw pid@hostname:port/path?query#frag resolved to rmi protocol on specified host:port with specified path, multiple query string args, and a frag. //0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw#frag rmi://hostname:1099/HotSpotPerfAgent?interval=200+mode=rw#frag rmi://0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw#frag //pid@hostname:port/path?query resolved to rmi protocol on specified host:port with specified path, multiple query string args, and a frag. //0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw#frag rmi://hostname:1099/HotSpotPerfAgent?interval=200+mode=rw#frag rmi://0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw#frag rmi://pid@hostname:port/path?query resolved to rmi protocol on specified host:port with specified path,and multiple query string args, and a frag. rmi://0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw#frag rmi://hostname:1099/HotSpotPerfAgent?interval=200+mode=rw#frag rmi://0@hostname:1099/HotSpotPerfAgent?interval=200+mode=rw#frag /* END hostname tests */ /* START protocol override tests */ rmi://pid overrides local protocol on localhost rmi://0 rmi://localhost rmi://0@localhost protocol://pid overrides local protocol on localhost xyz://0 xyz://localhost xyz://0@localhost protocol://pid@dotted_ip_address overrides rmi protocol on specified address xyz://0@10.0.0.1 xyz://10.0.0.1 xyz://0@10.0.0.1 protocol://pid@hostname overrides rmi protocol on specified host xyz://0@hostname xyz://hostname xyz://0@hostname /* END protocol override tests */ /* START file:// URI tests */ file://path_to_file (note, file:///path/to/file) FIXME - verify: proven to work on unix file:///tmp/hsperfdata_123 file://localhost file:///tmp/hsperfdata_123 file:path_to_file (note, file:/path/to/file) FIXME - verify: proven to work on unix file:/tmp/hsperfdata_123 file://localhost file:/tmp/hsperfdata_123 /* END file:// URI tests */ /* Resolver tests */ pid resolved to prototol and host specified in given HostIdentifer //0 rmi://localhost rmi://0@localhost pid@hostname:port resolved to HostIdentifier protocol, but VmIdentifier host and port //0@hostname:1199 rmi://localhost rmi://0@hostname:1199 pid@hostname resolved to HostIdentifier protocol and port, but VmIdentifier host //0@hostname rmi://localhost:1399 rmi://0@hostname:1399 pid resolved to prototol and host specified in given HostIdentifer //0 rmi://hostname rmi://0@hostname pid resolved to prototol and host specified in given HostIdentifer //0 rmi://hostname:1332/HotSpotPerfAgent rmi://0@hostname:1332/HotSpotPerfAgent pid resolved to prototol and host specified in given HostIdentifer //0@hostname:1331 rmi://hostname:1332/HotSpotPerfAgent rmi://0@hostname:1331/HotSpotPerfAgent pid resolved to prototol and host specified in given HostIdentifer //0@hostname:1331/HotSpotPerfAgent2 rmi://hostname:1332/HotSpotPerfAgent rmi://0@hostname:1331/HotSpotPerfAgent2 pid resolved to prototol and host specified in given HostIdentifer //0@hostname:1331/HotSpotPerfAgent2?interval=250 rmi://hostname:1332/HotSpotPerfAgent rmi://0@hostname:1331/HotSpotPerfAgent2?interval=250 pid resolved to prototol and host specified in given HostIdentifer //0@hostname:1331/HotSpotPerfAgent2?interval=250 rmi://hostname:1332/HotSpotPerfAgent?interval=200 rmi://0@hostname:1331/HotSpotPerfAgent2?interval=250 pid resolved to prototol and host specified in given HostIdentifer //0@hostname:1331/HotSpotPerfAgent2?interval=250+mode=rw rmi://hostname:1332/HotSpotPerfAgent?interval=200 rmi://0@hostname:1331/HotSpotPerfAgent2?interval=250+mode=rw pid resolved to prototol and host specified in given HostIdentifer //0@hostname:1331/HotSpotPerfAgent2?interval=250+mode=rw rmi://hostname:1332/HotSpotPerfAgent?interval=200+mode=r rmi://0@hostname:1331/HotSpotPerfAgent2?interval=250+mode=rw pid resolved to prototol and host specified in given HostIdentifer //0@hostname:1331/HotSpotPerfAgent2?interval=250+mode=rw#frag2 rmi://hostname:1332/HotSpotPerfAgent?interval=200+mode=r rmi://0@hostname:1331/HotSpotPerfAgent2?interval=250+mode=rw#frag2 pid resolved to prototol and host specified in given HostIdentifer //0@hostname:1331/HotSpotPerfAgent2?interval=250+mode=rw#frag2 rmi://hostname:1332/HotSpotPerfAgent?interval=200+mode=r#frag rmi://0@hostname:1331/HotSpotPerfAgent2?interval=250+mode=rw#frag2 pid resolved to prototol and host specified in given HostIdentifer xyz://0@hostname:1331/HotSpotPerfAgent2?interval=250+mode=rw#frag2 rmi://hostname:1332/HotSpotPerfAgent?interval=200+mode=r#frag xyz://0@hostname:1331/HotSpotPerfAgent2?interval=250+mode=rw#frag2