#NEWLINE# def test_all_datasource_properties( self ) : #NEWLINE# #INDENT# text = '{\n            "outcome" => "success",\n            "result" => {\n                "allocation-retry" => undefined,\n                "allocation-retry-wait-millis" => undefined,\n                "allow-multiple-users" => undefined,\n                "background-validation" => undefined,\n                "background-validation-millis" => undefined,\n                "blocking-timeout-wait-millis" => undefined,\n                "check-valid-connection-sql" => undefined,\n                "connection-properties" => undefined,\n                "connection-url" => "jdbc:mysql:thin:@db.example.com",\n                "datasource-class" => undefined,\n                "driver-class" => undefined,\n                "driver-name" => "mysql",\n                "enabled" => true,\n                "exception-sorter-class-name" => undefined,\n                "exception-sorter-properties" => undefined,\n                "flush-strategy" => "FailingConnectionOnly",\n                "idle-timeout-minutes" => undefined,\n                "jndi-name" => "java:/appDS",\n                "jta" => true,\n                "max-pool-size" => 20,\n                "min-pool-size" => 3,\n                "new-connection-sql" => undefined,\n                "password" => "Password4321",\n                "pool-prefill" => undefined,\n                "pool-use-strict-min" => undefined,\n                "prepared-statements-cache-size" => undefined,\n                "query-timeout" => undefined,\n                "reauth-plugin-class-name" => undefined,\n                "reauth-plugin-properties" => undefined,\n                "security-domain" => undefined,\n                "set-tx-query-timeout" => false,\n                "share-prepared-statements" => false,\n                "spy" => false,\n                "stale-connection-checker-class-name" => undefined,\n                "stale-connection-checker-properties" => undefined,\n                "track-statements" => "NOWARN",\n                "transaction-isolation" => undefined,\n                "url-delimiter" => undefined,\n                "url-selector-strategy-class-name" => undefined,\n                "use-ccm" => "true",\n                "use-fast-fail" => false,\n                "use-java-context" => "false",\n                "use-try-lock" => undefined,\n                "user-name" => "user1",\n                "valid-connection-checker-class-name" => undefined,\n                "valid-connection-checker-properties" => undefined,\n                "validate-on-match" => false,\n                "statistics" => {\n                    "jdbc" => undefined,\n                    "pool" => undefined\n                }\n            },\n            "response-headers" => {"process-state" => "reload-required"}\n        }' #NEWLINE# result = jboss7_cli . _parse ( text ) #NEWLINE# self . assertEqual ( result [ 'outcome' ] , 'success' ) #NEWLINE# self . assertEqual ( result [ 'result' ] [ 'max-pool-size' ] , 20 ) #NEWLINE# self . assertIsNone ( result [ 'result' ] [ 'new-connection-sql' ] ) #NEWLINE# self . assertIsNone ( result [ 'result' ] [ 'url-delimiter' ] ) #NEWLINE# self . assertFalse ( result [ 'result' ] [ 'validate-on-match' ] )