Home | History | Annotate | Download | only in gcs

Lines Matching defs:CONFIG

17 package com.android.tradefed.config.gcs;
19 import com.android.tradefed.config.ConfigurationException;
31 /** Unit test for {@link com.android.tradefed.config.gcs.GCSConfigurationServer}; */
35 private static final String CONFIG =
46 + "hostname,,host-config.xml,\n";
59 if (name.equals("host-config.xml")) {
60 content = CONFIG;
61 } else if (name.equals("host-config.txt")) {
68 String.format("Config %s doesn't exist.", name));
80 InputStream input = mConfigServer.getConfig("host-config.xml");
81 Assert.assertEquals(CONFIG, StreamUtil.getStringFromStream(input));
87 mConfigServer.getConfig("not-exist-host-config.xml");
91 Assert.assertEquals("Config not-exist-host-config.xml doesn't exist.", e.getMessage());
98 Assert.assertEquals("host-config.xml", configName);