class TC_Enviro < Test::Unit::TestCase include P4RubyTest def name "Test client environment" end def test_enviro assert( p4, "Failed to create Perforce client" ) p4.user = "tony" p4.client = "myworkstation" p4.port = "myserver:1666" p4.password = "mypass" assert_equal( p4.user, "tony" ) assert_equal( p4.client, "myworkstation" ) assert_equal( p4.port, "myserver:1666" ) assert_equal( p4.password, "mypass" ) end end